Kaseya interview question

Sql, Power BI, window function