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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
jcastr02
Post Prodigy
Post Prodigy

Employee ID relationship within 2 tables and Employee Name to display on visual

 

 

I Have two tables

1.  Employee Matrix - hold EVERYONES name and Employee ID

2. Project Table - holds projects with the employee ID only

 

I've created the relationship between the Employee ID already.  When I go to create a visual, I drag the employe name from the matrix and pull data from the project table, it displays ALL employees and not only team members that completed projects.

 

If I select employee ID, the ID will only display and I'm trying to have the Name dispaly on the visual.  How can I get this on visual?

10 REPLIES 10

If your tables are small, say less than 1m rows, just turn on cross filtering to both directions. Do this in the relationship view, double click on the relationship and change it there 

 



* Matt is an 8 times Microsoft MVP (Power BI) and author of the Power BI Book Supercharge Power BI.

I already have it in both directions 😞  @MattAllington 

Ashish_Mathur
Super User
Super User

Hi,

Write a measure such as =COUNTROWS(Project) and drag it to your visual.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

I have a measure, dragged into visual which is turn around time, but dragging to the axis either the employee ID or the employee name from both tables are not display  Only peole that are in the project.  @Ashish_Mathur

Hi,

There is some problem with the relationship.  Share the link from where i can download the PBI file.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

This link doesn't help.  You are having a data modelling issue.  To help you with the issue you need to share the datamodel, and this is only visible in the PBIX file.



* Matt is an 8 times Microsoft MVP (Power BI) and author of the Power BI Book Supercharge Power BI.

How can I attach a pbix file on here?

Disregard, I found a work around.  Thank you for your help.  

Icey
Community Support
Community Support

Hi @jcastr02 ,

 

Can you tell us your workaround? In case other people encounter the same problem.

 

Best Regards,

Icey

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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