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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

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
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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