Forum Discussion
GordyM1
4 years agoRegular Visitor
Negative Totals
I have a simple table imported from Excel which gives me a negative as a total. The sales come through as a negative number hence the negative total. What I want to end up with is the Totals as below...
- 4 years ago
Hello - if you are just trying to reverse the signs, you can multiply by -1. If you are wanting something different please provide an example of the expected result.
= Table.TransformColumns(#"Changed Type", {{"April", each _ * -1, type number},{"May", each _ * -1, type number} })
jennratten
4 years agoSuper User
Hello - if you are just trying to reverse the signs, you can multiply by -1. If you are wanting something different please provide an example of the expected result.
= Table.TransformColumns(#"Changed Type", {{"April", each _ * -1, type number},{"May", each _ * -1, type number} })GordyM1
4 years agoRegular Visitor
Hi, thanks works brillianty.