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



Learn Power BI - Full Course with Dec-2022, with new DAX functions like Window, Index, Offset !!
Did I answer your question? Mark my post as a solution! Appreciate your Kudos !! Proud to be a Super User! !!
Formatted Profit and Loss Statement with empty lines

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



Learn Power BI - Full Course with Dec-2022, with new DAX functions like Window, Index, Offset !!
Did I answer your question? Mark my post as a solution! Appreciate your Kudos !! Proud to be a Super User! !!
Formatted Profit and Loss Statement with empty lines
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!

Thank you 2022 Review

2022 Monthly Feature Releases

We had a great 2022 with a ton of feature releases to help you drive a data culture.