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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.