【发布时间】:2020-12-04 11:13:04
【问题描述】:
我有一列具有唯一的国家值,我只需要创建一个索引列。
问题是在这个栏目中我有一个“国家”是“其他”,我需要这个国家出现在最后。
let
Source = Table.SelectColumns(Orders,"Country"),
#"Removed Duplicates" = Table.Distinct(Source),
#"Add Index" = Table.AddIndexColumn(#"Removed Duplicates", "CountryId", 1, 1, Int64.Type)
in
#"Add Index"
“添加索引但是当/with Country="Other" 放在最后。
谢谢你
【问题讨论】:
标签: powerbi powerquery m