Forum Discussion
Optimize DAX memory
Im currenly having an issue with VAR data. When i try to run this with all that dax measurements i run out of memory. As you can see i only have 7 measurments in this because i couldnt figure out which measurement was causing me the issue. Unfortunately, its this one. Does anyone know of a diffrent way of attiving this? basically i want to subtract the previous dimension with the current dimension. these are based on time stamps. so in excell it would be =ABS ( A2-A3). Something like that but because power bi is not set up like this i had to make another equation basically to get the dates in order (which is the second picture). I cant imagine this is that big for power bi which leads me to believe that its how i wrote the DAX measurment.
Any help would be appreciated
5 Replies
- Greg_DecklerCommunity Champion
Sample data. Please see this post regarding How to Get Your Question Answered Quickly: https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490
- AnonymousNot applicable
Unfortunately, I cant post the actually data due to privacy issues nor can i give you the actual file that im working with. I undertand how that would make it eaiser to answer my question. Apologize for the little information to go off of.
- AnonymousNot applicableCould you clearly explain what you are trying to do in this measure? I'd like to know, for instance, why you are using ALLSELECTED and why there is no Date/Calendar table in your design.
Also, please go to www.daxformatter.com and format the measure properly so that people can read it.
Thanks.
Best
D