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

Next up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now

Reply
Vlaemminck
New Member

I can't use a numeric field for Conditional Formatting. ("What Field should we base this on")

Hello,


I'm using Power Bi Desktop Version: 2.130.754.0 64-bit (June 2024)

I have a table with 27 rows, the column 'Highlight' has only values : 0, 1, 2 or 3, no nulls.
It is recognised as Whole Number, and Summarize is 'By Sum'.
I have no errors (except that i don't see the Sigma symbol..)

Screenshot 2024-06-18 at 17.09.03.png

I want to use this 'Highlight' value for conditional formatting, but the dialog box doesn't allow me to select it.
In Format > Cell Elements I want to use it in a formula for the background. ("What Field should we base this on")
When i try to select it from the dropdown, it is not selectable, and the selection field turns red.

 

Screenshot 2024-06-18 at 17.24.22.png
Anyone has an idea ?
If you want to know what I want to do you can see it here : around minute 10:40
https://www.youtube.com/watch?v=J4317R5BvsA&t=490s

Thanks for reading, 
P


1 ACCEPTED SOLUTION
ExcelMonke
Super User
Super User

I think this is because it is a column. Try creating the Highlight as a measure and it should work for you.





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





View solution in original post

2 REPLIES 2
ExcelMonke
Super User
Super User

I think this is because it is a column. Try creating the Highlight as a measure and it should work for you.





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





Simple indeed : I just added a new measure : 

HL = SUM('P&L Table Structure'[Highlight]) and used HL in my Rule.
Thanks !

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.