Forum Discussion
Memory Allocation failure . Try simplifying or reducing the number of Queries
- 6 years agoHi there
I am certain that the above could be created in Power Query
I would suggest starting to learn Power Query, it will help solve a lot of data challenges you might face.
And there is a lot of free and paid resources on the web for Power Query training and learning.
Hi,
Hope these can help:
https://community.powerbi.com/t5/Service/Memory-error-Memory-Allocation-failure/td-p/229420
https://windowsreport.com/memory-error-allocation-failure/
Best Regards,
Giotto
My problem is with the Power BI service, not the desktop version, so I don't think the second one applies.
I've reviewed my queries, and I don't really have anything that complex. Not to mention they've been working for a while. The only new thing, is I do use summarizecolumns to create a inventory snapshot table.
I guess I could try removing that... But I kind of need it.
- GilbertQ6 years agoSuper UserHi there
It could well be that when you are creating this table (if the underlying data is large) it could cause it to consume a lot of memory.
This is because when you create a calculated table inside the Power BI dataset this is uncompressed and can consume a lot of memory.
The reason it could work on your desktop is because you are only limited by the amount of memory on your desktop which could be 8 or 16 or 32GB of RAM (Memory), whilst in the Power BI Service it is limited.
If you remove the table and it refreshes try and re-create the table in Power Query, this will allow the table to be compressed before it goes into the Power BI dataset.- Anonymous6 years agoNot applicable
Ok, I have confirmed that it is a new created table causing the problem. But I confess I'm not that good with Power Query. The DAX I am using to create the table is
Inv Summary Col = SUMMARIZECOLUMNS('Item Value New'[Item Ledger Entry Quantity], 'Item Value New'[Posting Date], "Bal Qty", CALCULATE(SUM('Item Value New'[Item Ledger Entry Quantity]), FILTER(ALL('Item Value New'[Posting Date]), 'Item Value New'[Posting Date]<=MAX('Item Value New'[Posting Date] ) ) ), "Bal Cost", CALCULATE(SUM('Item Value New'[Cost Amount (Actual)]) , FILTER(ALL('Item Value New'[Posting Date]) , 'Item Value New'[Posting Date] <= MAX('Item Value New'[Posting Date] ) ) ) )Can I do that in power query?
- GilbertQ6 years agoSuper UserHi there
I am certain that the above could be created in Power Query
I would suggest starting to learn Power Query, it will help solve a lot of data challenges you might face.
And there is a lot of free and paid resources on the web for Power Query training and learning.