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
Nardjes
Frequent Visitor

Join multiple table take too long to excute

Hello I am a beginner in power Bi


I have a sql query that allows me to make the join between 4 tables (with inner and left join)

 

In Power Query I select the first table and i make the merge with the 2nd table but this action takes a lot of time and never excutes knowing that the result of the merge is 3 million records and each time I make merge it decreases, the final result is 51 records.

 

My problem is that the merge takes a long time and never runs! 

- I kept only the necessary columns

- I applied the filter to minimize the rows 

- I unchecked "Allow background data previews to be downloaded".

 

My RAM is 16GB.

Any help would be appreciated.

1 ACCEPTED SOLUTION
v-jingzhang
Community Support
Community Support

Hi @Nardjes 

 

If you only need the final 51 records in the report, I recommend that you use the SQL statement to query the data directly. Use SQL query to make the join. This will send the SQL query to the database and perform the join process there. The performance of the database server may be better than your local computer. This can also avoid bringing too much data to your computer. 

Import data from a database using native database query - Power Query | Microsoft Learn

vjingzhang_0-1663658307653.png

 

Best Regards,
Community Support Team _ Jing
If this post helps, please Accept it as Solution to help other members find it.

View solution in original post

2 REPLIES 2
v-jingzhang
Community Support
Community Support

Hi @Nardjes 

 

If you only need the final 51 records in the report, I recommend that you use the SQL statement to query the data directly. Use SQL query to make the join. This will send the SQL query to the database and perform the join process there. The performance of the database server may be better than your local computer. This can also avoid bringing too much data to your computer. 

Import data from a database using native database query - Power Query | Microsoft Learn

vjingzhang_0-1663658307653.png

 

Best Regards,
Community Support Team _ Jing
If this post helps, please Accept it as Solution to help other members find it.

it's work Thank you 🙂 

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.

Top Solution Authors