PowerBI:将列拆分为单独的列
问题描述:
我有一个要导入的类别多选字段,它有多个用逗号分隔的值:
I have a category multiselect field which i'm importing, which has multiple values separated by a comma:
农业、小额信贷、和平建设
Agriculture, Microfinance, Peace Building
我的主要直觉是使用文本函数将每个值拆分为单独的列,但我想知道是否有更好、更简单的方法来做到这一点?
My primary instinct is to split each value in to a separate column using text functions, but i'm wondering if there's a better, easier way of doing this?
答
好的,找到了!在数据视图中打开编辑查询,右键单击列,拆分列>按分隔符
Ok, found it! Opened Edit queries in the data view, right click the column, Split Column > By delimiter