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

Get certified in Microsoft Fabric—for free! For a limited time, the Microsoft Fabric Community team will be offering free DP-600 exam vouchers. Prepare 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
OCT PBI Update Carousel

Power BI Monthly Update - October 2024

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

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

October NL Carousel

Fabric Community Update - October 2024

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