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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.