Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago
Solved

HELP: Matching a value in one column to a value from another column (but different row)

Hi,   I'm relatively new to using Power Query, and I just can't figure out how to do what I can do with DAX in Power Query. I'm trying to get a new column that returns True if the value in a row o...
  • v-juanli-msft's avatar
    6 years ago

    Hi Anonymous 

    Add custom columns

    List.Contains(#"Removed Columns"[Person_ID],[Other_PersonID1]) or List.Contains(#"Removed Columns"[Person_ID],[Other_PersonID2])

    Replace #"Removed Columns" with the previous step in your case.

     

    Best Regards
    Maggie
    Community Support Team _ Maggie Li
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.