Hello PowerApps fam,
Hoping to get some help here, I am trying to iterate through a collection inside a ForAll. This is what I have so far:
ClearCollect(samptable, {}); // Initialize the collection
With({x: 30 * 2.71828^(-0.0006 * Value(y))}, // y is a label with a number text
ForAll(Sequence(4),
Collect(
sampletable,
{
Iteration: Value,
Result: round(x, 0)
}
)))
I want the Value(y) to increase by the result for each iteration. As an example:
initial value of z = 600
samptable collection should show the following table:
Iteration / Result
1 / 21
2 / 21
3 / 20
4 / 20
Thank you in advance