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
YSU_IT_DEPT
New Member

Subtracting from different table with each have IDs

Good day, I would like to ask how to subtract two different tables each having IDs related to each other. 
the problem is table 1 and 2 has many to one relationship, I want to know how to get the total value of the specific id for table 1 and subtract it to the table 2 with same id 

example table below

table 1 has 3 row with the same document no
table 2 has 1 row only

what I want to know is to how to make a meassure that will add up all the value from table 1 then subtract it with the table 2 value then show it on a matrix table

YSU_IT_DEPT_0-1688009527959.png

 

1 REPLY 1
YSU_IT_DEPT
New Member

this is the matrix setup

YSU_IT_DEPT_0-1688010061830.png

if I will be able to subtract Table 2 to Table 1 the total will be complete

 

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.