Forum Discussion

patrickoleary85's avatar
patrickoleary85
Frequent Visitor
2 years ago
Solved

Insert parameter from column A to column B

Hi there, I have 2 columns in PowerQuery, text and CurrentValue.  The value in 'text' contains {CurrentValue1}, which looks at the CurrentValue column.  For the highlighted example with '40' in Cu...
  • CatSchneider's avatar
    2 years ago

    Add in a 'Replace Values' step from the Transform Tab, then update the step in the formula bar to:

    = Table.ReplaceValue(
        #"Name of your last step",
        "{CurrentValue1}",
        each _[CurrentValue],
        Replacer.ReplaceText,
        {"text"}
    )


    And you end up with something like:

     

    Let me know if this helped!