Complete the code to reference a dataflow entity in Power BI.
let Source = PowerBI.Dataflows(null)[1]In Power BI dataflows, the correct way to access all entities is using ["Entities"].
Complete the code to select a specific entity named 'Sales' from a dataflow.
let SalesEntity = Source[1]To select an entity by name in Power Query, use square brackets with the entity name as a string, like ["Sales"].
Fix the error in the code to correctly load the 'Customers' entity from a dataflow.
let Customers = PowerBI.Dataflows(null)[Entities][1]The entity name must be in quotes and inside square brackets to access it correctly.
Fill both blanks to filter rows where 'Region' equals 'West' in the 'Sales' entity.
let Filtered = Source[Entities]["Sales"][1](each [2] = "West")
Use Table.SelectRows to filter rows and specify the column name 'Region' in the condition.
Fill both blanks to create a new column 'Total' as the sum of 'Quantity' and 'Price' in the 'Orders' entity.
let AddedColumn = Table.AddColumn(Source[Entities]["Orders"], "Total", each [1] + [2], type number)
Table.AddColumn.Use the column names 'Quantity' and 'Price' inside the function to add them. No additional function call is needed after Table.AddColumn.