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!Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
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
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 52 | |
| 50 | |
| 34 | |
| 15 | |
| 14 |
| User | Count |
|---|---|
| 92 | |
| 77 | |
| 41 | |
| 26 | |
| 25 |