Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Wondering if there a smart way to do this, I have table with cases and their open and closed dates.
For the times when the case is still open, I want the card to show "Still Open", I have achieved this using two measures:
Solved! Go to Solution.
sure 🙂
Your approach will only work when [Date Closed] is of type text.
You can use COALESCE
Thank you! So there is no way to have only one measure to achieve this?
sure 🙂
Ah, right, I remember. There is a bug in FORMAT that happily returns an empty string instead of BLANK().
Oh well, back to your version.
=IF(ISBLANK(MAX('Query1'[DateClosed])),"Still Open",FORMAT(MAX('Query1'[DateClosed]),"MM/DD/YYYY"))
Thank you! Works now!
And, interesting, I guess that bug can be used to our advantage in some cases
Thank you!
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 39 | |
| 38 | |
| 38 | |
| 28 | |
| 25 |
| User | Count |
|---|---|
| 124 | |
| 87 | |
| 70 | |
| 66 | |
| 65 |