如何从电源查询中的另一个表中查找值?
I want to transform the strategy code number in my Strategy Code
column (Data
table) into strategy name based on the dim_strategy
table. My Challenge is there can be more than 1 strategy code appear in each row and hence I want to use +
as the delimiter to combine different strategy name in Data
table.
This is the desired output in Data
table:
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
此查询将为您实现。您将需要更改表源的任何源,但是其余的步骤应该完全相同。
This query will achieve that for you. You will need to change the source for whatever your table source is but the rest of the steps should be exactly the same.
或者,您可以添加一个列
它将策略代码转换为列表,然后转换为数值列表,在DIM_STRATEGY策略码中找到该列表的位置,然后拉动相应的策略列并重新组合列表进入文本
列表。Bufferdim_strategy2 [策略代码]作为较早的步骤,如果数据集很大
Or you could add a column
It converts the Strategy Code to a list, then to numerical list, finds the position of that in the dim_strategy Strategy Code column, then pulls the corresponding Strategy column and recombines the list into text
List.Buffer dim_strategy2[Strategy Code] as an earlier step if dataset is large