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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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