Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
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 😀
User | Count |
---|---|
61 | |
59 | |
56 | |
38 | |
29 |
User | Count |
---|---|
83 | |
62 | |
45 | |
40 | |
39 |