cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
DinaRamalho
New Member

Filter a Query

Hi,

 

How can I filter my query from a particular field of another query, Power BI Designer?

 

In excel i use:

 

let

    Source = Excel.CurrentWorkbook(){[ Name =" Sales"]}[ Content], FilteredRows = Table.SelectRows( Source, each ([     Product] = ProductQuery[ Product]{ 0}))

in

  FilteredRows

 

Thanks

.

1 ACCEPTED SOLUTION
Anonymous
Not applicable

You should be able to do exactly the same in Power BI Designer.
Just from Get Data select "Blank Query", then copy and paste the code above and should be good to go.

View solution in original post

1 REPLY 1
Anonymous
Not applicable

You should be able to do exactly the same in Power BI Designer.
Just from Get Data select "Blank Query", then copy and paste the code above and should be good to go.

View solution in original post

Helpful resources

Announcements
PBI User Groups

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

April Update

Check it Out!

Click here to read more about the April 2021 Updates!

secondImage

The largest Power BI virtual conference

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

secondImage

Experience what’s next for Power BI

See the latest Power BI innovations, updates, and demos from the Microsoft Business Applications Launch Event.