Get Inspire insights from former attendees in our AMA discussion thread on Inspire Buzz. ACEs and other community members are on call all week to answer!

Alteryx Designer Desktop Discussions

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

Hierarchical summation

Ola_7608
5 - Atom

Dear Alteryx-experts,

 

Could you help me to find the solution to the problem I am currently facing.

After grouping records by the level and year, I need to sum up the accounts on the 3d level (P3) and check, weather the value is equal to one on the second level and so on.

In other words, how to find the sum of children and compare it with the value of the ultimate parent.

My task is to check weather the sum of Values of 3d and 4th records is equal to the value of the second record.

Finally, this procedure should be done for the entire data-set.

 

Please, find a picture attached

 

I would be sincerely grateful for your help.

 

 

 

4 REPLIES 4
ponraj
13 - Pulsar

Possible to share the sample data in excel format?

Ola_7608
5 - Atom

Sure, Ponraj =)

ponraj
13 - Pulsar

Attaching a sample workflow. Hope this meets requirement. 

 

workflow.PNGResults.PNG

Ola_7608
5 - Atom

Thank you Ponraj for the great job!

 

well done!

Labels