Forum Discussion
Babinsky
Helper I
9 years agoAdding a new value in an Existing field
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 =...
- 9 years ago
Greg_Deckler
Community Champion
9 years agoThere'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.
Babinsky
Helper I
9 years agoHi Smoupre, for your suggestion below would this be a New Measure, New Column?
= if [Code] = 6980 then "ZWR" else [Cause]
Thanks!
- Babinsky
- Eric_Zhang9 years ago
Microsoft Employee
- Babinsky9 years ago
Helper I
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