cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

Question regarding conditional formatting?

 

Hi

I manage to use conditional formatting one of my matrix table. I use a rule that really simple

If 1column value  (variance) is higher than 0.1 and lower 99999  show its red.

 

I would like to modify for the following

If the column value (variance) is higher than 0.1 and lower 99999  show its red BUT if the variance = the actuals (other column) it should be blank.

 

Any ide how can I manage this? Where should I look at it?

 

1 ACCEPTED SOLUTION
v-frfei-msft
Community Support
Community Support

Hi @Anonymous ,

 

We can set conditional formatting based on a measure like this.

 

Measure = var va = MAX('Table'[variance])
var ac = MAX('Table'[actuals])
return
IF(va >=0.1 && va<=99999 && va <>ac,"#FF0027",BLANK())

Capture.PNG

Community Support Team _ Frank
If this post helps, then please consider Accept it as the solution to help the others find it more quickly.

View solution in original post

2 REPLIES 2
v-frfei-msft
Community Support
Community Support

Hi @Anonymous ,

 

We can set conditional formatting based on a measure like this.

 

Measure = var va = MAX('Table'[variance])
var ac = MAX('Table'[actuals])
return
IF(va >=0.1 && va<=99999 && va <>ac,"#FF0027",BLANK())

Capture.PNG

Community Support Team _ Frank
If this post helps, then please consider Accept it as the solution to help the others find it more quickly.
RobbeVL
Impactful Individual
Impactful Individual

Hi there,


If you cannot set your rules applying to your needs, you can always use a calculated measure to do so.
I cannot explain it better than on this page :

https://docs.microsoft.com/en-us/power-bi/desktop-conditional-table-formatting 

Have a look at the SWITCH Method.

 

Robbe

Helpful resources

Announcements
Carousel_PBI_Wave1

2023 Release Wave 1 Plans

Power BI release plans for 2023 release wave 1 describes all new features releasing from April 2023 through September 2023.

Power BI Summit Carousel 2

Global Power BI Training

Make sure you register today for the Power BI Summit 2023. Don't miss all of the great sessions and speakers!

BizApps LATAM 2023

Business Application LATAM Summit 2023

Join the biggest FREE Business Applications Event in LATAM this February.

Power Platform Bootcamp

Global Power Platform Bootcamp

In this bootcamp we will deep-dive into Microsoft’s Power Platform stack with hands-on sessions and labs, delivered to you by experts and community leaders.