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.
I have a flag column in a fact table sales which is :
I want to have another column based on the previous one where I will change the data mapping like below :
0 : becomes "disabled"
1 : becomes "enabled"
Solved! Go to Solution.
You can create a calculated column like below :
Flag_Column_Transformed =
SWITCH (
SELECTEDVAUE (yourTable[Flag_Column]),
0, "Disabled",
1, "Enabled")
)
You can create a calculated column like below :
Flag_Column_Transformed =
SWITCH (
SELECTEDVAUE (yourTable[Flag_Column]),
0, "Disabled",
1, "Enabled")
)
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 | |
100 | |
80 | |
64 | |
57 |
User | Count |
---|---|
146 | |
110 | |
93 | |
84 | |
67 |