This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowA new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.
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
Check out the May 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 32 | |
| 26 | |
| 23 | |
| 22 | |
| 15 |
| User | Count |
|---|---|
| 63 | |
| 45 | |
| 28 | |
| 24 | |
| 22 |