cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Anonymous
Not applicable

Re: Performing a FOR loop in PowerApps

True. And you wouldn't necessarily need to bother with incrementing since you already have the loop number to either use or operate on. Of course a count table inside the loop would work too.  You could use the below code (with what I posted earlier) to make your number list real quick.

 

 

 

Collect(countTable, {nextNum: 0});

ForAll(FirstN(alongtable, 10),

Collect(countTable, 

{nextNum: Value(Last(countTable).nextNum) + 1}))

 

 

Highlighted
Helper I
Helper I

Re: Performing a FOR loop in PowerApps

Hi.

 

I have similar kind of requirement to find users consecutive months.

 

We have a table in sharepoint that have ID,Name,Months column.

 

Let say find the 5 consecutive month of users but always value should dynamic .

 

please suggest can we apply loop>

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Tech Marathon

Maratón de Soluciones de Negocio Microsoft

Una semana de contenido con +100 sesiones educativas, consultorios, +10 workshops Premium, Hackaton, EXPO, Networking Hall y mucho más!

Top Solution Authors
Top Kudoed Authors
Users online (5,862)