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

The ultimate Microsoft Fabric, Power BI, Azure AI & SQL learning event! Join us in Las Vegas from March 26-28, 2024. Use code MSCUST for a $100 discount. Register Now

Reply
Qualube
Helper II
Helper II

Adding Values from Columns in different tables

Hi

 

I am very new to Power BI but I need to calculate the total value from columns on different tables which do have a relationship.

The first table shows the quantity and item code and the second table shows the weight.

However I need the totals for each type of material, I have ried SUMX to try and go through each row and arrive at the right total but can't seem to make it work.

Below is the table with the Quantity, Pack Size & Material the other table just holds the packs size & weight.

 

Many Thanks

 

QuantityPack SizeItem Group

Material

2202 Pack Paints (non isocyanate)Plastic
420-4482 Pack Paints (non isocyanate)Metal
2652 Pack Paints (non isocyanate)Plastic
25-2202 Pack Paints (non isocyanate)Metal
275-4212 Pack Paints (non isocyanate)Metal
7755-6082 Pack Paints (non isocyanate)Metal
121Agricultural FluidsPlastic
31-GP1Agricultural FluidsPlastic
1 ACCEPTED SOLUTION
Thejeswar
Resident Rockstar
Resident Rockstar

Hi @Qualube,

Merge the 2 tables by Pack Size. Now both the Quantity and Weight will be present in the same table.

 

Now you can multiple the columns Quantity and Weight just like a simple Multiplication

 

Hope this helps!!

 

Click here for the sample PBI

View solution in original post

2 REPLIES 2
Thejeswar
Resident Rockstar
Resident Rockstar

Hi @Qualube,

Merge the 2 tables by Pack Size. Now both the Quantity and Weight will be present in the same table.

 

Now you can multiple the columns Quantity and Weight just like a simple Multiplication

 

Hope this helps!!

 

Click here for the sample PBI

Hi Thejeswar

 

Worked a treat thanks appreciate the help.

 

Thanks

 

 

Helpful resources

Announcements
Fabric Community Conference

Microsoft Fabric Community Conference

Join us at our first-ever Microsoft Fabric Community Conference, March 26-28, 2024 in Las Vegas with 100+ sessions by community experts and Microsoft engineering.

February 2024 Update Carousel

Power BI Monthly Update - February 2024

Check out the February 2024 Power BI update to learn about new features.

Fabric Career Hub

Microsoft Fabric Career Hub

Explore career paths and learn resources in Fabric.

Fabric Partner Community

Microsoft Fabric Partner Community

Engage with the Fabric engineering team, hear of product updates, business opportunities, and resources in the Fabric Partner Community.