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!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
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!