【发布时间】:2021-11-17 21:28:39
【问题描述】:
我目前正在使用 Power BI Power Query 编辑器使用 Power Query M 公式语言编写查询。我目前有两个名为employee 和business 的表。 employee 表的每一行都有一个business_id 连接到business 表的一行。我想运行 Table.SelectRows 函数以仅包含 employee.business_id = business.id 所在的行。
这是我目前所拥有的:
let
Source = MySQL.Database(<DATABASE>, "business_database", [ReturnSingleDatabase=true, CreateNavigationProperties=false]),
business_database_employee_all = Source{[Schema="business_database",Item="employee"]}[Data],
employee_included = . . . Return all rows from employee where employee.business_id = business.id . . .
in
employee_included
我们将不胜感激任何形式的帮助!我很愿意使用Table.SelectRows,但如果推荐的话,我会使用更好的功能!
【问题讨论】:
标签: powerbi powerquery powerbi-desktop