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
Hi All,
I hope I have the correct section of the forum, I have a DAX formula see below:
Solved! Go to Solution.
@T_EA
Can you ISBLANK function for identifying the blank.. Your modifed DAX code should be below
CF =
VAR _today = TODAY()
VAR _expiryDate = SELECTEDVALUE(Data[Expiry_Date])
RETURN
SWITCH(
TRUE(),
ISBLANK(_expiryDate), BLANK(),
_expiryDate < _today, "#FEB99C",
_expiryDate < _today + 30, "#FFED93",
"#CDFA93"
)
check if it is working or not.. If it is not working.. then suggesting to provide some dummy data and desired result to try from out end..
Hope it will help.
Regards,
sanalytics
Thanks ever so much 🙂
worked like a charm and is exactly what I was looking for.
Thank you again
@T_EA
Can you ISBLANK function for identifying the blank.. Your modifed DAX code should be below
CF =
VAR _today = TODAY()
VAR _expiryDate = SELECTEDVALUE(Data[Expiry_Date])
RETURN
SWITCH(
TRUE(),
ISBLANK(_expiryDate), BLANK(),
_expiryDate < _today, "#FEB99C",
_expiryDate < _today + 30, "#FFED93",
"#CDFA93"
)
check if it is working or not.. If it is not working.. then suggesting to provide some dummy data and desired result to try from out end..
Hope it will help.
Regards,
sanalytics
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
Check out the November 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 66 | |
| 48 | |
| 43 | |
| 26 | |
| 19 |
| User | Count |
|---|---|
| 198 | |
| 126 | |
| 102 | |
| 67 | |
| 50 |