Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers. Get Fabric certified for FREE! 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
Check out the April 2025 Power BI update to learn about new features.
Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.
User | Count |
---|---|
75 | |
71 | |
70 | |
45 | |
43 |
User | Count |
---|---|
63 | |
41 | |
30 | |
28 | |
28 |