Forum Discussion
How to put multiple filter conditions in a query?
- 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
What error are you getting?
Try thi s:
Loan Number MTD = IF(OR(Enco[Current_Month_FileStarted] = 1 ,
Enco[Current_Month_Application] = 1, Enco[Current_Month_Processing] =1
, Enco[Current_Month_Submitted] =1 , Enco[Current_Month_CondApproval] =1
, Enco[Current_Month_PreCTC] = 1 , Enco[Current_Month_CTC] =1
, Enco[Current_Month_DocsOut] =1 , Enco[Current_Month_FundingDate] =1)
, Enco[Loan_Number], BLANK())
- Anonymous8 years agoNot applicable
I am trying your way, but it says we can only put two arguments in OR(Logical 1, Logical 2).
Any other suggestion?
- Anonymous8 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_clng8 years ago
Community Champion
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
- Anonymous8 years agoNot applicable
Thanks David, it worked!! This community is great.