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! Request now
Hi All, I have a question:
I have 2 fields
Code - which contains - 6980
Cause - which contains - ABC
I'm looking to use Advanced Editor to populate the field Cause with value ZWR if Code = 6980
Thanks!
- Babinsky
Solved! Go to Solution.
There's probably some fancy M for that, but brute force, create a new conditional column,
= if [Code] = 6980 then "ZWR" else [Cause]
Remove your original Cause column and rename this column to Cause and done.
Hi Smoupre, for your suggestion below would this be a New Measure, New Column?
= if [Code] = 6980 then "ZWR" else [Cause]
Thanks!
- Babinsky
Thanks v-lvzhan-msft. That solution worked, sorry for the late reply as I was working on other assignments.
Have a great day everyone!
- Babinsky
Also, you can use the Add Conditional Column feature for that kind of calculations.
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.