Forum Discussion
Optimize Service memory usage
That sounds worrying. So if I have the statement:
calculate ( countrows( selectcolumns ( A , "test" , A.A ) ) , userelationship ( A.B , B.A ) )
You're suggesting the whole table created after an inner join of A and B is stored in RAM during the time the user is accessing the dashboard?
DouweMeer Exactly. And btw. the book "The definitive guide to DAX" explains the engine behind Power BI really well.
- DouweMeer6 years ago
Impactful Individual
I thought the process would be that A and B are pulled into memory to generate the selectcolumns statement. After this is done, the selectcolumns would be stored in cache for further calculation instead of whole of A and B.
What I noticed in the past is when you do not use selectcolumns as an intermediair, the calculation would take enourmous amount of times if the table you're calculating on has a relationship with another large table. But maybe that's because I didn't used calculate around selectedcolumns...
Sounds like I have to dive deep in the VertiPaq storage engine :).