Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
Hello, community,
I have the following Power BI code to iterate through pages on a REST service:
Source = (PageNumber as number) =>
let
Url = "https://myServiceUrl&page=" & Text.From(PageNumber),
Response = Json.Document(Web.Contents(Url)),
Results = try Response[entries] otherwise null
in
Results,
GetAllPages = List.Generate(
() => [PageNumber = 1, Results = Source(1)],
each [Results] <> null and List.Count([Results]) > 0,
each [PageNumber = [PageNumber] + 1, Results = Source([PageNumber] + 1)],
each [Results]
The data is fetched correctly, but when I publish in a workspace, the automatic refresh is denied because of the following error:
You can't schedule refresh for this semantic model because the following data sources currently don't support refresh:
Data source for Query1
Do you have any suggestion to fix this in a way I can schedule the automatic refresh when published?
Thanks
Hi, @sceccolini
Please check out the link below and I hope it helps.
Troubleshooting unsupported data source for refresh - Power BI | Microsoft Learn
Solved: You can't schedule refresh for this semantic model... - Microsoft Fabric Community
Best Regards,
Community Support Team _Charlotte
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@sceccolini I believe you need a gateway.
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.
Hello,
I didn't say but I configured a web gateway for my root REST URL https://myserviceurl
Thanks
Simone
User | Count |
---|---|
117 | |
75 | |
62 | |
50 | |
44 |
User | Count |
---|---|
174 | |
125 | |
60 | |
60 | |
57 |