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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
MansAxelsson
New Member

Calculating values in a Bar Chart / Net-values and subtraction between filters

Hi team.

I hope I can explain this easily.

I have values like this table and graph: (Example numbers, mine is much more complex)

 

PBI.PNG

How can i add a "Net" column that subtracts the outflows from the inflows? I usually work in excel so is not very advanced in the Power BI calculus/measure/DAX.

I tried adding a new column but cant really work around it. I also want to be able to filter and stuff. (Say only get the same graph with Inflow/Outflow for Store 1) I also work with dates and years in my file.

Thanks!

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @MansAxelsson ,

 

According to your description, here are my steps you can follow as a solution.

(1) My test data is the same as yours.

(2) We can create a measure. 

vtangjiemsft_0-1710899084231.png

Measure = SUM('Table'[Amount])

(3) Then the result is as follows.

vtangjiemsft_2-1710899131094.pngvtangjiemsft_3-1710899144017.png

Best Regards,

Neeko Tang

If this post  helps, then please consider Accept it as the solution  to help the other members find it more quickly. 

View solution in original post

1 REPLY 1
Anonymous
Not applicable

Hi @MansAxelsson ,

 

According to your description, here are my steps you can follow as a solution.

(1) My test data is the same as yours.

(2) We can create a measure. 

vtangjiemsft_0-1710899084231.png

Measure = SUM('Table'[Amount])

(3) Then the result is as follows.

vtangjiemsft_2-1710899131094.pngvtangjiemsft_3-1710899144017.png

Best Regards,

Neeko Tang

If this post  helps, then please consider Accept it as the solution  to help the other members find it more quickly. 

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.

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

Top Kudoed Authors