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
PBI Sept Update Carousel

Power BI September 2023 Update

Take a look at the September 2023 Power BI update to learn more.

Learn Live

Learn Live: Event Series

Join Microsoft Reactor and learn from developers.

Dashboard in a day with date

Exclusive opportunity for Women!

Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!

MPPC 2023 PBI Carousel

Power Platform Conference-Power BI and Fabric Sessions

Join us Oct 1 - 6 in Las Vegas for the Microsoft Power Platform Conference.

Top Solution Authors
Top Kudoed Authors