cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
WulfieWolf
Regular Visitor

How to make conditional number format depending on data fields

I like to create a matrix visual from a dataset like this:

 

MonthValueTargetOperatorUnit
2022-01105>=seconds
2022-020,530,4<=%
...    

 

In my matrix visual, numbers should be representet with their associated number format (unit) and colored depending whether in target or not using the operator

 

so in the end it should look like that:

MonthValue
2022-0110secs
2022-0253%
... 

 

How can I achieve that, using some kind of conditional formatting. I need a rule for different number formats (like seconds, hours, percent, decimal, date, Euros, Dollars etc.) and operator (>= and <=)

1 REPLY 1
lbendlin
Super User
Super User

You need one measure that converts all your results to string (text)  and a second measure that does the conditional formatting.

Helpful resources

Announcements
Difinity Conference

Difinity Conference 2022

Difinity is the largest Microsoft Data, AI, Power BI, Power Platform and Business Applications Conference in New Zealand.

European Share Point Conference

European Share Point Conference

This conference returns live and in-person in Copenhagen this 28 November-01 December with 4 Microsoft Keynotes, 9 Tutorials, and 120 Sessions.

Microsoft 365 Conference â__ December 6-8, 2022

Microsoft 365 Conference - 06-08 December

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Top Solution Authors