Showing results for 
Search instead for 
Did you mean: 
Regular Visitor

Relationship not working



I have 4 payroll files that I want to combine. I uploaded each table separately, then in Power Query I referenced each table and removed other columns to only leave payroll number and name. I then appended these reference tables and removed all duplicates to get a single table with payroll number and name that dynamically updates as I add data to each of the 4 original tables.


However, when I then link this new table to the other 4 tables on the payroll number field the relationship seems fine - no error message, nor dotted lines. All seems fine up to this point.


When I then set up a pivot table (in Excel - power pivot) and use the new table's payroll number and name fields and try to drop in information from the other tables it tells me it cannot detect any relationships. I have done the process before of referencing other tables to create a single unique reference table and it all worked fine. But cannot find the issue in this instance. Appreciate the help!


Appreciate it is a power pivot question, but as that follows the same principles as power bi I am hoping you can help with guidance.




Regular Visitor



the following two visuals show how I imported my excel files and edited them to load into power pivot. The four tables with "Names" at the end is where I referenced only the payroll number and name to then append them in the Employee Details table and removed any duplicate entries - the Salary Report file comes from a payroll provider and the other three files with "Staff" at the end is our internal workings.







In Power Pivot I created the following relationships (red boxes were linked) and then the pivot visual is where you can see that the relationship does not seem to work and I cannot work out why.



Any help would be most appreciated!


Super User
Super User

I recommed you to give out some example or picture of how its set up and example of the table, also read the first post on the forum about getting quicker answer, we need a little more detail here to be able to pinpoint the solution

Did I answer your question? Mark my post as a solution! / Did it help? Give some Kudos!

Proud to be a Super User!

Helpful resources

Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

May 23 2022 epsiode 5 without aka link.jpg

The Power BI Community Show

Welcome to the Power BI Community Show! Jeroen ter Heerdt talks about the importance of Data Modeling.

Power BI Dev Camp Session 22 with aka link 768x460.jpg

Check it out!

Mark your calendars and join us on Thursday, May 26 at 11a PDT for a great session with Ted Pattison!

charticulator_carousel_with_text (1).png

Charticulator Design Challenge

Put your data visualization and design skills to the test! This exciting challenge is happening now through May 31st!