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})}})Syndicate_Admin
3 years agoAdministrator
@CNENFRNL How can I use a list with the names of the columns where I want to make that replacement? That is, I want to perform this replacement in more than one column, and I have the data of the names of the columns in a list.
Grcs