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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Anonymous
Not applicable

How to create a measure that changes cell colour/font colour in a table filtered by a slicer?

HI, I would like to have my filtered table (from a slicer) display the different services with different font colour/cell background colour. Any idea how i can create a measure to detect that the service code is different from my table that is filtered from a slicer?

 

felibhai_0-1631896702193.png

So i have filtered the service code to display services 040 and 822 in my table below. How can i create a measure so that columns for 040 are in red, or in another cell colour? This is so that i can easily see the 2 services. 

 

This is how i created my slicer and table from my sources which is an excel file

 

felibhai_1-1631896814992.png

Thank you in advance for any help rendered!

 

Regards

Felibhai

 

2 REPLIES 2
Anonymous
Not applicable

Hello,

 

first you need to write a measure. Then in the formatting section under condition formatting select background color and go to the advanced controls. Then insert the measure and select the values.

 

sample.PNG

 

 

maxigtsh_0-1631907744903.png

 

If this works, please mark it as the solution, thanks ๐Ÿ™‚

Anonymous
Not applicable

HI, thanks for your reply!

 

However, i dont want to assign a fixed svc code, rather i would like the measure to run down the selected column, and return a 1 if the value of the first column is different. so when measure is 1, i can use it to assign another colour. 

 

My list has a thousand and more services, so it would be too tedious to assign every option, as the user is able to select many services based on the slicer

 

THanks a lot!

 

 

Helpful resources

Announcements
November Fabric Update Carousel

Fabric Monthly Update - November 2025

Check out the November 2025 Fabric update to learn about new features.

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!

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.

Users online (25)