Forum Discussion
Memory error: Memory Allocation failure . Try simplifying or reducing the number of queries.
- 5 years ago
Hi,
If I understand correctly you are currently creating the column that is causing the issue with dax. You could try and add this column in power query instead. Calculated (dax) columns are not compressed as well as computed (power query) columns. So this could potentially save you the needed resources. The duration.totext() function in power query can be used to calculate the time difference between two timestamps so this may be a good place to start.
Regards,
Tim
Hi ,
Some basic steps that usually work are:
- Increase available memory (if you are for example working from a VM)
- Remove all unnecessary columns in the power query editor
- Allocate more memory in the data load option in power bi (options > data load)
Perhaps those could already help you solve the issue. If not, it would be helpful if you could show us a sample of your queries. Perhaps we can give some more pointers based on what we see there.
Best regards,
Tim
Hi timg, thanks for your response. I believe I understand what the problem is, but I'm also not sure how on earth I could solve it.
Someone here provided me an amazing solution that provides a time difference between two time stamps on two rows, based on certain criteria. Now that I'm up to over ~24,000 rows it seems to have become too much to handle.
This is basically the solution that was provided:
- timg5 years agoSolution Sage
Hi,
If I understand correctly you are currently creating the column that is causing the issue with dax. You could try and add this column in power query instead. Calculated (dax) columns are not compressed as well as computed (power query) columns. So this could potentially save you the needed resources. The duration.totext() function in power query can be used to calculate the time difference between two timestamps so this may be a good place to start.
Regards,
Tim
- patri0t825 years agoPost Patron
Thanks for this suggestion, I will reach out to someone in the general forum with regards to this.