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!Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!
I am new to Power BI. I currently have the following calculated column but I need it to be OR not AND. How would this be changed to use an OR statement? If the first cell is not Y or N then the conditional formatting doesn't apply to the whole row.
Status = SWITCH(TRUE(),
'BC Gate Status'[NIRA SUBMISSION]="N" && 'BC Gate Status'[ARCHITECTURE SUBMISSION ]="N" && 'BC Gate Status'[GTSB DATE]="N" && 'BC Gate Status'[eARB DATE]="N" && 'BC Gate Status'[VP APPROVAL]="N" && 'BC Gate Status'[EVP APPROVAL]="N" && 'BC Gate Status'[SUBMITTED TO ITPMO]="N" && 'BC Gate Status'[PD&S INTAKE REQUEST SUBMISSION DATE]="N" && 'BC Gate Status'[ALLOCATIONS (ITS FINANCE)]="N" && 'BC Gate Status'[EPMO FINANCE APPROVAL]="N" && 'BC Gate Status'[BCDC APPROVAL]="N" && 'BC Gate Status'[OP CREATED]="N" && 'BC Gate Status'[PD&S RESOURCE ASSIGNED]="N",1,
'BC Gate Status'[NIRA SUBMISSION]="Y" && 'BC Gate Status'[ARCHITECTURE SUBMISSION ]="Y" && 'BC Gate Status'[GTSB DATE]="Y" && 'BC Gate Status'[eARB DATE]="Y" && 'BC Gate Status'[VP APPROVAL]="Y" && 'BC Gate Status'[EVP APPROVAL]="Y" &&'BC Gate Status'[SUBMITTED TO ITPMO]="Y" && 'BC Gate Status'[PD&S INTAKE REQUEST SUBMISSION DATE]="Y" && 'BC Gate Status'[ALLOCATIONS (ITS FINANCE)]="Y" && 'BC Gate Status'[EPMO FINANCE APPROVAL]="Y" && 'BC Gate Status'[BCDC APPROVAL]="Y" && 'BC Gate Status'[OP CREATED]="Y" && 'BC Gate Status'[PD&S RESOURCE ASSIGNED]="Y",2
)
Solved! Go to Solution.
The syntax for logical OR is "||" (2X Shift + forward slash)
The syntax for logical OR is "||" (2X Shift + forward slash)
Vote for your favorite vizzies from the Power BI World Championship submissions!
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 63 | |
| 51 | |
| 41 | |
| 23 | |
| 18 |
| User | Count |
|---|---|
| 130 | |
| 111 | |
| 48 | |
| 30 | |
| 28 |