Forum Discussion

Analyst001's avatar
Analyst001
Frequent Visitor
5 years ago
Solved

removing items by adding a conditional line in the query

Hi There....I want to remove items from a column by adding a condition in the query....please help me how do I proceed
  • mahoneypat's avatar
    5 years ago

    You can add a filter steps using any of your current values and then modify using the pattern below.

     

    = Table.SelectRows(#"Previous Step", each List.Contains({"CurrentItem", "FutureItem"}, [ColumnToFilter]) = false)

     

    Pat