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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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

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

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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