Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Don'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.

Reply
sceccolini
Frequent Visitor

Schedue refresh not available

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

 

3 REPLIES 3
v-zhangtin-msft
Community Support
Community Support

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.

parry2k
Super User
Super User

@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

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.