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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
mskarka
Regular Visitor

Format date in table based on current date

I have table vizualization with column "date". I want to change color of the date value based on current date. 
So for example:
IF "date" > TODAY then (show red)
- or something like that...


I thought it should be somewhere here... but not? 

mskarka_0-1684491984932.png
Thx in Advance for help.

 

2 REPLIES 2
mskarka
Regular Visitor

Just to be sure if I understand corretly. You suggest to add new column and filtr/format based on that... Correct? Okay then 🙂 thx

krishb1414
Helper III
Helper III

try this measure
measure = IF(date > Today(),1,0)

 

and go to conditional formatting select field value as this measure and choose these conditions
1) measure = 1, Red

2) measure = 0, Green

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

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

Check out the February 2026 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.