I've tried to use CALCULATE and other functions to group survey participants into groups, but failed so far. It's probably something very simple, but I just can't grasp the concept here as I'm fairly new to PowerPivot.
Here's a quick table on survey results I get from survey tool. Participant country on the left and their rating on a 5 point scale on the right, where number is amount of participants giving a specific rating.
[TABLE="class: outer_border, width: 196"]
<tbody>[TR]
[TD="align: center"]Country
[/TD]
[TD="align: center"]1[/TD]
[TD="align: center"]2[/TD]
[TD="align: center"]3[/TD]
[TD="align: center"]4[/TD]
[TD="align: center"]5[/TD]
[TD="align: center"]Top box[/TD]
[TD="align: center"]Bottom box[/TD]
[/TR]
[TR]
[TD]US[/TD]
[TD="align: right"]1070[/TD]
[TD="align: right"]287[/TD]
[TD="align: right"]278[/TD]
[TD="align: right"]227[/TD]
[TD="align: right"]440[/TD]
[TD="align: right"]%[/TD]
[TD="align: right"]%[/TD]
[/TR]
[TR]
[TD]DE[/TD]
[TD="align: right"]563[/TD]
[TD="align: right"]124[/TD]
[TD="align: right"]130[/TD]
[TD="align: right"]107[/TD]
[TD="align: right"]234[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[/TR]
[TR]
[TD]FR[/TD]
[TD="align: right"]5[/TD]
[TD][/TD]
[TD="align: right"]6[/TD]
[TD="align: right"]3[/TD]
[TD="align: right"]2[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[/TR]
[TR]
[TD]EE[/TD]
[TD="align: right"]129[/TD]
[TD="align: right"]56[/TD]
[TD="align: right"]44[/TD]
[TD="align: right"]40[/TD]
[TD="align: right"]112[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[/TR]
[TR]
[TD]ES[/TD]
[TD="align: right"]563[/TD]
[TD="align: right"]132[/TD]
[TD="align: right"]115[/TD]
[TD="align: right"]109[/TD]
[TD="align: right"]224[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[/TR]
</tbody>[/TABLE]
What I would need is to add 2 columns where it would calculate % of users from each country who rated 1-2 (bottom box) and column calculating % of participants rating 4-5 (top box). These groups would automatically update with the pivot table if I use slicers.
Any tips or guides would be appreciated
Here's a quick table on survey results I get from survey tool. Participant country on the left and their rating on a 5 point scale on the right, where number is amount of participants giving a specific rating.
[TABLE="class: outer_border, width: 196"]
<tbody>[TR]
[TD="align: center"]Country
[/TD]
[TD="align: center"]1[/TD]
[TD="align: center"]2[/TD]
[TD="align: center"]3[/TD]
[TD="align: center"]4[/TD]
[TD="align: center"]5[/TD]
[TD="align: center"]Top box[/TD]
[TD="align: center"]Bottom box[/TD]
[/TR]
[TR]
[TD]US[/TD]
[TD="align: right"]1070[/TD]
[TD="align: right"]287[/TD]
[TD="align: right"]278[/TD]
[TD="align: right"]227[/TD]
[TD="align: right"]440[/TD]
[TD="align: right"]%[/TD]
[TD="align: right"]%[/TD]
[/TR]
[TR]
[TD]DE[/TD]
[TD="align: right"]563[/TD]
[TD="align: right"]124[/TD]
[TD="align: right"]130[/TD]
[TD="align: right"]107[/TD]
[TD="align: right"]234[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[/TR]
[TR]
[TD]FR[/TD]
[TD="align: right"]5[/TD]
[TD][/TD]
[TD="align: right"]6[/TD]
[TD="align: right"]3[/TD]
[TD="align: right"]2[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[/TR]
[TR]
[TD]EE[/TD]
[TD="align: right"]129[/TD]
[TD="align: right"]56[/TD]
[TD="align: right"]44[/TD]
[TD="align: right"]40[/TD]
[TD="align: right"]112[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[/TR]
[TR]
[TD]ES[/TD]
[TD="align: right"]563[/TD]
[TD="align: right"]132[/TD]
[TD="align: right"]115[/TD]
[TD="align: right"]109[/TD]
[TD="align: right"]224[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[/TR]
</tbody>[/TABLE]
What I would need is to add 2 columns where it would calculate % of users from each country who rated 1-2 (bottom box) and column calculating % of participants rating 4-5 (top box). These groups would automatically update with the pivot table if I use slicers.
Any tips or guides would be appreciated