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
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
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

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