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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
jonnyA
Responsive Resident
Responsive Resident

Using Conditional Formatting to show 10% above and 10% below Group%

Using Conditional Formatting how could I highlight the "Provider %" which is 10% above the "Group %"

 

Using Conditional Formatting how could I highlight the "Provider %" which is 10% below the "Group %"

 

Thank you in advance!

 

 

jonnyA_0-1625756225862.png

 

26 REPLIES 26
amitchandak
Super User
Super User

@jonnyA , Create a color measure and use that in conditional formatting using filed value option

 

Switch(True(),

[Provider %]> [Group %] *1.1 , "Green" ,
[Provider %]< [Group %] *.9 , "Red" ,
"Blue"

)

 

How to do conditional formatting by measure and apply it on pie?: https://youtu.be/RqBb5eBf_I4

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

When I try this formula all the data that was in the matrix goes away when adding the formula you said to try.

Color 3 = Switch(True(),

[Provider %]> [Group Average (Ignore Degree)] *1.1 , "Green" ,
[Provider %]< [Group Average (Ignore Degree)] *.9 , "Red" ,
"Blue"

)
 
jonnyA_2-1625765202222.png

 

 

How do i fix this measure witht the data i have?  I couldnt get the formula you sent me to work.
jonnyA_1-1625757722911.png

 

 
 

jonnyA_2-1625757916803.png

 


 

aj1973
Community Champion
Community Champion

[Provider %] is not a measure in your model you need to create it

Regards
Amine Jerbi

If I answered your question, please mark this thread as accepted
and you can follow me on
My Website, LinkedIn and Facebook

jonnyA
Responsive Resident
Responsive Resident

Provider % = CPT Code; shown as "Count" with show valaue as "% of row total"

aj1973
Community Champion
Community Champion

I know, that's why you need a measure like 

Provider % = COUNT( 'Table'[CPT Code])

Regards
Amine Jerbi

If I answered your question, please mark this thread as accepted
and you can follow me on
My Website, LinkedIn and Facebook

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors