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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
Sept PBI Carousel

Power BI Monthly Update - September 2024

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

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

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