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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
harirao
Post Prodigy
Post Prodigy

Percentage Row Total not working for 100% Stacked Column Chart

Hi Team,


I am working on a 100% Stacked Column Chart where I want to see the percentage of each quarter along with the Geography breakdown. In the Matrix table, I am getting exactly 100% (sum of APJ, AMS, & EMEA) for each quarter (see the screenshot below for reference).

WW Mix.PNG


However, when I use the same Matrix data in the 100% Stacked Column Chart, the total for each quarter shows diffrent percentage and it automatically adjusts to the Percentage of Grand Total (screenshot attached for reference).

WW Mix2.PNG

Could you please suggest a solution to resolve this issue?


Thank you.

 

2 ACCEPTED SOLUTIONS

@harirao 


That's a basic method to calculate percentage, this might change depending on you logic. If you have issues using this, please share a sample file or logic along with column names.


Perct=

Var overall = CALCULATE(sum(sales),all('Table'))

return DIVIDE(sum(sales),overall,0)

Don't forget to change the data type to percentage for this measure.

If this post helps, then please consider Accept it as the solution to help the others find it more quickly. Appreciate you kudos!!

Follow me on LinkedIn!!!

View solution in original post

Anonymous
Not applicable

Hi @harirao ,
Thanks for  NaveenGandhi reply.

You can try measure below

Measure = 
VAR a = SUM('Table'[Value])
VAR b = 
CALCULATE(
    SUM('Table'[Value]),
    ALLEXCEPT(
        'Table',
        'Table'[Qtr]
    )
)
RETURN
a/b

Final output

vheqmsft_2-1724045725849.png

 

Best regards,
Albert He


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

4 REPLIES 4
Anonymous
Not applicable

Hi @harirao ,
Thanks for  NaveenGandhi reply.

You can try measure below

Measure = 
VAR a = SUM('Table'[Value])
VAR b = 
CALCULATE(
    SUM('Table'[Value]),
    ALLEXCEPT(
        'Table',
        'Table'[Qtr]
    )
)
RETURN
a/b

Final output

vheqmsft_2-1724045725849.png

 

Best regards,
Albert He


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

 

 

NaveenGandhi
Super User
Super User

Hi @harirao 

This issue might be due to the decimal palces under datalabel->detail->value decimal places.  try chaning this to 2 places.

Also try to create the percent calculation as a measure and mark it as percentage data type, That's the best practice you can follow.

If this post helps, then please consider Accept it as the solution to help the others find it more quickly. Appreciate you kudos!!

Follow me on LinkedIn!!!

Hi @NaveenGandhi 

As mentioned, I tried changing it to 2 decimal places. Please see the screen print below for your reference.

WW Mix3.PNG
Could you please share a sample DAX measure for the "Percent Calculation"?

Thank you

@harirao 


That's a basic method to calculate percentage, this might change depending on you logic. If you have issues using this, please share a sample file or logic along with column names.


Perct=

Var overall = CALCULATE(sum(sales),all('Table'))

return DIVIDE(sum(sales),overall,0)

Don't forget to change the data type to percentage for this measure.

If this post helps, then please consider Accept it as the solution to help the others find it more quickly. Appreciate you kudos!!

Follow me on LinkedIn!!!

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

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.

Top Solution Authors
Top Kudoed Authors