cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
HirenKataria
Level: Powered On

How to fetch records in 500 batch without increasing Data Row limit setting?

Any idea about fetching list which contain more than 3000 recods. I want to fetch recods in 500 batch without increasing Data Row limit setting

2 REPLIES 2
Super User
Super User

Re: How to fetch records in 500 batch without increasing Data Row limit setting?

Hi @HirenKataria

 

@mr-dang wrote an excellent post on how to do this. Hopefully, this should be of some help to you.

https://powerusers.microsoft.com/t5/General-Discussion/Overcoming-the-500-record-limit-locally/td-p/...

HirenKataria
Level: Powered On

Re: How to fetch records in 500 batch without increasing Data Row limit setting?

Hi @timl

I try this soution but I get an error in Filter() function

Filter('Master Project List',(RoundDown(Value(ID)/500,0)+1)=Result)

 

Here the code also my Data row limit setting is 500 and SharePoint list have 800 recods.

UpdateContext({maxn: First(Sort('Master Project List',ID,Descending))});
UpdateContext({minn: First(Sort('Master Project List',ID,Ascending))});
If(IsBlank(maxn.ID) || maxn.ID=0,
Patch('Nayamode Master Project List',First(Filter('Master Project List',ID = maxn.ID)),
{ID: RoundDown(Value(maxn.ID)/500,0)+1
}
),
UpdateContext({maxn: First(Sort('Master Project List',ID,Descending))})
);
Clear(TestCollection);
Collect(itr,[1,2]);
ForAll(itr,Collect(TestCollection,Filter('Master Project List',(RoundDown(Value(ID)/500,0)+1)=Result)))

I also replace this Filter() function by search()

ForAll(itr,Collect(TestCollection,Search('Master Project List',TextSearchBox2.Text,"ActiveProjectName")))

Now I get duplicated recods.

Helpful resources

Announcements
firstImage

PowerApps Monthly Community Call!

Join us next Wednesday for our Demo Extravaganza, October 16, 2019 8am PDT.

firstImage

Microsoft Business Applications Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

SecondImage

Power Platform Summit North America

Register by September 5 to save $200

Top Kudoed Authors
Users Online
Currently online: 193 members 4,333 guests
Please welcome our newest community members: