Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!
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
| Quantity | Pack Size | Item Group | Material |
| 2 | 20 | 2 Pack Paints (non isocyanate) | Plastic |
| 4 | 20-448 | 2 Pack Paints (non isocyanate) | Metal |
| 26 | 5 | 2 Pack Paints (non isocyanate) | Plastic |
| 2 | 5-220 | 2 Pack Paints (non isocyanate) | Metal |
| 27 | 5-421 | 2 Pack Paints (non isocyanate) | Metal |
| 775 | 5-608 | 2 Pack Paints (non isocyanate) | Metal |
| 12 | 1 | Agricultural Fluids | Plastic |
| 3 | 1-GP1 | Agricultural Fluids | Plastic |
Solved! Go to Solution.
Hi Thejeswar
Worked a treat thanks appreciate the help.
Thanks
Vote for your favorite vizzies from the Power BI World Championship submissions!
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 64 | |
| 51 | |
| 46 | |
| 23 | |
| 19 |
| User | Count |
|---|---|
| 136 | |
| 110 | |
| 50 | |
| 32 | |
| 29 |