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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
ManishML
Frequent Visitor

Measure connected with table cell

I want to make something like : a table is connected with a measure, If the measure value is 5 and in a table if some of the cell having a value greater or equal then that, it simply diffrenciate that cell by a color or anything which could highlight. 

 

I tired this, but its not working.

 

Test2 =
VAR Value = ('Name'[Values])
RETURN
IF (
Value < ('Name'[Valuesss]), "#0E8155" 

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

Hi @ManishML 

 

The measure I created:

 

Valueness = MAX('Name'[Values])/2

formatting = IF('Name'[Valueness] >= 5,"red")

 

 

Click “Values” field, check “Conditional formatting”-“Font color”.

vyadongfmsft_0-1661507056959.png

 

Then check “Field value”-“formatting”.

vyadongfmsft_1-1661507056964.png

 

Finally, you can simply differentiate that cell by a color like below:

vyadongfmsft_2-1661507056965.png

 

If I misunderstand your demands, please provide some data screenshots (remember to hide sensitive information) to help us better solve your problem.

 

Best regards,

Yadong Fang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
v-yadongf-msft
Community Support
Community Support

Hi @ManishML 

 

The measure I created:

 

Valueness = MAX('Name'[Values])/2

formatting = IF('Name'[Valueness] >= 5,"red")

 

 

Click “Values” field, check “Conditional formatting”-“Font color”.

vyadongfmsft_0-1661507056959.png

 

Then check “Field value”-“formatting”.

vyadongfmsft_1-1661507056964.png

 

Finally, you can simply differentiate that cell by a color like below:

vyadongfmsft_2-1661507056965.png

 

If I misunderstand your demands, please provide some data screenshots (remember to hide sensitive information) to help us better solve your problem.

 

Best regards,

Yadong Fang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Syk
Super User
Super User

Check out the conditional formatting for the table visual, you can set background color and lots of other settings!

Syk_0-1661260875767.png

Apply conditional table formatting in Power BI - Power BI | Microsoft Docs

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.