Earlier use in different context


Hi Sam, one the DAX functions which I´ve found to be needed in different scenarios is “earlier”. It would be great to have a video showcasing its use. It´s hard to understand and place it the right way.



Yes I haven’t done one of these before. I’ll note it down.

One thing about this though, is through the use of Variables you really don’t actually need EARLIER. Variable sort this out in a much better way.

You know I’ve actually never used the EARLIER function in any development I’ve ever done. Mainly because variable always solve the issues for me.

I’ll certainly look into this more though


taking into account your commnets, I´d be very interesting to show how the use of variables can produce the same outcome than the earlier function with a comparison between both methods.



Sure I’ll have a think around this is look to produce something soon.