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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

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

@klod78 , refer if this can help

https://community.powerbi.com/t5/Desktop/Percentage-of-subtotal/td-p/95390

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

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