Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hello All,
I have table which has two columns(Column-1 and Cloumn-2): I want to have another cloumn(let's say Column-3) which should have:
Thanks for your support.
Solved! Go to Solution.
Hi @Anonymous
Create a new calculated column using this DAX
Column3 =
SWITCH(TRUE(),AND('Table'[cloumn-1]="No",'Table'[cloumn-2]="No"),"RED",OR(AND('Table'[cloumn-1]="No",'Table'[cloumn-2]="Yes"),AND('Table'[cloumn-1]="Yes",'Table'[cloumn-2]="No")),"AMBER","GREEN")
Did it work ? Mark it as a solution to help spreading knowledge.
A kudos would be appreciated
Hi @Anonymous
Create a new calculated column using this DAX
Column3 =
SWITCH(TRUE(),AND('Table'[cloumn-1]="No",'Table'[cloumn-2]="No"),"RED",OR(AND('Table'[cloumn-1]="No",'Table'[cloumn-2]="Yes"),AND('Table'[cloumn-1]="Yes",'Table'[cloumn-2]="No")),"AMBER","GREEN")
Did it work ? Mark it as a solution to help spreading knowledge.
A kudos would be appreciated
Thanks very much. It worked.:)
You are welcome 👍
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.