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
srlabhe123
Post Patron
Post Patron

Conditional Formatting based on other measure value

Hi Team,

I have below data where I wanted to Highlight YGoalPer as green if the YGoalPer < YestForm else mark the background as green

 

SMCompare.JPG

 

When I check Conditional Formatting option , I dont see the comparison option there.

 

Kindly guide.

2 ACCEPTED SOLUTIONS
Anonymous
Not applicable

Hi,

 

You can do this using the new Power BI feature, released yesterday: Conditional formatting by a different field.

 

Update Power BI Desktop to the latest version: 2.58.5103.501 64-bit (may 2018)

Create a new column YGoalPer_IsLessThan_YestForm = IF('Table'[YGoalPer] < 'Table'[YestForm];1;0) 

And now you can do this:


new_cond_form2.png

 

Regards.

 

 

View solution in original post

Ohh thanks for useful info, it worked like charm

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

Hi,

 

You can do this using the new Power BI feature, released yesterday: Conditional formatting by a different field.

 

Update Power BI Desktop to the latest version: 2.58.5103.501 64-bit (may 2018)

Create a new column YGoalPer_IsLessThan_YestForm = IF('Table'[YGoalPer] < 'Table'[YestForm];1;0) 

And now you can do this:


new_cond_form2.png

 

Regards.

 

 

Ohh thanks for useful info, it worked like charm

@srlabhe123 

Can you do this with Data Bars?

I would like to set a maximum number as a measure...

Thanks

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.

Top Solution Authors