Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more.
Get startedGrow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.
Hello.
I have a table with 3 columns. I would like the 3rd column to have all the values in KG (converted to KG). How do you query or create a column to accomodate all the if statements? Thanks.
Solved! Go to Solution.
@Oros , A new column like
Switch([Unit],
"KG", [Weight],
"gram", [Weight]/1000 ,
// add others
[weight] //default value
)
Switch-Case statement of #PowerBI: https://www.youtube.com/watch?v=gelJWktlR80&list=PLPaNVDMhUXGaaqV92SBD5X2hk3TMNlHhb&index=56
@Oros , A new column like
Switch([Unit],
"KG", [Weight],
"gram", [Weight]/1000 ,
// add others
[weight] //default value
)
Switch-Case statement of #PowerBI: https://www.youtube.com/watch?v=gelJWktlR80&list=PLPaNVDMhUXGaaqV92SBD5X2hk3TMNlHhb&index=56
User | Count |
---|---|
85 | |
74 | |
71 | |
68 | |
56 |
User | Count |
---|---|
96 | |
94 | |
92 | |
78 | |
71 |