Aracılığıyla paylaş


Öteleme (DMX)

Geçerli durum tarihini ve son eğitim tarihi arasındaki saat dilimi döndürür küme.

Lag()

Dönüş Türü

skaler BIR değer türü tamsayının.

Remarks

If the Lag işlev is used on a model where the anahtar saat sütun is located within a nested tablo, the işlev must be located within the sub-select of the deyim.

Örnekler

Aşağıdaki örnek, model eğitmek için kullanılan veri son 12 ay içinde kalan servis taleplerini verir.

SELECT * FROM [Forecasting].CASES
WHERE Lag() < 12