Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers. Get Fabric certified for FREE! Learn more
For reasons related to query-folding not working with OData, I'm migrating a dataflow to using
Ok, I will try to explain better @v-xuxinyi-msft .
I'm trying to pull data from a web-api with pagination. To fetch this data, I have written a recursive M function (it looks at nextCursor and calls itself when there is anextCursor). It works and can pull in all the data with no problem.
However, when opening up the dataflow in the Power Query web editor, I notice that it's loading all data from the API, millions of rows (where the OData connector injects a $top 1000) 😲 I would not expect that, in the web editor preview I just need a preview of the data - not a million rows.
So my question is when fetching data from a web source, is it possible to detect if the query should limit itself to only 1000 rows (just like the OData connector is doing today already)?
Hi @alexbjorlig
"Can I somehow replicate this - is there a way to detect if we are running in preview mode?", I don't quite understand what you mean by this statement, could you please explain it a bit more? Thank you for your time in advance.
Best Regards,
Yulia Xu
Check out the April 2025 Power BI update to learn about new features.
Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.
User | Count |
---|---|
47 | |
32 | |
24 | |
19 | |
14 |