Forum Discussion
Anonymous
8 years agoNot applicable
How to put multiple filter conditions in a query?
Hi, My below query is not working, it says I can give only 3 filter conditions for OR. Loan Number MTD = IF(Enco[Current_Month_FileStarted] = 1 || Enco[Current_Month_Application] = 1|| Enco[C...
- 8 years ago
If the || operator is not working, you will have to nest multiple ORs
Measure = IF( OR (CondA, OR (CondB, OR(CondC, CondD))), TRUE, FALSE)Hope this helps
David
Anonymous
8 years agoNot applicable
I am getting this error for the query I posted, Too many arguments were passed to the IF function. The maximum argument count for the function is 3.
dedelman_clng
Community Champion
8 years agoIf the || operator is not working, you will have to nest multiple ORs
Measure =
IF( OR (CondA,
OR (CondB,
OR(CondC, CondD))),
TRUE,
FALSE)Hope this helps
David
- Anonymous8 years agoNot applicable
Thanks David, it worked!! This community is great.