March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
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/
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
124 | |
89 | |
84 | |
70 | |
51 |
User | Count |
---|---|
206 | |
143 | |
97 | |
79 | |
68 |