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
klod78
Frequent Visitor

Percentage of Sub total

Hi, I am making a report for a survey which is submitted every two months, as per picture below, I have i.e. the results of a first round of the survey in June and the results of a second round in July. the answers of the question can be Strongly agree, agree, neutral, disagree and strongly disagree and I need to show the values as % of the June answers in a stacked column chart, the % of July answers in the same stacked column chart, but in a different bar and so on.....I am aware that I can show the values of the grand total, but in this way every survey round I will have more answers so the grand total increase and the % of June, July and so on changes...I need to freeze June, July answers and so on in the same stacked column chart in different bars and each bar has to be linked to the total of the answers for that month only...can you help me? table.JPG

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

Hi @klod78 ,

 

Use measure like:

 

 

% of Grand Total =
DIVIDE (
    Count ( Table[select an answer] ),
    CALCULATE ( Table[select an answer], ALLEXCEPT ( 'Table',Table[Start time] ) )
)

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

Best Regards,

Dedmon Dai

 

View solution in original post

2 REPLIES 2
v-deddai1-msft
Community Support
Community Support

Hi @klod78 ,

 

Use measure like:

 

 

% of Grand Total =
DIVIDE (
    Count ( Table[select an answer] ),
    CALCULATE ( Table[select an answer], ALLEXCEPT ( 'Table',Table[Start time] ) )
)

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

Best Regards,

Dedmon Dai

 

amitchandak
Super User
Super User

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

AugPowerBI_Carousel

Power BI Monthly Update - August 2024

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

August Carousel

Fabric Community Update - August 2024

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