cancel
Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

Reply
Fcoatis
Post Patron
Post Patron

PowerQuery Filter by List

Hello,

 

I need, in PowerQuery, create a step to filter a by field ( JOB) Table (CGJOBS (2) using a list already created (realocList). 

 

Fig1.PNGFig2.PNG

 

Thanks

1 ACCEPTED SOLUTION
Anonymous
Not applicable

@Fcoatis,

You first need to convert your list to table, then use Merge Queries transformation, and select Inner Join as the join type on the two columns

View solution in original post

4 REPLIES 4
Anonymous
Not applicable

@Fcoatis,

You first need to convert your list to table, then use Merge Queries transformation, and select Inner Join as the join type on the two columns

yes and no... that's not a filter by at query time but a merge. If we want to only keep 10 items out of millions of rows this method would require to first download the 10M rows to then only merge 10.

Filter by list would imply using Table.SelectRows and be able to refer a list of values.

Why didn´t I think that? Sometimes we are so determined to a specific type of solution we became blind.

 

Thanks

Anonymous
Not applicable

@Fcoatis,

Sometimes simple solution is efffective 😉

Helpful resources

Announcements
PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

Check out the November 2023 Power BI update to learn about new features.

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors