Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more
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.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.