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
Hello
I need your help to create a measure as below
Condition - If Return Date is less than Ship Date return "error" else "ok"
| Ship Date | Return Date |
| 27-Feb-21 | 26-Feb-21 |
Solved! Go to Solution.
Create a measure like this :
Measure = IF(SELECTEDVALUE('Table'[Return Date])<SELECTEDVALUE('Table'[Ship Date]),"error","ok")
The effect is as shown :
Best Regards
Community Support Team _ Ailsa Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Create a measure like this :
Measure = IF(SELECTEDVALUE('Table'[Return Date])<SELECTEDVALUE('Table'[Ship Date]),"error","ok")
The effect is as shown :
Best Regards
Community Support Team _ Ailsa Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @gauravnarchal ,
Calculated Column
Marcus Wegener works as Full Stack Power BI Engineer at BI or DIE.
His mission is clear: "Get the most out of data, with Power BI."
twitter - LinkedIn - YouTube - website - podcast - Power BI Tutorials
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!