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 am trying to workout if something is within timeline, but i need it to check if a field has a date first then if so work out X if not check this field isnt blank and work out Y
this is the Dax i am working with, i manage to get it to do one half but then it doesnt seem to do the second field blank check:
Solved! Go to Solution.
@EloiseJane Try out with Switch:
Test PPA =SWITCH(TRUE(),
DATEDECISS>DATE8WEEK,"Exceeds",
DATEDECISS=BLANK(),BLANK(),
DATEDECISS>DATE8WEEK,"Exceeds", "Within")
@EloiseJane Try out with Switch:
Test PPA =SWITCH(TRUE(),
DATEDECISS>DATE8WEEK,"Exceeds",
DATEDECISS=BLANK(),BLANK(),
DATEDECISS>DATE8WEEK,"Exceeds", "Within")
thank you this worked 😀
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 143 | |
| 123 | |
| 102 | |
| 79 | |
| 54 |