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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
MasterSonic
Helper IV
Helper IV

Computation time to compare 2 tables _ 100k rows each _ 150 columns each _ 6.5 mln rows as a result

Hi Guys,

I found solution for my problem on this forum before.

Having 2 tables to compare ( 2 tables _ 100k rows each _ 150 columns each )
- I just unpivoted them on key column, inner joined on key and columns name  + added  cond. column to compare columns.

KeyColumn namesValue table 1 Value table 2value table1= value table2 yes/no

 

Problem is 6.5 mln of rows, and merge query loading 2hrs on deskopt ( sharpoint will be worse ?!!!)

 

Is there any other way to compare them ? Any idea

 

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

HI @MasterSonic,

I'd like to suggest you only do unpivot columns on the table value fields and return to the data view side.
Then you can create a calculated table to extract the unique id and attribute fields value as relationship keys to link two tables.

Relationship in Power BI with Multiple Columns - RADACAD

BTW, does any advanced operation apply to these tables? (merge, combine, invoke custom function, recursion calculations) They will spend memory resources looping calculate through each row and cause the performance issue. You can try to add buffer functions to reduce the spending.

Chris Webb's BI Blog: New Options For The Table.Buffer Function In Power Query Chris Webb's BI Blog ...

Regards.

Xiaoxin Sheng

View solution in original post

1 REPLY 1
Anonymous
Not applicable

HI @MasterSonic,

I'd like to suggest you only do unpivot columns on the table value fields and return to the data view side.
Then you can create a calculated table to extract the unique id and attribute fields value as relationship keys to link two tables.

Relationship in Power BI with Multiple Columns - RADACAD

BTW, does any advanced operation apply to these tables? (merge, combine, invoke custom function, recursion calculations) They will spend memory resources looping calculate through each row and cause the performance issue. You can try to add buffer functions to reduce the spending.

Chris Webb's BI Blog: New Options For The Table.Buffer Function In Power Query Chris Webb's BI Blog ...

Regards.

Xiaoxin Sheng

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.