Forum Discussion

milkywaypowerbi's avatar
5 years ago
Solved

Connecting Two Tables to form one matrix table

I have two tables.   One showing the family -> product ->colour level with revenue and cost details     The other table is the investment cost with details at family level.   I tri...
  • PaulDBrown's avatar
    PaulDBrown
    5 years ago

    Following modeling best practices, you need to change the structure of the model to include Dimension tables for fields common to both tables as follows:

    You then use the fields from the Dimension Tables in the visuals, measures, slicers, filters... These dimension tables filter the equivalent rows in both tables.

     

    The slicer is from the Dim Family table; the year field is from the Dim Year table. You will get:

     

     

    I've attached the sample PBIX file with the changes