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

Performance of Excel vs Database Data Source

I'm currently having issues with my PBIX performance (It always crashes). In my current setup, I'm using 4 Excel files with multiple sheets as data sources. But I didn't experience these crashes before when I'm connecting to around 3 tables from a Database (SQL). And the number of rows is much larger in the database compared to what I have in Excel. 

 

 

Is there a whitepaper or reference relating to Power BI performance when considering what data source to use (particularly Excel and database)? Or do you have any idea if a type of data source can be a factor to performance?

 

FYR, here's my system setup:

16GB Ram

64 bit 

 

 

1 ACCEPTED SOLUTION
v-shex-msft
Community Support
Community Support

HI @Anonymous,


AFAIK, If you only get data from excel and merge them, it should works well without any performance issues.

 

Have you do any advanced operation on these query?(e.g. invoke custom function, refer any query table in calculate, refer previous query steps)

 

These operations may cause the memory issue.(power query will spend memory resource multiple times to handle each row calculation)

 

If that is a case you can consider to use list.buffer or table.buffer to cache reference source to memory to reduce cost of resource.

How and When to use List & Table Buffer?

 

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

View solution in original post

2 REPLIES 2
v-shex-msft
Community Support
Community Support

HI @Anonymous,


AFAIK, If you only get data from excel and merge them, it should works well without any performance issues.

 

Have you do any advanced operation on these query?(e.g. invoke custom function, refer any query table in calculate, refer previous query steps)

 

These operations may cause the memory issue.(power query will spend memory resource multiple times to handle each row calculation)

 

If that is a case you can consider to use list.buffer or table.buffer to cache reference source to memory to reduce cost of resource.

How and When to use List & Table Buffer?

 

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.
Anonymous
Not applicable

Right, I have operations which refers to previous query steps. 

 

Thanks @v-shex-msft! I'll check out table.buffer.

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.