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
Syndicate_Admin
Administrator
Administrator

Multiply two tables

Base.pngTabla_1.pngTabla_2.png

Dear your help, I have a table made and I need to generate the multiplication of 2 columns that come from different files. uni has the value and the other the quantities in units, both are related by the SKU of the product. Stay tuned

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@Syndicate_Admin , You can do that across common dimension

example 

sumx(Product, calculate(sum(Table1[Value]) * Sum(Table2[Price]) ) )

 

 

or bring in data from one table to another

refer 4 ways (related, relatedtable, lookupvalue, sumx/minx/maxx with filter) to copy data from one table to another
https://www.youtube.com/watch?v=Wu1mWxR23jU
https://www.youtube.com/watch?v=czNHt7UXIe8

 

View solution in original post

3 REPLIES 3
Syndicate_Admin
Administrator
Administrator

Thank you very much, I have solved according to the references of the Youtube videos, although it was not so accurate it helped me to solve

v-jingzhang
Community Support
Community Support

Hi @George_2023 

 

Can you share some sample data of two tables and the expected output in table format? This can help us understand the requirement better and try to provide a more detailed solution. 

 

Best Regards,
Community Support Team _ Jing

amitchandak
Super User
Super User

@Syndicate_Admin , You can do that across common dimension

example 

sumx(Product, calculate(sum(Table1[Value]) * Sum(Table2[Price]) ) )

 

 

or bring in data from one table to another

refer 4 ways (related, relatedtable, lookupvalue, sumx/minx/maxx with filter) to copy data from one table to another
https://www.youtube.com/watch?v=Wu1mWxR23jU
https://www.youtube.com/watch?v=czNHt7UXIe8

 

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.