Perform a lag and lead operation in DAX with OFFSET window function

preview_player
Показать описание
In this video Mitchell walks through and discusses the OFFSET function in DAX. This single function provides the capability of LAG and LEAD from T-SQL Window functions. This is an in-depth review of the various parameters and how to perform a lag and lead operation in DAX!

Blog mentioned in video:

-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -- - - - - - - - - - - - - - - - - - - - - - - -
Next step on your journey:

Let's connect:


Pragmatic Works
7175 Hwy 17, Suite 2 Fleming Island, FL 32003
Phone: (904) 638-5743
#PragmaticWorks
Рекомендации по теме
Комментарии
Автор

Thanks a lot! Your explanation is the best! Spend several hours trying to find sql window functions alternative in dax, until found this video. It hits perfectly

randomname
Автор

Exactly what I needed right now. Thank you very much!
My use case is a little bit more complicated, but this window function should do the trick, I hope...

VisioNOIR.
Автор

Thank you! Really appriciate good explanation

KiFiPL
Автор

Thank you!! It really the found of the day

etfcvjf
Автор

really thank you, as you said there is not much helpful information outside

VictorFloresChovis
Автор

This is super helpful, much appreciated. How do you make this dynamic such that you can choose the lead/lag value with a slicer and have the lag applied? I tried creating a Measure but I couldn't get the correct values for the life of me

vblaster