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

Gallery to Collection Issue

I try to enter a different value in each element of the Gallery, but when I want to create a collection from Gallery, the value is the same and all the columns??

 

A little help...

 
 
 

 

Foto.png

1 ACCEPTED SOLUTION

Accepted Solutions
Kepcla
Level: Powered On

Re: Gallery to Collection Issue

HI   

 

It Works Perfect!!

Aprecciate a lot your help!

Cheers

K

View solution in original post

4 REPLIES 4
Super User
Super User

Re: Gallery to Collection Issue

@Kepcla 

It looks like you are referencing the selected record using Value(Gallery1.Selected.TextInput2.Text).  That's why it is repeating the 2.

 

What happens if you just reference the TextInput2 instead?

Value(TextInput2.Text)

 

---
Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."

 

Community Support Team
Community Support Team

Re: Gallery to Collection Issue

Hi @Kepcla ,

Could you please share a bit more about your scenario?
Do you want to save Gallery Items with Checkbox checked into a collection?

 

Based on the formula that you mentioned, I have made a test on my side, please consider modify your formula as below:

Clear(ShoppingCart);
ForAll(
       Filter(Gallery1.Allitems, Checkbox1.Value = true),
       Collect(
               ShoppingCart,
               {
                 Description: DescriptionLabel.Text,
                 Quantity: TextInput2.Text,
                 ...
                 ...
               }
       )
)

Please consider take a try with above solution, check if the issue is solved.

 

More details about ForAll function, please check the following article:

ForAll function

 

Best regards,

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Kepcla
Level: Powered On

Re: Gallery to Collection Issue

HI   

 

It Works Perfect!!

Aprecciate a lot your help!

Cheers

K

View solution in original post

Super User
Super User

Re: Gallery to Collection Issue

@Kepcla 

If your problem was solved can you please Accept the Solution for the post that helped?  We do this so others can find the answer quickly in the future.

Helpful resources

Announcements
thirdimage

Power Apps Super User Class of 2020

Check it out!

thirdimage

New Badges

Check it out!

thirdimage

Power Apps Community User Group Member Badge

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

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

SecondImage

Difinity Conference

The largest Power BI, Power Platform, and Data conference in New Zealand

Top Solution Authors
Top Kudoed Authors
Users online (4,464)