Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreThe FabCon + SQLCon recap series starts April 14th at 8am Pacific. If you’re tracking where AI is going inside Fabric, this first session is a can't miss. Register now
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.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 5 | |
| 4 | |
| 3 | |
| 2 | |
| 2 |
| User | Count |
|---|---|
| 8 | |
| 6 | |
| 6 | |
| 6 | |
| 5 |