Forum Discussion
Data from Measure for Last Trading Day
When I try to pop in the ClosingPriceDayBeforeII (updated measure) my table visual just hangs and consumes all of my CPU. Is there a way to write the code so its a little more "efficient"?
Would you mind also explaining the DAX logic behind ClosingDayBeforeIII please. I'm not sure why we need to include the [CompanyName] filter. I've been reading Ferrari's definitive guide to dax so I'm trying to learn the inner workings.
HI ElliotP
We can definitely make this faster.
The reason I include the company name is that I assume there might be other companies and you want to track the closing price per company.
- ElliotP8 years agoPost Prodigy
Phil_SeamarkThere are. So the filter context wouldn't determine that naturally?
- Phil_Seamark8 years agoMicrosoft Employee
Not if we are clearing all the filters from the context using the ALL function
- ElliotP8 years agoPost Prodigy
hmmm