Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.

Dynamic Selection in Summary Tool??

rohitashsharma
8 - Asteroid

Hi, I have specified a range for a table where the columns keep on changing everyday basis dates and we use "Summarize" tool, however we always have to select the columns in configuration window:

 

rohitashsharma_1-1644515850126.png

 

rohitashsharma_2-1644516028685.png

Requirement - In case more dates are added to the table the "Summarize" tool should auto detect the dates and configure it basis on the range given in the Input tool.

3 REPLIES 3
Luke_C
17 - Castor

Hi @rohitashsharma 

 

I would transpose the data, summarize, then cross-tab back out to your columns. This keeps it dynamic in case the dates in the columns change or new columns are added.

 

Luke_C_0-1644516609103.png

 

 

rohitashsharma
8 - Asteroid

The solution provided worked, however now the case has taken a new turn, since the tool has started selecting the dates dynamically, but when ever a new date is added the new column gets generated at the very end after the "Grand Total" column

 

rohitashsharma_0-1644597055146.png

rohitashsharma_2-1644597901602.png

 

 

Is there any way we can sort and arrange the columns correctly?

 

The table should be arranged as below:

rohitashsharma_1-1644597210506.png

 

 

 

 

Luke_C
17 - Castor

Hi @rohitashsharma 

 

Where is the grand total getting created in your workflow? If you make it get created by the cross-tab after the summary it should be placed at the end by default.

 

Otherwise, the answer probably lies in one of the earlier tools. Typically the issue may lie in a select tool where the 'dynamic or unknown fields' option (usually last) is after the 'Grand Total' column. Moving the dynamic fields before it will result in any new date columns getting placed in front of the last column.

Labels