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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
Anonymous
Not applicable

Related table and slicer

Hello,

 

I have in my model, 3 tables

Dim project which contains projectskey, other info and ProjectManagerSkey.

Dim Employee which contains, firstname, lastname, fullname, employeeskey, employeeid and so on.

and 

Dim Employee ProjMgr = RELATEDTABLE('Dim Employee')
 
In Dim Project, I have a Field named ProjectManagerSkey.
So it is possible to link Dim Employee ProjMgr as PM and Dim Project as P on(PM.employeskey=P.ProjectManagerSkey).
 
In that manner, it is possible to bring into a table or a matrix, the firstname, lastnme and fullname of the project manager.
 
But the difficulty arise, when we use the Project Manager Name from Dim Employee ProjMgr because it show the name of all the employees available in dim employee not only the managers name.
 
Is there a nice way to solve this problem.
Thanks in advance for your assistance.
 
1 ACCEPTED SOLUTION
RMB
Resolver II
Resolver II

Have you created the table relationship from the relationship tab within Power BI Desktop?

 

example.png

 

After you create the table relationship it should filter the matrix depending on what columns you select, if not you can always apply a visual filter to not display blank entries in ProjMgr.

View solution in original post

3 REPLIES 3
RMB
Resolver II
Resolver II

Have you created the table relationship from the relationship tab within Power BI Desktop?

 

example.png

 

After you create the table relationship it should filter the matrix depending on what columns you select, if not you can always apply a visual filter to not display blank entries in ProjMgr.

Anonymous
Not applicable

Hello, I don't have any issue with the matrix or the table.  I am able to obtain the Project Manager Name using the ProjectManagerSkey.

 

However, it is in the slicer.  Even if I use the field project Manager from the related table, it show all the name in Dim Employee.  The Slicer does not care about the link.

 

Maybe I doing something wrong.

Does someone could help me with that issue.

 

What direction is the relationship? The problem could be if the columns on your slicer are from the table that can't be filtered by the other. Images or a sample pbix of what you have would be helpful.

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors