Forum Discussion
Anonymous
9 years agoNot applicable
how to fully load data from limited HTTP API?
I need to load all data from the API, but the server returns a maximum of 100 rows. at the link below, if I change the limit=100 to a bigger number, it returns with 100. to get more data, I need to...
Anonymous
9 years agoNot applicable
what I need is something similar to this topic:
https://community.powerbi.com/t5/Desktop/how-to-create-a-query-that-paginates/td-p/20047/page/2
but somehow I still could not find a solution for me.
my server API returns this:
offset=actual starting value, if not set it returns 0, to start at row 0;
limit=maximum is 100;
next_offset=show the start of the next offset. if I start offset=300, limit=100, but there are only 7 more rows to load, next_offset will be 307. if there are thousands more, next_offset will always be offset+limit, in this example 300+100=400.
from_cache=TRUE if there is more data, FALSE if no more data to show. but I think I can use only the next_offset value in this loading procedure.