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
TheKnall
Frequent Visitor

Formating Function & Conditional Formating in a table

Hi Guys

I have a case where we we are working with messures and formats in a table.

When I use the Format function on a messure to change the formating, I see that the messure is changes to format Text.  When the format on a messure is text, conditional formating does not work in a Table / Matrix.

I have added a snapshot that shows this.

Is it not possible to use conditional formating on messures that has been formated with (Format function?Capture.PNG

Or is there other ways to shorten numbers that can be used with conditional formating.? 
Example: 1000000 -> 1 M

Thanks for the input

Best Regards
TheKnall



1 REPLY 1
v-sihou-msft
Employee
Employee

@TheKnall

 

In Power BI, once you use Format() function, the data field will be converted into "Text". However, the conditional formatting should be based on a numeric field. And if you change the data type, the format from Format() function will be disable. So in this scenario, I suggest you try build-in format for your data field.

 

777.PNG

 

Regards,

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.