Hello everyone,
I do have to face a memory error in my DAX computations.
To by-pass it, I have in mind to apply some memoisation. Do you think memoisation is possible in Power BI?
Here is the context:
- I have to work on some data related to 1000 videos;
- measure A computes an average of the data per video;
- measure B computes the average of measure A results but excludes the current video related to context filter of measure A computation.
The issue is that:
- measure B re-runs for each video - in context filter - measure A computation for all other videos.
Then the time complexity becomes exponential, which finally raises space complexity issuing the memory error.
So is it possible to specify - in the measures formulae - to compute measure A for all videos just once, cache all the results to make measure B computation lighter?
Thanks in advance for your insights!
Pierre
I do have to face a memory error in my DAX computations.
To by-pass it, I have in mind to apply some memoisation. Do you think memoisation is possible in Power BI?
Here is the context:
- I have to work on some data related to 1000 videos;
- measure A computes an average of the data per video;
- measure B computes the average of measure A results but excludes the current video related to context filter of measure A computation.
The issue is that:
- measure B re-runs for each video - in context filter - measure A computation for all other videos.
Then the time complexity becomes exponential, which finally raises space complexity issuing the memory error.
So is it possible to specify - in the measures formulae - to compute measure A for all videos just once, cache all the results to make measure B computation lighter?
Thanks in advance for your insights!
Pierre