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
Roshan_Bhagi
New Member

Percentage Calculation on Stacked Bar Chart

Hey,

 

I have the table below and I would like to calculate the aggregate percentage of A, B, C individually for FY23 and FY24. 

 

TypeFiscal Year
AFY23
AFY23
AFY23
BFY24
CFY24
BFY24
AFY24
BFY23
CFY23
BFY24
CFY23
CFY24

 

I have populated the data in a stacked bar chart and the chart shows the aggregate percentages as follows: Please see chart below.

A: 25% for FY23 and 8% for FY24

B: 8% for FY23 and 25% for FY24

C: 17% for FY23 and 17% for FY24

 

Stacked Bar Calculation.png

 

Instead, I would like the chart to show the aggregate percentages of A, B, C by fiscal year as follows:

 

FY23            FY24

A: 50%         16%

B: 17%          50%

C: 33%          34%

 

I am a newbie to Power BI and any help from you guys is really appreciated. 

 

Thanks!

Roshan

1 ACCEPTED SOLUTION

Anuja_Chaudhari_0-1708497500926.png

 

I have tried same and its working thanks for this something new to get learn .

View solution in original post

4 REPLIES 4

Anuja_Chaudhari_0-1708497500926.png

 

I have tried same and its working thanks for this something new to get learn .

lbendlin
Super User
Super User

lbendlin_0-1708383494215.png

 

Hey,

 

Thank you for your quick response. 

 

I have applied the settings from the screenshot that you have shared; however, I don't see the desired percentages. 

 

Am I missing something?

 

Thanks!

Roshan

 

 

Anonymous
Not applicable

Hi @Roshan_Bhagi ,

If you want to see percentages on your 100% Stacked Bar Chart view you can open Data labels under Visual.

vyilongmsft_0-1708495148688.png

If you need to remove the decimal point, you can do so, just set the Value decimal places under Detail to zero.

vyilongmsft_1-1708495505710.png

Then you will see what you want.

vyilongmsft_2-1708495555903.png

 

 

Best Regards

Yilong Zhou

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

 

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