The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
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!
User | Count |
---|---|
16 | |
8 | |
7 | |
6 | |
6 |
User | Count |
---|---|
26 | |
13 | |
12 | |
8 | |
8 |