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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
SteelChampzz
Helper II
Helper II

Creating the right measure for Totals between TWO Tables

I have a "SOLD" table and a "Orders" table.

I've already create a column that creates a total amount for each product type. I want to take the Total amount from each table and create a measure "SOLD[Total Amount] + ORDERS[Total Amount].

And use this measure to show the Total amount (of both tables together) for each product type. I've tried to use SUMX but the measure aren't showing the correct numbers I need it to.

Can someone show me where I maybe going wrong? Do I need to use a CALCULATE?

Thanks for the help

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@SteelChampzz , If they are columns, You need to have measures like

 

Sum(SOLD[Total Amount]) + Sum(ORDERS[Total Amount])

 

You need to have common product type table, please refer to how to create

https://amitchandak.medium.com/power-bi-when-i-asked-you-to-create-common-tables-a-quick-dax-solutio...

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

1 REPLY 1
amitchandak
Super User
Super User

@SteelChampzz , If they are columns, You need to have measures like

 

Sum(SOLD[Total Amount]) + Sum(ORDERS[Total Amount])

 

You need to have common product type table, please refer to how to create

https://amitchandak.medium.com/power-bi-when-i-asked-you-to-create-common-tables-a-quick-dax-solutio...

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
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.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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