Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
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 but not being a negative. I'm new to PowerBI so not sure how to do that?
Account Name | April | May |
Purhases | 343670 | 198604 |
Sales | -474912 | -273557 |
Total | -131242 | -74953 |
Solved! Go to Solution.
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} })
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} })
Hi, thanks works brillianty.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
102 | |
53 | |
21 | |
13 | |
11 |