Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hi all!
I have a column with a lot of dates. Now I would like to add a calculated column that displays "Past" if the Date if in the past. If the date is today or in the future, I would like to see the Date.
How would you do that?
Solved! Go to Solution.
hi @joshua1990
try to add a column like:
Column = IF([Date]<TODAY(), "Past", FORMAT([Date], "m/d/yyyy" ))it worked like:
the sequence of "m/d/yyyy" depends on your preference.
hi @joshua1990
try to add a column like:
Column = IF([Date]<TODAY(), "Past", FORMAT([Date], "m/d/yyyy" ))it worked like:
the sequence of "m/d/yyyy" depends on your preference.
Hi,
This should do the trick:
I hope this post helps to solve your issue and if it does consider accepting it as a solution and giving the post a thumbs up!
Proud to be a Super User!
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 5 | |
| 5 | |
| 4 | |
| 4 | |
| 3 |
| User | Count |
|---|---|
| 24 | |
| 21 | |
| 13 | |
| 10 | |
| 8 |