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
Anonymous
Not applicable

Compare two table with million of rows - Power Query

Hello,

I want to compare two tables and find the rows which are not in the first table. I was already able to do this with smaller tables (hundreds of thousands)

 

The problem i have now is that i have to split columns into rows by delimiter " / " which leads to an exploding variance. The target table is often only a few thousand rows long but the actual tables most often explodes into millions of rows.

 

Example 1:

Unbenannt.PNG

Example 2:

example2.PNG

 

Is it possible to compare example 1 with example 2 without splitting the rows of example 1 inorder to keep the variance small?

 

2 REPLIES 2
TeigeGao
Solution Sage
Solution Sage

Hi @Anonymous ,

Could you please tell us why will you compare it in Power Query? Actually, it is not convenient to handle these data in PowerBI, for me, I will handle them in the database like SQL Server.

It will take much resource to handle it in PowerBI, besides, it costs less resource when splitting the rows of example 1

Best Regards,

Teige

Anonymous
Not applicable

Hi @TeigeGao ,

I get the data as excel files. I use power query in excel because i have not used any other program for such a problem and I'm stuck on what i have on the company laptop. 

 

But I'm open to try other solutions like SQL.

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.