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
ecs70206
Regular Visitor

Identify duplicates between two tables

Good evening,

 

i've come across a problem im hoping someone can help with.

 

I have two excel spreadsheets loaded into pBI - one contains journey information (Pupils Current) and the other one finance information .

 

they share the route column which I have created a unique key for to link the tables 

 

my problem is that i have 1640 distinct entries  from 14000 on the journey table and only 944  distinct entries on the finance table, i need to identify the distinct entries on the journey sheet that are missing from the finance sheet. So i can see which journeys have been taken but not charged.  i know i should be easy but i just cant seem to think it out - any help would be greatly appreciated 

 

journey .jpgFinance.jpg

 

 

 

 

1 ACCEPTED SOLUTION
GilbertQ
Super User
Super User

Hi there

If you have created a relationship and you put in a table the values from your table where you have all the journey;s.

And then create a slicer from your second table that has the missing values, is that the slicer will have a BLANK option. So if you click on the BLANK it should then show you the values in your first table that do not have any matching rows.




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

View solution in original post

2 REPLIES 2
ThinkSmart
Regular Visitor

HI there! , 

i think what you need is to merge both datasets using an Anti join type, just duplicate the journeysheet table, click on merge queries, select the journey info as your left table and in the join type use anti left with the key field you have, that ll give you whatever is in the journey sheet thats missing or not matching in the finance table . 

let me know if thats what you needed ! 

 

antijoin.PNG

GilbertQ
Super User
Super User

Hi there

If you have created a relationship and you put in a table the values from your table where you have all the journey;s.

And then create a slicer from your second table that has the missing values, is that the slicer will have a BLANK option. So if you click on the BLANK it should then show you the values in your first table that do not have any matching rows.




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

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.