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
Anonymous
Not applicable

One measure for Conditional Formatting applicable to multiple measure

I want to create a measure for conditional formatting that can be applicable to multiple measure.
Total_A and Total_B are measures

ravi042011_0-1626906052768.png

 

3 REPLIES 3
GG23
New Member

Have you found a solution for this? I'm needing the same. Thanks

littlemojopuppy
Community Champion
Community Champion

Hi @Anonymous 

You could do this with a calculation group.  Create a calculation item for the formatting you want to achieve and the conditions for it.  Instead of using a specific measure name use SELECTEDMEASURE() instead.

Hope this helps!  😉

Anonymous
Not applicable

I have tried that as well but issue is that how will I select calculation item in conditional formatting dialog box.
I had created below calculated item having name "M":-

IF(SELECTEDMEASURE()>25,"Red","Green")

 

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.