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.

Helpful resources

Announcements
Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

May 23 2022 epsiode 5 without aka link.jpg

The Power BI Community Show

Welcome to the Power BI Community Show! Jeroen ter Heerdt talks about the importance of Data Modeling.

Power BI Dev Camp Session 22 with aka link 768x460.jpg

Check it out!

Mark your calendars and join us on Thursday, May 26 at 11a PDT for a great session with Ted Pattison!

charticulator_carousel_with_text (1).png

Charticulator Design Challenge

Put your data visualization and design skills to the test! This exciting challenge is happening now through May 31st!