I’m looking to automatically refresh a webhose.io JSON feed in Power BI.
Webhose.io gives you an ‘endpoint’ and I’ve managed to feed this into Power BI successfully via the JSON connector, but this only gives you the first 100 articles:
You need to keep adding the ‘next’ code in order to get the next 100 articles:
Is it possible to write a script in Power Query that allows you to automatically 'cycle' through all articles?
Any assistance appreciated!
After research, there is no "looping" in Power Query, only recursion. And I list some blog and threads below. Hope it it's helpful.
Do … While loop with Power BI (M language)
How to automate/parameterize/loop power query?
Be Fitbit BI Developer in Few Steps: Step 2 Loop Through All CSV Files
In addition, you can also go to the Power Query forum to get dedicated support.