Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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")
)
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
63 | |
62 | |
52 | |
39 | |
24 |
User | Count |
---|---|
85 | |
57 | |
45 | |
42 | |
38 |