Power Query : link 2 个表有 1 个 ID 并添加一个值

Power Query : link 2 tables with 1 id and add one value

我在 Excel

的 Power Query 中有两个 table

加入者:Tickets.entities_id == Entities.id

我想在 table 工单中添加一个新列。我想根据 entity_id.

中的值从 Entities table 添加值“level”

你能帮帮我吗? 我添加了一个自定义列,但我不知道如何输入公式。谢谢你 (对不起我的英语)

在工单查询中,单击主页 -> 合并查询 -> 然后,如下图所示,select 实体作为第二个 table 合并到 select Tickets[entities_id] 列和 Entities[id] 列进行匹配,然后单击 OK

然后,在出现的新实体列的顶部,单击 按钮展开该列的嵌入 table。取消选中 iddescriptionUse original column name as prefix,如下所示;然后单击“确定”。

你应该看到这样的东西: