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.
Hello,
I am new in Powerbi and I would like to create the following Tableau function in Powerbi.
If [account]="A"
or [account]="B"
or [account]="C"
then [A/B/C Goal/Event Ratio]
ELSEIF [account]="D"
then[D Goal/Event Ratio]
ELSEIF [account]= "E"
Then [E Goal/Event Ratio ]
END
I know that there is an option for conditional column. However, in my case I am using a table created inside Powerbi by unioning different queries.
Please someone can help me with this?
Thank you
Solved! Go to Solution.
@Anonymous , Try like
Switch( True() ,
[account] in {"A","B","C"} , [A/B/C Goal/Event Ratio],
[account]="D",[D Goal/Event Ratio],
[account]= "E", [E Goal/Event Ratio ]
)
@Anonymous , Try like
Switch( True() ,
[account] in {"A","B","C"} , [A/B/C Goal/Event Ratio],
[account]="D",[D Goal/Event Ratio],
[account]= "E", [E Goal/Event Ratio ]
)
Thank you