Alteryx Designer Desktop Discussions

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

Reversing the columns values in Alteryx - making it dynamic

Anirudh_A
5 - Atom

Hi, 

 

What's the most efficient way to dynamically reverse the numbering count of column in a new column for different groups?

 

I have this - 

NumberValuesGroup
11%X
22%X
36%X
47%X
14%Y
23%Y
32%Y
410%Y

 

Want this - 

 

NumberValuesGroupNEW
11%X4
22%X3
36%X2
47%X1
14%Y4
23%Y3
32%Y2
410%Y1

 

Can this be dynamically adjusted, so if the MAX of Number column in 10, the NEW column starts to reverse the count from 10 - without changing the order of the original data

 

Any help is appreciated

6 REPLIES 6
suwenchuan
7 - Meteor

Hi, my take on this

Alteryx_Anirudh_A.png

Amy_smart
11 - Bolide

Hi, You could also use the formula tool.Pic724.png

flying008
14 - Magnetar

Hi, @Anirudh_A 

 

Another way by dynamic solution for you:

 

录制_2023_07_25_09_32_42_168.gif

sparksun
11 - Bolide

Here is my way,if the Maximum number is 10, just change 5 to 11.

reverse.jpg

caltang
17 - Castor
17 - Castor

Hi @Anirudh_A - it's been some time since you last posted. Did any of the above solve your need? If yes, kindly mark them as accepted solutions to close the thread.

 

Thanks!

Calvin Tang
Alteryx ACE
https://www.linkedin.com/in/calvintangkw/
grazitti_sapna
17 - Castor

Hi @Anirudh_A 


Adding a Tile tool with summarize in workflow will give you required output dynamically. You can refer attached workflow.

 

Thanks

Sapna Gupta
Labels