Forum Discussion
wkelly1002
8 years agoFrequent Visitor
Need help with an IF ... AND ... Statement
If([Reference Date]-[CREATE DATE]>22,
AND([Reference Date]-[CREATE DATE]<31,
"Y",
"N"))) Hello, I am new to writing DAX equations with Power BI and need some hel...
- Anonymous8 years ago
Try
if(and([Reference Date]-[CREATE DATE]>22,[Reference Date]-[CREATE DATE]<31)."Y","N")
- Anonymous8 years ago
Just use the same format, but replace the if(and( with if(or(
:smileyhappy:
Anonymous
8 years agoNot applicable
Try
if(and([Reference Date]-[CREATE DATE]>22,[Reference Date]-[CREATE DATE]<31)."Y","N")
- wkelly10028 years agoFrequent Visitor
Thank you so much it worked!
Do you know how to insert the OR operator into a DAX equation?- Anonymous8 years agoNot applicable
Just use the same format, but replace the if(and( with if(or(
:smileyhappy: