The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event: Join us in Stockholm, September 24-27, 2024.
Save €200 with code MSCUST on top of early bird pricing!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
HELLO, I AM NEW TO POWER BI AND I AM SLOWLY LEARNING, I HAVE A SMALL PROBLEM
I HAVE A DATE FIELD, AND I NEED TO CREATE A NEW FIELD THAT CATEGORIZES THAT DATE FIELD FROM TODAY IN ADELTANTE WITH "WITHIN DEADLINE" AND FROM YESTERDAY BACKWARDS WITH "EXPIRED"
CAN ANYONE HELP ME?
Solved! Go to Solution.
Hi @Syndicate_Admin @avaldiviezo
You can add a new column to your table with this DAX expression:
DATA CATEGORIZES =
Var _Today = TODAY()
Var _Date = Table[Your Date Column Name]
Return
IF(_Date<_Today,"EXPIRED","WITHIN DEADLINE")
If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
LinkedIn: www.linkedin.com/in/vahid-dm/
thanks, it was the right solution,
Hi @Syndicate_Admin @avaldiviezo
You can add a new column to your table with this DAX expression:
DATA CATEGORIZES =
Var _Today = TODAY()
Var _Date = Table[Your Date Column Name]
Return
IF(_Date<_Today,"EXPIRED","WITHIN DEADLINE")
If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
LinkedIn: www.linkedin.com/in/vahid-dm/
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the August 2024 Power BI update to learn about new features.
User | Count |
---|---|
112 | |
79 | |
74 | |
50 | |
40 |
User | Count |
---|---|
135 | |
120 | |
75 | |
65 | |
64 |