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! It's time to submit your entry. Live now!
I'm tyring to create a calculated column that will generate a yes / no.
(Not actual data or names used)
The column "Permission Issued (code)" has options A, B, C, No, n/a. I want the new column (Permissed Issued (Y/N) to say "Yes" for A B, C, "No" for no, and not count or just carry over n/a for rows that have n/a.
I've already created a measure Permits Required = CALCULATE(COUNTROWS(Table1),Table1[Permit required (yes/no)]="Yes")
Happy to provide more details!
Solved! Go to Solution.
A switch statement might also be worth considering:
= SWITCH( [Permission Issued (code)], "No","No", "n/a","n/a", "Yes" )
Thanks every one! I guess I was just overthinking it!
create a calcualted column with an IF statement
=IF([Permission Issued (code)]="No","No", IF([Permission Issued (code)]="n/a","n/a","Yes")
A switch statement might also be worth considering:
= SWITCH( [Permission Issued (code)], "No","No", "n/a","n/a", "Yes" )
Switch is probably easier than the IF statement
The Power BI Data Visualization World Championships is back! It's time to submit your entry.
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 61 | |
| 49 | |
| 30 | |
| 25 | |
| 23 |
| User | Count |
|---|---|
| 129 | |
| 104 | |
| 56 | |
| 39 | |
| 31 |