Veear Projects interview question

Advanced dax, cte, index, sql