Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hey, quick question: I'm making an IF statement with both an && and "or". The logic is IF Role = "CMPM" and Task = "Scheduling" or "Training". Is it written out like IF(Role = "CMPM" && Task = "Scheduling" | | Task = "Training", )? Or like IF(Role = "CMPM" && (Task = "Training" | | "Scheduling"), )? I'm getting a bit confused on how to format it.
Solved! Go to Solution.
@savanahmk You will need to include parenthesis e.g., IF ( (x = x) && (y = y || y = y )) The set around x = x isn't required, but when doing statements like this is better.
@savanahmk You will need to include parenthesis e.g., IF ( (x = x) && (y = y || y = y )) The set around x = x isn't required, but when doing statements like this is better.
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!