Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.
How to remove all romove all other rows exept specific in advance query editor
depending on the complexity, can you not just apply a filter or series of filters?
Hi @Delta5858 ,
You need to use Table.SelectRows and give it logic to identify the rows you want to keep.
It can be as simple as this:
Table.SelectRows(
previousStepName,
each [Region] = "North"
)
Or it can be a bit more complex, like this:
Table.SelectRows(
previousStepName,
each ([Region] = "North" and [City] = "Manchester" and [Location] = "Trafford")
or ([City] = "London" and [avgTemperature] <= 22.3)
or ([Location] = "Alton Towers" and [noofCustomers] > 3000)
)
Pete
Proud to be a Datanaut!