Forum Discussion
gtamir
8 years agoPost Patron
if is null
I want to use the expresion "if is null" to replace the "mobile" column with null, with the value in the same row in column "phone".
- HiI test using a simple dataset as follows.In Query Editor->Advanced editoradd codemobile= Table.ReplaceValue(#"Changed Type",each [mobile], each if [mobile]=null then [phone] else [mobile] , Replacer.ReplaceValue,{"mobile"})#"Changed Type"->this tableyou will seeBest RegardsMaggie
1 Reply
- v-juanli-msftCommunity SupportHiI test using a simple dataset as follows.In Query Editor->Advanced editoradd codemobile= Table.ReplaceValue(#"Changed Type",each [mobile], each if [mobile]=null then [phone] else [mobile] , Replacer.ReplaceValue,{"mobile"})#"Changed Type"->this tableyou will seeBest RegardsMaggie