Forum Discussion
Shelley
5 years agoPost Prodigy
How to Replace Negative Values in Power Query with 0
Hi All, This is probably easy, but I can't seem to figure it out. I have some columns in the query editor that I would like to replace all the negative values with 0. I tried this, and it looks like ...
CNENFRNL
5 years agoCommunity Champion
Shelley , if you're looking to replace negative numbers in some certain column, you might want to try
= Table.TransformColumns(#"Changed Type4", {{"Base List Price (ZP00)", each List.Max({_, 0})}})osama_ayoub
3 years agoHelper III
can I use this function but not only in one columns but in all my table columns in a dynamic way without mention all the column names of the table ?
thanks in advance