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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

Reply
lg1551
Resolver II
Resolver II

Stacked Bar Chart - Need Decimal on one Bar, Percentage on Another (only with slicer selection)

I have a stacked bar chart on a slicer which uses two measures (one for each bar).

 

Both metrics should be decimal format, UNLESS a slicer selection is made, then one measure (bar) should be formatted to a percentage. 

 

I've written the percentage measures for these slicer selections, and as a measure in and of themselves, they display properly in the bar chart.

 

But when I write the toggle measure to use those % measures when the slicer is made, it defaults them to decimal. I've even tried using the FORMAT function in the measure to force it but it won't work.

 

Is this even possible in PBI?

1 ACCEPTED SOLUTION
lg1551
Resolver II
Resolver II

1 REPLY 1
lg1551
Resolver II
Resolver II

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

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

Feb2025 NL Carousel

Fabric Community Update - February 2025

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