Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
mjonesjr8
Frequent Visitor

Net amount based on 2 columns

I am pretty new to PBI,  This was in Excel, how can I get the samething in Power BI?

 

Thanks!

 

 

Over/ShortAmount
$5.00
S($5.00)
O$0.23
O$19.99
S($20.00)
S($0.21)
O$20.00
O$0.01
O$100
  
  
Net Amount$120.02
2 ACCEPTED SOLUTIONS

Thanks for the reply but i'm not sure that will work.  It needs to add up all the numbers and then subtract out the (S's short)amount to get the net total.  

View solution in original post

Hi @mjonesjr8 

As you already has negative values, sum  of amount will give 120. 

Thanks

Hari

View solution in original post

5 REPLIES 5
Hariharan_R
Solution Sage
Solution Sage

Hi @mjonesjr8 

Do you have any other columns in the table? Power BI by default aggregate the data and show you in the visual. You can create a measure like below. Even the default amount column will show you the expected result when you drag and drop. The below measure also will show you the expected result. 

 

=SUM('<Table Name>'[Amount])

 

Thanks

Hari

Did I answer your question? Then please mark my post as the solution.
If I helped you, click on the Thumbs Up to give Kudos.


My Blog :: YouTube Channel :: My Linkedin


Okay, I see, thank you very much!

Thanks for the reply but i'm not sure that will work.  It needs to add up all the numbers and then subtract out the (S's short)amount to get the net total.  

Hi @mjonesjr8 

As you already has negative values, sum  of amount will give 120. 

Thanks

Hari

Thank you very much!

 

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.

Top Solution Authors