Alteryx Designer Desktop Discussions

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

How to create a pivot in Alteryx with two rows

TaraA
7 - Meteor

Trying to create a pivot in Alteryx with two different rows but can't seem to get it to work with Summarize/Cross Tab tools, see example pivot below. Anyone have any ideas?

 

TaraA_0-1676482232507.png

 

15 REPLIES 15
ShankerV
17 - Castor

Hi @TaraA 

 

Can you please share the sample data, to check on the pivot possibility.

 

Many thanks

Shanker V

TaraA
7 - Meteor

Hi @ShankerV 

Here you go and thank you!

BS_THE_ANALYST
14 - Magnetar

@TaraA 
The bottom datastream is considering that you may have duplicates:

BS_THE_ANALYST_0-1676490884506.png

 

 

TaraA
7 - Meteor

Hi @BS_THE_ANALYST 

Thank you, but I was able to create what you have already. What I am looking for is a view with what I have posted above (see original post)....with the Waived By showing underneath the Region.

ShankerV
17 - Castor

Hi @TaraA 

 

Please find the expected output.

 

ShankerV_1-1676493426932.png

 

Many thanks

Shanker V

TaraA
7 - Meteor

Hi @ShankerV 

This is awesome! Thank you so much. One more question, how did you get yours to sort with JPMA first, see mine below?

 

TaraA_0-1676494523957.png

 

ShankerV
17 - Castor

Hi @TaraA .

 

Have you ran the same workflow or did any changes in the file.

 

Wanted to understand why it didn't work in your system and worked correctly in my system.

 

Edit:

Tried running once more also.

Worked as expected like below.

ShankerV_0-1676495864141.png

 

 

Many thanks

Shanker V

TaraA
7 - Meteor

Hi @ShankerV

No changes, I just downloaded your workflow and ran it. Did you attach your latest saved version? 

BS_THE_ANALYST
14 - Magnetar

@TaraA @ShankerV I think you can sort this issue by sorting the Region Descending in the workflow? Not randomly at the end but throughout the workflow where you selected Region Ascending, change this to Region Descending. Think that should do the trick

 

 

 

Labels