This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreDid you hear? There's a new SQL AI Developer certification (DP-800). Start preparing now and be one of the first to get certified. Register now
HI All,
Recently, I've been encoutnering some problems connecting to the Sharepoint API.
The search API limits to pull 500 records at a time, so I'm working with an offset of 500.
Whenever the amount of records is exacly 500 or a multiply of that, I seem to get an error. If I then manually change this offset , it can continue.
How do I work around this issue?
Solved! Go to Solution.
What error do you get? What changes to offset do you make to make it work?
EDIT it seems to be related to the index starting at 0 and not 1. if you have 1500 records starting with 0 the last index should be 1499, and your List.Generate in Offset will also generate 1500
Adjust
Offset = List.Generate(()=>0, each _ <= Number.RoundTowardZeroto
Offset = List.Generate(()=>0, each _ < Number.RoundTowardZeroand it should work
What error do you get? What changes to offset do you make to make it work?
EDIT it seems to be related to the index starting at 0 and not 1. if you have 1500 records starting with 0 the last index should be 1499, and your List.Generate in Offset will also generate 1500
Adjust
Offset = List.Generate(()=>0, each _ <= Number.RoundTowardZeroto
Offset = List.Generate(()=>0, each _ < Number.RoundTowardZeroand it should work
Hi Stachu ,
Thank you for your reply!
It is how I fixed the issue before, thank you for pointing out "the why".
Regards,
RObbe
glad to help, have a good day 🙂
Check out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.