Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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

Power BI Monthly Update - September 2024

Check out the September 2024 Power BI update to learn about new features.

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

Find out what's new and trending in the Fabric Community.