Forum Discussion
Getting Data From OData feed
- 1 year ago
I apologize — I misunderstood that you're experiencing this issue in Power BI Desktop, since you posted it on the Desktop side.
That said, the filtering should work in a Dataflow within the Power BI Service / fabric as well I feel — give it a try! 🙂
Unfortunately, since I'm using a Power BI Free license, I'm unable to test this myself.
One method you can use is applying filters ($filter) in your OData link. This helps reduce the amount of data being pulled into Power BI.
Another approach is to test whether you can pull all 5 million rows directly into the Power BI Service instead of using Power BI Desktop. You can first create a sample report with a smaller dataset, and after publishing it, configure it to extract all 5 million rows.
To do this, you can use parameters. Create a parameter and use it in your OData link to control the number of rows pulled. For example:
= OData.Feed("https://services.odata.org/V3/Northwind/Northwind.svc/Products?$top="&Parameter1&"", null, [Implementation="2.0"])After publishing the report to the Power BI Service, go to the dataset settings and change the parameter value to 5 million.
check link:
https://learn.microsoft.com/en-us/power-bi/connect-data/service-parameters
But at the same time, I’ve seen in a few forums here and there that there might be a 1 million row limit for DirectQuery. I'm not sure if this applies to OData as well, so it's better to use filters to reduce the data as much as possible.
- Hussein_charif1 year ago
Helper V
Hi kushanNa , thank you for the reply.
so i am pulling the data in the service to my dataflow, i didnt start pulling the data to desktop, the problem is within the dataflow. does the filter work if i do it in the dataflow's power query?
- kushanNa1 year ago
Super User
I apologize — I misunderstood that you're experiencing this issue in Power BI Desktop, since you posted it on the Desktop side.
That said, the filtering should work in a Dataflow within the Power BI Service / fabric as well I feel — give it a try! 🙂
Unfortunately, since I'm using a Power BI Free license, I'm unable to test this myself.- Hussein_charif1 year ago
Helper V
thank you for the help kushanNa !