Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
The report set I'm working with takes as its source a table in an Excel spreadsheet with a few thousand rows of fewer than ten fields. The spreadsheet itself is less than 400KB. The .pbix file is less than 800KB.
However when I build and run some queries, the activity meter at the bottom right hand corner of the window shows that it is reading / processing over 400MB of data and is very slow to run.
How could this be? Have I written some horribly inefficient queries that generate exponential amounts of temporary data?
Hi @TheBoojum ,
It seems that you have some steps in query editor makes the data become lager like unpivot columns. Would you please show us the pbix file or m query in advanced editor ? And you can also refer to https://www.linkedin.com/pulse/ten-techniques-optimising-memory-usage-microsoft-power-dejan-pajk to reduce memory usage in power bi .
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Best Regards,
Dedmon Dai
I've had a look at the diagnostics and found two things:
There were plenty of others either / both with the same operation or similar stats, so I'm none the wiser at this point.
What I think I'll do next is replace the spreadsheet with a .csv file to see if that makes any difference. And then maybe decompose some of the queries and look at them bit by bit.
if you can, prepare a PBIX file with dummy data without sensitive information and post it here for us to check on the queries itsel and see if we can help an further optmizing it (post also de data file).
Proud to be a Super User!
Hi @TheBoojum ,
You can use Query Diagnostics to monitor Power Query Memory Usage. For more details, please refer to https://blog.crossjoin.co.uk/2020/05/21/monitoring-power-query-memory-usage-with-query-diagnostics-i...
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Best Regards,
Dedmon Dai
Thanks Stefano.
I'll give that a go and report back.
if both files are as low as you telling tham yes, probably you have some queries problem, now you can use the diagnostic tool to better understand where , how, what step wicth query etc its making the mess of loading data and tranformation:
https://docs.microsoft.com/en-us/power-query/recordingquerydiagnostics
if this helped please give some kudos, and if solved your question mark as solution for others to find.
Proud to be a Super User!
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
58 | |
56 | |
56 | |
38 | |
29 |
User | Count |
---|---|
75 | |
62 | |
45 | |
40 | |
39 |