Forum Discussion
Mars3442
Helper I
2 years agoReplace only null value with 2 conditions
Hi everyone, I want to ask a help for solving my problem I have a table like this I need to replace the null value with these conditional : Purchase number= null, Purchase 2 number = null, ...
- 2 years ago
Have you replaced the name of the previous step between ""? And the column name is "Status"?
For me, it's working perfectly.
Check also that previous line ends with a ",":
#previousStep=.........(.....),
#replaceNull= Table.ReplaceValue...
Mars3442
Helper I
2 years agoIt returns
Expression.SyntaxError: Token Literal expected.
Table.ReplaceValue(#"PreviousStepName",
------> ^
null,each if [Purchase number]=null and [Purchase 2 number]=null then "No data" else null,Replacer.ReplaceValue,{"Status"})
what should I do?
mlsx4
Memorable Member
2 years agoHave you replaced the name of the previous step between ""? And the column name is "Status"?
For me, it's working perfectly.
Check also that previous line ends with a ",":
#previousStep=.........(.....),
#replaceNull= Table.ReplaceValue...