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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
HieuTran
Regular Visitor

Percentage of column total

Hello, so I'm trying to make the values shown in my stacked column chart to be similar to what's being shown in my Matrix. I've played around with PowerBI for quite a while but still haven't figured this out, can anyone help me to look into this?

 

If I understand this correctly, the mismatch is caused by the fact that there is no option for "Show value as column total" for stacked column chart. Is there a workaround for this?

 

1.png2.png

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

Hi @HieuTran

Assume  your dataset is like this

2.png

You could create a measure as a workaround

percentage = SUM(Table1[percent])

Measure = DIVIDE([percentage],CALCULATE([percentage],ALLSELECTED(Table1[answer])))

3.png

 

 

Best Regards

Maggie

View solution in original post

2 REPLIES 2
v-juanli-msft
Community Support
Community Support

Hi @HieuTran

Assume  your dataset is like this

2.png

You could create a measure as a workaround

percentage = SUM(Table1[percent])

Measure = DIVIDE([percentage],CALCULATE([percentage],ALLSELECTED(Table1[answer])))

3.png

 

 

Best Regards

Maggie

Thanks! It does work!

Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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