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!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Greetings,
I'm trying to write a statement for a column that shows 3 types of values: Complete, Not Complete, Not Assigned.
I need both "Complete" OR "Not Assigned" to return a "0", else "1".
I can write =if('Database'[Column]="Complete","0","1")) And that returns a 0 anytime it shows complete. What i can't get in one statement is for it to return a zero if it sees "Complete" or "Not Assigned" in the column.
Is that possible?
Solved! Go to Solution.
Hi,
Try this calculated column formula
=if(OR('Database'[Column]="Complete",'Database'[Column]="Not Assigned"),0,1)
Hope this helps.
Column = if('Database'[Column]="Complete" || 'Database'[Column]="Not Assigned","0","1"))
@Greg_Deckler This method also worked for me. all my visuals that hinged to that missing link then worked. thanks so much
Hi,
Try this calculated column formula
=if(OR('Database'[Column]="Complete",'Database'[Column]="Not Assigned"),0,1)
Hope this helps.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 40 | |
| 35 | |
| 34 | |
| 31 | |
| 28 |
| User | Count |
|---|---|
| 136 | |
| 102 | |
| 68 | |
| 66 | |
| 58 |