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! Learn more
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
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.
| User | Count |
|---|---|
| 82 | |
| 48 | |
| 36 | |
| 31 | |
| 29 |