Lenovo interview question

explain difference between Sum vs Sumx function in DAX