PL-300 Model the data • Set 9
PL-300 Model the data Practice Test 9 — 15 questions with explanations. Free, no signup.
You have the Power Query M code shown. What is the result of this query?
Refer to the exhibit.
Power Query M code:
```
let
Source = Sql.Database("server", "database"),
Sales = Source{[Schema="dbo",Item="Sales"]}[Data],
#"Filtered Rows" = Table.SelectRows(Sales, each [Year] >= 2020),
#"Grouped Rows" = Table.Group(#"Filtered Rows", {"ProductID"}, {{"TotalSales", each List.Sum([Amount]), type number}})
in
#"Grouped Rows"
```