Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers!
Enter the sweepstakes now!See when key Fabric features will launch and what’s already live, all in one place and always up to date. Explore the new Fabric roadmap
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/
User | Count |
---|---|
88 | |
74 | |
69 | |
59 | |
56 |
User | Count |
---|---|
40 | |
38 | |
34 | |
32 | |
28 |