The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
I need to combine 3 OR condition in if statement. PowerbI only allows 2 arguments in if statement.
In the below screenshot the yellow or condition is not taken in action as only 2 arguments is allowed in if stament.
Solved! Go to Solution.
@Anonymous , I think or can take only 2 arguments
Blocked_Approved = IF( (vVENDOR_PURCH_ORG_AVL[CentralPurchasingBlock] = "X" || vVENDOR_PURCH_ORG_AVL[PurchBlockForPurchasingOrganization]="X" || vVENDOR_PURCH_ORG_AVL[BlockedForAllEnabledPurchasingOrganization] ="X"),"Blocked","Active")
@Anonymous , I think or can take only 2 arguments
Blocked_Approved = IF( (vVENDOR_PURCH_ORG_AVL[CentralPurchasingBlock] = "X" || vVENDOR_PURCH_ORG_AVL[PurchBlockForPurchasingOrganization]="X" || vVENDOR_PURCH_ORG_AVL[BlockedForAllEnabledPurchasingOrganization] ="X"),"Blocked","Active")