cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Dom87326
Helper II
Helper II

% of grand total by maintaining filter context on column

Hello, 

 

I have the followinf fact table:

QuestionRespondentIdAnswer% of GT of RespondentId 
What's your name  39

Dana

9%
What's your name  69

Juliet

9%
What's your name  71

Lorelai

9%
What's your name  31

Caden

9%
What's your name  57

Imani

9%
What's your name  38

Adrien

18%
What's your name  68

Valentin

18%
What's your name  81

Dale

36%
What's your name  53

Dale

36%
What's your name  16

Dale

36%
What's your name  64

Dale

36%
What's your favorite city  39Lora del Río9%
What's your favorite city  69Marchena9%
What's your favorite city  71Moron de la Frontera9%
What's your favorite city  31Barcelona9%
What's your favorite city  57Madrid9%
What's your favorite city  38Did not answer18%
What's your favorite city  68Did not answer18%
What's your favorite city  81Huesca36%
What's your favorite city  53Huesca36%
What's your favorite city  16Huesca36%
What's your favorite city  64Huesca36%

 

Now I want to add a custom column [% of GT of RespondentId], however I need that to take into account Question value. 

 

In a report view I use a table that shows [Answers] and Count of [RespondentId], as well as [% of GT of RespondentId], in addition to using Filter's pane on the whole page for [Question]. Every page shows different questions and thus has an active page level filter.

 

Thanks for help!

1 ACCEPTED SOLUTION
v-yalanwu-msft
Community Support
Community Support

Hi, @Dom87326 ;

I don't quite understand your logic, how did you calculate % of GT of RespondentId? What kind of logic implements this formula for 9% and 18% and 36%? 

vyalanwumsft_0-1655105629683.png

I tested it as follows:

vyalanwumsft_1-1655105649470.png

so can you share more information or your logic?


Best Regards,
Community Support Team _ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

View solution in original post

1 REPLY 1
v-yalanwu-msft
Community Support
Community Support

Hi, @Dom87326 ;

I don't quite understand your logic, how did you calculate % of GT of RespondentId? What kind of logic implements this formula for 9% and 18% and 36%? 

vyalanwumsft_0-1655105629683.png

I tested it as follows:

vyalanwumsft_1-1655105649470.png

so can you share more information or your logic?


Best Regards,
Community Support Team _ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

Helpful resources

Announcements
Carousel_PBI_Wave1

2023 Release Wave 1 Plans

Power BI release plans for 2023 release wave 1 describes all new features releasing from April 2023 through September 2023.

Power BI Summit Carousel 2

Global Power BI Training

Make sure you register today for the Power BI Summit 2023. Don't miss all of the great sessions and speakers!

BizApps LATAM 2023

Business Application LATAM Summit 2023

Join the biggest FREE Business Applications Event in LATAM this February.

Power Platform Bootcamp

Global Power Platform Bootcamp

In this bootcamp we will deep-dive into Microsoft’s Power Platform stack with hands-on sessions and labs, delivered to you by experts and community leaders.

Top Solution Authors
Top Kudoed Authors