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

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

Reply
mariaLP1610
New Member

Calculated column conditional formatting

Hello!

 

i am trying to change the font color of values in a table based on a condition.

I have a table that has a column named 'SubmitDate'

I have created a calculated column using the following

 

Days Since Submission = DATEDIFF(myRequests[SubmitDate],Now(),DAY).
 
This is the column i use in the table visual.
When this number is greater than 5 i want the font to be Red.
I tried selecting the column and add conditional formating using a rule. I am getting the count but i dont want a summarization. 
I also get an error.
 
mariaLP1610_0-1692692657252.png

I also tried to create a measure that simulates the logic, for example

MeasureName = IF([YourColumnName] > 5, 1, 0)

 if value is 1 then color is red. 

I cannot seem to be able to select the column.

 

Any help will be appreciated.

1 ACCEPTED SOLUTION
JoeBarry
Solution Sage
Solution Sage

Hi @mariaLP1610 

 

Instead of Count of Days Since Submission, try Max. Also in the second part of the criteria, you need to add a number larger than 5 and not < 0 as in your screenshot

 

Thanks

Joe

View solution in original post

2 REPLIES 2
JoeBarry
Solution Sage
Solution Sage

Hi @mariaLP1610 

 

Instead of Count of Days Since Submission, try Max. Also in the second part of the criteria, you need to add a number larger than 5 and not < 0 as in your screenshot

 

Thanks

Joe

Thanks for this information

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.