Hello Community!
I have a question and want to know if it´s possible to do this in PowerApps?
I have this collection:
How can I achieve this by creating a new collection?

Hello Community!
I have a question and want to know if it´s possible to do this in PowerApps?
I have this collection:
How can I achieve this by creating a new collection?
You could use something like the following code:
ForAll(
Sequence(CountRows(colCumulativePercentages)),
Collect(colCumulativePercentagesTotals,
{
CalculatedVal: Index(colCumulativePercentages, Value).CalculatedVal,
Val: Index(colCumulativePercentages, Value).Val,
TotalCalculatedVal: Sum(FirstN(colCumulativePercentages, Value), CalculatedVal)
}
)
)
This should store your desired collection as colCumulatviePercentagesTotals
Hope this helps!