Alteryx Designer Desktop Discussions

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

% of row total

rohini
8 - Asteroid

Hi All,

 

There are pivot table where I calculate the % of the parent row total can someone help me with the same feature in alteryx.

 

Regards

Rohini

4 REPLIES 4
AbhilashR
15 - Aurora
15 - Aurora

Hi @rohini, does the attached solution seem like an approach that would be applicable to your dataset?

 

AbhilashR_0-1589859195255.png

 

Please let us know if this isn't what you are looking for, and perhaps share a sample of your dataset to build something more specific to how your data is structured.

 

jacob_kahn
12 - Quasar

@rohini 

 

You can use a combination of a Tranpose Tool and a Cross Tab tool.

 

When you select the field values in the Cross Tab tool, make sure not to select Sum, but rather "Percent Column."

 

I use this feature in a lot of my daily use. 

 

Please Direct Message me if you need more help or reach out! 

 

Good luck solving,

 

Jacob

rohini
8 - Asteroid

Thank you This worked but now I have got summarization result of two  tables, I want to have the % of casualty like 11/61 based on Business and month. is there possibility for this.

yearmonthBusinesssplit
20161Casualty11
20161Motor50
201610Casualty138
201610Motor167
201611Casualty110
201611Motor156
201612Casualty140
201612Motor177
20162Casualty25
20162Motor123
20163Casualty34
20163Motor102
20164Casualty52
20164Motor155
20165Casualty67
20165Motor159
20166Casualty69
20166Motor157
20167Casualty61
20167Motor169
yearmonthTotal
2016161
201610305
201611266
201612317
20162148
20163136
20164207
20165226
20166226
20167230
20168299
20169299
AbhilashR
15 - Aurora
15 - Aurora

Hi @rohini, I would still use a similar approach in summarizing data and joining it back to the original dataset for us to use the Formula tool, just that I used Join Tool in this case. We used the Append tool in the previous approach given there was only one Total value (think of append as a cross join between datasets), and it applied the Total value to all rows of the original dataset. While we use the Join tool in the updated approach given we have multiple Totals.

AbhilashR_0-1589903321402.png

Labels