Forum Discussion
HelloPowerBi
8 years agoFrequent Visitor
Help with IF OR
Hi there, I am having difficulties with this formula Is Store Closed1 = IF(OR([Close Date Measure1]=0||(LASTDATE(Week[Date])>[Close Date Measure1]),1,0)) Baiscally i am trying to show that...
- Anonymous8 years ago
Hi
Try this.
IF( [Close Date Measure1]=0 || LASTDATE(Week[Date])>[Close Date Measure1],1,0)
Thanks
Raj
HelloPowerBi
8 years agoFrequent Visitor
Hi Raj,
It doesnt seem to work!
Pasted this
Is Store Closed1 =
IF(OR([Close Date Measure1]=0,(LASTDATE(Week[Date])>[Close Date Measure1]),1,0))
Still getting the same error message
Too many arguments were passed to the OR function. The maximum argument count for the function is 2
Anonymous
8 years agoNot applicable
Hi
Try this.
IF( [Close Date Measure1]=0 || LASTDATE(Week[Date])>[Close Date Measure1],1,0)
Thanks
Raj
- HelloPowerBi8 years agoFrequent Visitor
works thanks raj!