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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Tito
Helper IV
Helper IV

data modelling and DAX

Hello everyone,


I have 3 tables: Table 1 (list of all names), Table 2 (Client table), Table 3 (Product table).
What is the best way to link the tables in the data model?

I want to create a matrix where I calculate the number of clients from table 2 (table client) and the number of products from table 3 (table product) each name?

In the matrix from which table I need to take the Name column?

I also want to build a slicer of names. 

 

List of all names:

List of all names.PNG

 

Table Client:

Table Client.PNG

 

Table Produkt:

table Product.PNG

Matrix Result: 

Matrix Result.PNG

Slicer Result:

Slicer.PNG

  

Best regards

Tito

1 ACCEPTED SOLUTION
PijushRoy
Super User
Super User

Hi @Tito 

Create a Many to One relationship between 1st Table and 2nd Table with Name column
Create a Many to One relationship between 1st Table and 3nd Table with Name column
Create 2 measure to calculate Client count & Product count

In Matrix visual, take name from 1st Table and use 2 created measure
In Slicer, use name from 1st table



If your requirement is solved, please make sure to MARK AS SOLUTION ✔️ and help other users find the solution quickly. Please hit the LIKE 👍 button if this comment helps you.

Thanks
Pijush
Lets Connect Linkedin




Did I answer your question? Mark my post as a solution!
Appreciate your Like/Kudos

Proud to be a Super User!





View solution in original post

2 REPLIES 2
Tito
Helper IV
Helper IV

Hi Pijush,

Thank you 

PijushRoy
Super User
Super User

Hi @Tito 

Create a Many to One relationship between 1st Table and 2nd Table with Name column
Create a Many to One relationship between 1st Table and 3nd Table with Name column
Create 2 measure to calculate Client count & Product count

In Matrix visual, take name from 1st Table and use 2 created measure
In Slicer, use name from 1st table



If your requirement is solved, please make sure to MARK AS SOLUTION ✔️ and help other users find the solution quickly. Please hit the LIKE 👍 button if this comment helps you.

Thanks
Pijush
Lets Connect Linkedin




Did I answer your question? Mark my post as a solution!
Appreciate your Like/Kudos

Proud to be a Super User!





Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.