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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
camillebabz
Regular Visitor

Showing common values ?

Hello,

I've got 2 tables : T_society (with a unique number for each society) and T_Employees (with : name - and the n° of the society where the personn work).
Someone can work in mutiple societies so they appear multiple times in the table with, each time, the n° of the society.
I would like to have a matrix with all the names of the society on the left side and same on the top of the matrix.

When there is a similear worker between two societies, having a "yes" that show up in the matrix to show the "link" between two societies. Is it possible ?

Thank u !

2 REPLIES 2
camillebabz
Regular Visitor

Hi @v-yalanwu-msft ,

Here an example of my tables :
T_Society :

camillebabz_0-1662101526892.png

T_Employees :

camillebabz_2-1662101854182.png


The Result :

camillebabz_3-1662101885517.png

So, there is a common employee between A and D : so we can see that link between them two.
But I can't find how to made that automatically in PowerBi. The only result I have is if I have the details of my employees on the left. But my matrice is too big. I wan't a "resume" of that. If one ore more work in 2 societies : put a yes, but not the details of all the employees. I don't know if its very clear.

Here an example of my result on Power Bi :
On the top : the name of the societies
On the left : name of the employees

camillebabz_4-1662102313798.png

I juste want to have societies on the left of the matrix and "resume" the fact that : it's one or more employee work in society A and society B : but a "Yes" and not have de details like in me results

Thank u !

 

v-yalanwu-msft
Community Support
Community Support

Hi, @camillebabz ;

Can you share a simple example and hopefully output the results for easier purposes?

If the above one can't help you get the desired result, please provide some sample data in your tables (exclude sensitive data) with Text format and your expected result with backend logic and special examples. It is better if you can share a simplified pbix file. You can refer the following link to upload the file to the community. Thank you.

How to upload PBI in Community


Best Regards,
Community Support Team _ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

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.

Top Solution Authors
Top Kudoed Authors