Sql Server Windowing Function Finding Max Value From Lag Stack

Sql Server Windowing Function Finding Max Value From Lag Stack