Forum Discussion

agkolkata's avatar
agkolkata
Regular Visitor
3 years ago
Solved

Can I use  variable inside Table.ReplaceValue function ?

Can I use  a variable inside Table.ReplaceValue function ? /#"Replaced Value32" = Table.ReplaceValue(#"Changed Type2","noFullApplicationNameTag",Text.From([meterCategory]),Replacer.ReplaceValue,{"cu...
  • KT_Bsmart2gethe's avatar
    3 years ago

    Hi agkolkata ,

    Please see code below where I added "each" to 2nd and 3rd arguments: 

    Table.ReplaceValue(
       #"Changed Type2",
       each "noFullApplicationNameTag",
       each Text.From([meterCategory]),
       Replacer.ReplaceValue,
       {"custom_TagsFullApplicationName"}
    )

     

    Regards

    KT