Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
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
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
112 | |
97 | |
85 | |
67 | |
59 |
User | Count |
---|---|
150 | |
120 | |
100 | |
87 | |
68 |