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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors