Forum Discussion

ochaoui's avatar
ochaoui
Frequent Visitor
4 years ago

After handling API paging, auto refresh not possible on powerBI cloud

Hi folks,

 

I handled the API pagination in my power query code using :

 

    listOfPages = List.Generate(
        () => getNextPage(null),            // get the first page of data
        (lastPage) => lastPage <> null,     // stop when the function returns null
        (lastPage) => getNextPage(lastPage) // pass the previous page to the next function call
    ),

 

The problem is when I deploy my dashboard, I cannot schedule the auto refresh.

Do you know how to fix that ?

Regards,

3 Replies