【问题标题】:Replace value in one column with another将一列中的值替换为另一列
【发布时间】:2020-11-05 03:10:34
【问题描述】:

我有一些疑问,我想将列中的值替换为另一个值,我有这样的查询 = Table.ReplaceValue(#"Renamed Columns1", each ["Alcance-Canal"], null , Replacer.ReplaceValue,{"CANAL/ES"})

但是还是不行,能帮帮我吗?

问候

【问题讨论】:

    标签: excel-formula powerquery powerpivot powerbi-desktop


    【解决方案1】:

    最简单的方法是添加一个带有公式的自定义列

    = if [columnname] = "something" then [columnname] else [othercolumnname]
    

    = if [columnname] = "something" then "anotherthing" else [othercolumnname]
    

    【讨论】:

      猜你喜欢
      • 2019-03-28
      • 2021-11-09
      • 2020-08-13
      • 1970-01-01
      • 2020-03-11
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多