I have an issue where excel is taking a long time to refresh simple queries and often crashing.
Background
Issue
Attempted resolutions:
Is there any advice to improve performance (I'd expect the c. 20k rows to take <30-60 seconds, not >15mins & often crash).
With the calculate function operating quickly I can't see it's that causing the issue for the query to load to a table, but appreciate that may well be something to look at (although id only look to do this if all other options are exhausted).
Thanks in advance.
Background
- I have a number of files querying and transforming source data - all of these queries work fine and run in <10-20 seconds.
- Source data is all stored as CSVs with queries transforming and merging tables
- I have a separate file which then consolidates all of the query outputs (around 5-6 tables) using power query into a master file, with each query having no more than 1-2 simple steps (i.e. promote headers & change type)
- In the Master file I have a master table performing a number of volatile calculations, namely lookups (note that calculations are manual) against the data in the queries (which are all loaded as tables)
- All files stored on sharepoint
- Number of records in the queries range from small 100s to c. 20k.
- None of the queries are dependent on one another - only the source data.
Issue
- A number of queries take a long time to refresh and ultimately crash excel (even when fetching only c. 100-400 new records If I leave it running for c.10-15 mins it sometimes refreshes). Points to note:
- Query editor works fine and pulls in the new information in.
- Each query has almost no steps in it - outside of promote to headers and perhaps 1 change type.
- Issue only observed on the query refreshes - it simply doesn't load to the table
- If I re-build the query, all of the data is pulled in seconds
- Running the calculate now function doesn't take a great deal of time - again seconds.
Attempted resolutions:
- Between points 2 & 3 of background I've saved the new queries info as CSVs to remove any dependency on prior queries into the source
- Background refresh is turned off
- Cleared query cache
- Cleared excel cache
- Cleared privacy settings
Is there any advice to improve performance (I'd expect the c. 20k rows to take <30-60 seconds, not >15mins & often crash).
With the calculate function operating quickly I can't see it's that causing the issue for the query to load to a table, but appreciate that may well be something to look at (although id only look to do this if all other options are exhausted).
Thanks in advance.