I have a gallery with an text input box and I was trying to use the following power fx:
Clear(myCollection);
ForAll(
myGallery.AllItems As item,
Collect(myCollection, {value : textinput1.text})
)
The result of this is that all values returned to myCollection are the same value, that of the first item.
@SagarVIS96 Good catch. I knew it had something to do with the As item! thank you
Hi @KASCHN ,
You can use the following code:
Clear(myCollection);
ForAll(
myGallery.AllItems As item,
Collect(myCollection, {value : item.textinput1.text}
)
Thanks
WarrenBelz
262
Most Valuable Professional
MS.Ragavendar
134
stampcoin
123