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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
steambucky
Helper III
Helper III

comparing data between spreadsheets

Hello guys,

 

Please bare with my lame example I have 2 spreadsheets i am wanting to compare data between them on one feild.  Spreadsheet A should have all the data I need. I have found another spreadsheet (B), and I want to check to see that A actually has all the data from B or work our what the differences are.

 

Spreadsheet A      

Colum name: PersonName

Data      : Fred

Data       : Betty

Data       : Max

Data      : Chad

 

Spreadsheet B      

Colum name: PersonName

Data      : Max

Data      : Chad

 

What are the functions/features I need to learn to do this? (The less scripting the better)  I have created a realationship between the 2 spreadsheets on the same feild. Can you point me in a direction?

 

Thanks in advance

 

 

 

 

1 ACCEPTED SOLUTION
v-yulgu-msft
Microsoft Employee
Microsoft Employee

Hi @steambucky,

 

You could create a New Table using EXCEPT function which returns a table that contains the rows of table B which does not exist in Table A. If a row appears at all in both tables, it and its duplicates are not present in the result set. Thus if the table is null ,this is to say that Table A actually has all the data from Table B.

Table=EXCEPT (B, A)

 1.PNG

 

Best regards,
Yuliana Gu

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

View solution in original post

1 REPLY 1
v-yulgu-msft
Microsoft Employee
Microsoft Employee

Hi @steambucky,

 

You could create a New Table using EXCEPT function which returns a table that contains the rows of table B which does not exist in Table A. If a row appears at all in both tables, it and its duplicates are not present in the result set. Thus if the table is null ,this is to say that Table A actually has all the data from Table B.

Table=EXCEPT (B, A)

 1.PNG

 

Best regards,
Yuliana Gu

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

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.