Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreWe've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now
Hello everyone,
I'm trying to create a realtime APM dashboard. The data resides on a pulse connect server. I already have the URL, API-Key and API-KEY_Value to extracct the data. The issue here is the data is too many, so I have to paginate to only bring out successful transactions. Even at that, it only brings me data of the last day, instead of data from the past 60 days.
Can someone please help out on the above code.
Thank you
Hi @mcfw ,
It appears you are working with a large dataset from the Pulse Connect API in Power Query and encountering challenges related to pagination and date range limitations. Based on your description, the issue where only the most recent day's data is returned typically indicates that the API relies on cursor-based pagination rather than traditional offset-based methods. If the cursor or token from each API response is not correctly used in subsequent requests, you will continue to receive only the latest subset of data, regardless of your date filter.
Your date range logic seems appropriate, but it will only function as intended once pagination is handled correctly. In Power Query, this usually requires implementing a loop that continues to call the API using the next cursor value from each response until all data is retrieved. Without this, the query will remain limited to the initial results.
Therefore, I recommend checking whether the API response includes a next cursor or similar indicator and updating your query to utilize it for pagination. This should enable you to access the complete dataset as expected.
Thank you.
@mcfw there are tons of videos/blog on how to use cursor based API pagination in PQ, wondering if you did google on this topic? I'm assuming this is cursor based pagination.
Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!
Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo
If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤
Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 51 | |
| 37 | |
| 35 | |
| 19 | |
| 17 |
| User | Count |
|---|---|
| 70 | |
| 64 | |
| 39 | |
| 33 | |
| 23 |