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
Hi All,
I have existing calculalted column code as below:
Solved! Go to Solution.
Hi @sdhn
Try this:
Graphs =
SWITCH (
TRUE (),
[Vulnerable (Yes/No/Not Assessed)] = "NOT ASSESSED", "NOT ASSESSED",
[Vulnerable (Yes/No/Not Assessed)] = "YES"
|| [Vulnerable (Yes/No/Not Assessed)] = "NO", "ASSESSED"
)
or
Graphs =
IF (
[Vulnerable (Yes/No/Not Assessed)] = "NOT ASSESSED",
"NOT ASSESSED",
"ASSESSED"
)
If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
LinkedIn: www.linkedin.com/in/vahid-dm/
Thanks
Hi @sdhn
Try this:
Graphs =
SWITCH (
TRUE (),
[Vulnerable (Yes/No/Not Assessed)] = "NOT ASSESSED", "NOT ASSESSED",
[Vulnerable (Yes/No/Not Assessed)] = "YES"
|| [Vulnerable (Yes/No/Not Assessed)] = "NO", "ASSESSED"
)
or
Graphs =
IF (
[Vulnerable (Yes/No/Not Assessed)] = "NOT ASSESSED",
"NOT ASSESSED",
"ASSESSED"
)
If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
LinkedIn: www.linkedin.com/in/vahid-dm/
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 14 | |
| 5 | |
| 5 | |
| 3 | |
| 3 |
| User | Count |
|---|---|
| 24 | |
| 10 | |
| 10 | |
| 6 | |
| 6 |