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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
bmsuhaib
Regular Visitor

Power BI Service Showing error Paginated api Query | Power Query

Hi All,👋

tmp_9e0f779b-88ba-417f-8869-367f71ac449e.png

I am getting the above error while i add the below Query to my power bi Desktop to pull the API Data using basic authentication Username & Password as shown below(Default Anonymous Credentials) 

tmp_1646368a-2a56-4b10-992e-f5dd08837602.png

The Data is Paginated. The issue here is that I don't have any Page Number / Total Pages/ Total Record count for my data to try some other methods.

While importing the data I get 2 fields

  1. List(current page items) 
  2. Next page url/value

The outputs recieved for now is as below in power bi desktop for 10k data as of now which keeps increasing. As of now each Page containg 1000 records which may vary.

1)

tmp_e62e63ed-bf45-4c98-be8b-17cb0e8bc78b.png

2) generate function - hand authorized query as shown in code above

tmp_838b54c6-4fc5-4161-b48a-8e12fd8a0235.png

Generate function is causing all the issues here. -(showing hand authorized query) 

After step 2 all are done easily... 

The above code works fine in Power BI Desktop. But it gives above erro in Power BI Service. I am not even getting data source credentials / refresh scheduling option in power bi Service. 

If someone give me alternative step/code for generate function too it will help me. 

Can someone please help me with the solution!!!! 

1 REPLY 1
lbendlin
Super User
Super User

Dynamic data sources like yours are not supported on the service. You need to refactor your query to make it look like a static query.

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

Top Solution Authors