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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Anonymous
Not applicable

"Dynamic" formatting (not the conditional formatting as available)

Hi, I searched the forum but didn´t find my question already asked so far.

 

I am using financial data and created a slicer that let´s the user select the measure he wants to see in let´s say a table e.g.

  • Actuals (in k€, no digits after the decimal point)
  • Difference vs. budget or previous year (in k€, 1 digit)
  • %Actuals of budget or of previous year (in %, 1 digit)
  • ..

I already created a dynamic measure that displays the selected value e.g.

"DynMeasure= switch (slicerval; 1; [actual]; 2; [DiffVsPY]; 3; [%ActVsPY];blank())

When I format the measure as "auto" I get

1: 1000

2: 10.23

3: 0.04

 

What I want is something like

1: 1000

2: 5.1

3: 4.2%

 

I want to set the format of my single measure dynamically based on the slicer selecting which underlying measure to show.

Furthermore, for a different case, I have only one measure but the format should adapt dynamically based on the value:

20

15

10

9.5

1.1

0.95

0.051

The smaller it gets the more decimals I want to show. So it is not the conditional formatting which is about coloring.

 

Any idea how to solve this?

Cheers

Alexander

1 ACCEPTED SOLUTION
v-caliao-msft
Microsoft Employee
Microsoft Employee

@Anonymous,

 

One measue can only have one format. In your scenario, you need to the measure shoule be changed automatically based items selected in your slicer, this requirement cannot be done currently. 

 

If you have any concern on this feature, you can submit your idea on the link below. If this feature was mentioned by mulitple users, product team will consider to add this feature to next release.

https://ideas.powerbi.com/forums/265200-power-bi-ideas

 

Thank you for your understanding.

 

Regards,
Charlie Liao

View solution in original post

1 REPLY 1
v-caliao-msft
Microsoft Employee
Microsoft Employee

@Anonymous,

 

One measue can only have one format. In your scenario, you need to the measure shoule be changed automatically based items selected in your slicer, this requirement cannot be done currently. 

 

If you have any concern on this feature, you can submit your idea on the link below. If this feature was mentioned by mulitple users, product team will consider to add this feature to next release.

https://ideas.powerbi.com/forums/265200-power-bi-ideas

 

Thank you for your understanding.

 

Regards,
Charlie Liao

Helpful resources

Announcements
July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

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