Advent of Code is now back for a limited time only! Complete as many challenges as you can to earn those badges you may have missed in December. Learn more about how to participate here!
Start Free Trial

Alteryx Designer Desktop Discussions

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

[Help] How to distinguish the same category between different subtotals

msyosd
7 - Meteor

Hi Alteryx experts,

 

I would like to seek your help on appending prefix or suffix to duplicated accounting categories under the different subtotal categories in the attached sample data.

 

As you can see from the "Before," we have identical accounting categories, but I would like to somehow distinguish them between Sales and Cost, like the ideal output in "After."

 

Thank you so much for your attention and advice.

 

msyosd_2-1642837554924.png

msyosd_1-1642837542338.png

 

3 REPLIES 3
atcodedog05
22 - Nova
22 - Nova

Hi @msyosd 

 

Here is how you can do it.

Workflow:

atcodedog05_0-1642838056950.png

 

Hope this helps : )

 

msyosd
7 - Meteor

Thank you for such a quick and beautiful answer!!

atcodedog05
22 - Nova
22 - Nova

Happy to help : ) @msyosd 

Cheers and have a nice day!

Labels
Top Solution Authors