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
sistancy
Frequent Visitor

N:1:N relation: multiply two columns with many to many relation

Hello everyone,
thank you for reading this and trying to help me.

I have 3 tables which are related like:

sistancy_1-1684758876922.png

Table "Mengen" shows articles with their quantity (quantity = "[Menge]") for building a product.

Table "Preise3" shows articles with different prices (prices = "[Preis]") at different months.

 

So now I want to calculate the costs of a product by multiplying the quantity for the necessary product with the price of the article for each month. Is this possible with a measure?

I have a temporary solution in which I merged every column of table "Mengen" and "Preise3" into one table. But the refresh time is a diseaster and takes very long, thats why I am looking for another solution.

I can give you an example database if you are willing to help me out. Thanks!

 

Best regards

Marius Douben

0 REPLIES 0

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.