This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowThe Fabric community is now in read-only for platform upgrade. Learn more
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} })
Proud to be a Microsoft Data Platforms Super 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} })
Proud to be a Microsoft Data Platforms Super User
Hi, thanks works brillianty.
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
| User | Count |
|---|---|
| 3 | |
| 3 | |
| 3 | |
| 2 | |
| 2 |