Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredJoin 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.
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/
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.