Skip to main content

Hello community,

I am using Ken Flerlages Sankey Funnel Template as described in his blogpost: Creating a Sankey Funnel in Tableau - The Flerlage Twins: Analytics, Data Visualization, and Tableau

I want to add steps to the 5 step Sankey to at least 7.

The integral part is getting the table calcs right. There are 14 Table Calcs that have proven impossible for to reverse engineer.

 

I am looking for a step-by-step guide how to make these table calcs again.

 

I am attaching a screenshot of the Table Calcs and a Workbook where I have started to add more steps. Any help will be deeply appreciated

12 answers
  1. Jul 2, 2021, 2:06 PM

    OK, seems like you've done this already. Let's take a look at this sheet:

     

    OK, seems like you've done this already. 

    This Curve table calc is not red, but if it were, you'd need to right click it and set it to compute using any of the fields--just pick one. It seems you've already done that as well.

     

    Next, we need to set up the table calculations. If you right click the pill and choose "Edit Table Calculation", you'll see that it has 8 nested calcs.

     

    47 

    We need to set up each of these to compute in a very specific manner.

     

    N5 Position needs to be computed using Step 5 and Step 6 (in that order).

     

    47 

    N5 Flow Size, N5 Whitespace, and N5 Index also need to be computed using Step 5 and Step 6, but they also need to have "At the level" set to Step 5.

     

    47 

    The N6 fields are set up similarly. N6 Position will be computed using Step 6 and Step 5 (in that order), while the others are also computed this way, with the exception of having "At the level" set to Step 6.

     

    4747 

    This should get the curves drawn properly.

     

    47 

    But there are a few more things you need to do. First, you need to make sure the axes are fixed. The x axis (the t Model field) should run from -6 to 6 and the y axis (the Curve field) should run from 0 to 1. Be sure to fix the y axis on both curve sheets and bar sheets.

     

    The last thing to do is add them to the dashboard. My template pads the sheets in a very specific way (2 on left and 2 on right), so you'll want to do the same thing with any new sheets that you add. Otherwise, Tableau will default to 4 on top, bottom, left, and right, which will create some slight alignment problems.

     

    Is this the expected result?

     

    48 

    See attached.