Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

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.

Reply
DanielCarvalho
Helper III
Helper III

Filter data from ODATA source prior to loading it in Power BI

Hello community,

 

I am having an issue where I have data with millions of lines and sometimes I want to create a Power BI report based on, for example, a specific country (basically it should only load the data relative to that country) and if I use power query to do this he will have to load the data and then filter to that country, but I dont want to every time load mbs of data and have it look through millions of rows.

 

Is there a way to this? From my research I saw there is a paid odata connector but that is third party and as I have sensity information I required a way of doing this without passing data through a different source.

1 ACCEPTED SOLUTION
rohit_singh
Solution Sage
Solution Sage

Hi @DanielCarvalho ,

You can filter Odata connections at source by using a $filter condition in the query string. Please refer the documentation below:
https://learn.microsoft.com/en-us/odata/concepts/queryoptions-overview

 

Kind regards,

Rohit


Please mark this answer as the solution if it resolves your issue.
Appreciate your kudos! 🙂

 

View solution in original post

3 REPLIES 3
rohit_singh
Solution Sage
Solution Sage

Hi @DanielCarvalho ,

You can filter Odata connections at source by using a $filter condition in the query string. Please refer the documentation below:
https://learn.microsoft.com/en-us/odata/concepts/queryoptions-overview

 

Kind regards,

Rohit


Please mark this answer as the solution if it resolves your issue.
Appreciate your kudos! 🙂

 

I'm both a Power BI and software developer. I added the $filter as described in the link, but when I monitor the API the $filter seems to be removed from the query.

Did anyone find a solution, that works?

Thanks for the quick reply, going to try this and see if it solves my issues, going to accept it as a solution meanwhile !! 

 

Kind regards,

Daniel

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Kudoed Authors