cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
kasiaw29
Resolver II
Resolver II

Create summary table from 2 other tables with measures

Hi community, 

 

I need help. I have 3 tables.

 

Table 1 Product table with ID and description

Table 2 Products with their cost from the latest revision 

Table 3 Products with their cost for revision prior to the latest. 

 

Table 2 and 3 are joined with a 1-1 relationship to table 1 on product id. 

What I'm trying to get to is to get a list of products with current cost and cost before revision was made to then calculate cost difference. Looking like this, dummy data sample: 

Product IDDescriptionLatest Revision Cost Prior to Revision Cost Cost Difference 
1Apple £10£5£5

Is this at all possible? 

 

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@kasiaw29 , You should join 1 with 2 and 3 .

I do think you should join 2, 3.

 

The using product details from 1 and min /max cost from 2 and 3, you can put things togther

View solution in original post

3 REPLIES 3
Icey
Community Support
Community Support

Hi @kasiaw29 ,

 

Any sample data for test?

 

Reference: How to provide sample data in the Power BI Forum - Microsoft Power BI Community

 

 

Best Regards,

Icey

amitchandak
Super User
Super User

@kasiaw29 , You should join 1 with 2 and 3 .

I do think you should join 2, 3.

 

The using product details from 1 and min /max cost from 2 and 3, you can put things togther

PaulDBrown
Super User
Super User

Can you please share some sample data from all 3 tables or a PBIX file? Thanks!





Did I answer your question? Mark my post as a solution!
In doing so, you are also helping me. Thank you!

Proud to be a Super User!
Paul on Linkedin.






Helpful resources

Announcements
Carousel_PBI_Wave1

2023 Release Wave 1 Plans

Power BI release plans for 2023 release wave 1 describes all new features releasing from April 2023 through September 2023.

Power BI Summit Carousel 2

Global Power BI Training

Make sure you register today for the Power BI Summit 2023. Don't miss all of the great sessions and speakers!

BizApps LATAM 2023

Business Application LATAM Summit 2023

Join the biggest FREE Business Applications Event in LATAM this February.

Power Platform Bootcamp

Global Power Platform Bootcamp

In this bootcamp we will deep-dive into Microsoft’s Power Platform stack with hands-on sessions and labs, delivered to you by experts and community leaders.