Forum Discussion
Only select certain columns from source
I'll have to look into the Odata option. I'm not finding a lot of examples for that.
Currently I'm pulling the data into a list which is capturing all the records. It would be great if I could do loop through the records but I'm having trouble figuring that out.
Source = List.Generate(
() => getPage(""),
each _[scrollToken] <> null,
each getPage(_[scrollToken]),
each [scrollToken = _[scrollToken], records = _[records]]
),
Here is an article I wrote last year that may help you get started with using OData. It includes examples of adding $select and other ways to let you limit the initial amount of data returned.
https://powerpivotpro.com/2019/02/some-odata-tips/
If this works for you, please mark it as the solution. Kudos are appreciated too. Please let me know if not.
Regards,
Pat