Forum Discussion

Gem42's avatar
Gem42
New Member
2 years ago
Solved

Power Query Editor - Filter

Hi,   I needed to make a change to some of my data in a query.  So I applied a filter to the data and used the Replace function to change the fields I needed changed (I had to apply a filter as I h...
  • ronrsnfld's avatar
    2 years ago

    In M-Code (Power Query), once you apply the filter, that data filtered out is gone. To do what you describe, you need a different method.

     

    If you want to change certain sub-sets of your data, one method is to use Table.Group to create the subsets; then edit each subset. Usually this will need to be done using the Advanced Editor.

     

    You might be able to do some kind of Table.Join with the step prior to your filter, but how to do that, and whether it is better than Grouping, depends on specifics.