Forum Discussion
Not Enough memory Error
Hi All,
Need a help. I am try to test a large data(more than 2 million records) set with my power bi desktop. The destop after sometime gives the below Not Enough memory Error. The error mentiones the issue with Memory but is there a way to solve this issue . please help
The data load from source to bi is faster. The time is consumed during summarize execution.i am using the below SUMMARIZECOLUMNS logic to display table in the format i need. is this causing the issue? most of the colums are measures in SUMMARIZECOLUMNS
Can there be a better way to use this SUMMARIZECOLUMNS. Please help
10 Replies
- ak77Post Patron
parry2k , these are time series measures (QTD,YTD ,rolling returns etc). I am doing this as i need a report view and was achieved using summarize columns.
Will this work in power bi service if i publish and do a incremental refresh? basically i am trying to pull 10 years of data( 2+ million records) in desktop plus the summarize columns and this is creating memory issue. The summarize columns works fine for small data sets( 2years data).
please let me know
- ak77Post Patron
parry2k , Thanks for reply.. The purpose of summarize columns was to achieve a requirement of calculating the rowwise difference of previous 2 rows and display them in the 3rd row in the power bi layer using matrix viz.
we tried lot of other options and lastly settled for using summarize columns. sample is below . please help if u have any other options to resolve this requirement or optimize summarize columns logic
- IdrissshatilaSuper User
Hello ak77 ,
if you want check the concept of incremental refresh https://youtu.be/Kui_1G6kQIQ?si=QIgn-PjWAJm37_rW
If I answered your question, please mark my post as solution, Appreciate your Kudos 👍
- sergej_ogSuper User
Hey ak77 ,
you may be right with your assumption. It looks your SUMMARIZECOLUMNS has to do a lot of work.
But you can best answer the question yourself.
Comment out your SUMMARIZECOLUMNS and let say replace just with 1. Just to avoid a break in your calculations.
Do you still get memory error message?
Regards - AnonymousNot applicable
Hi,
Instead of using the Summarized column try to use add column it is more efficient than the Summarized column.
The other thing you can try if you are publishing from one environment to another environment like
Dev--->> UAT---> Prod.
then just publish the lower environment dataset in the upper environment as it is. and change the parameter and refresh from the service.
It will work.
Make sure your data should be in sync - ak77Post Patron
The difference logic didnt work when tried. so had to go for summarize route
- parry2kSuper User
ak77 I think the main issue is your DAX measures, I don't see any need to create an extra table for difference logic. Also what you are referring to as a different logic? I would recommend rather than sharing your DAX issue, share sample data with what you want to achieve, and you will get a more precise solution.