web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Get all data from gallery
Power Apps
Answered

Get all data from gallery

(0) ShareShare
ReportReport
Posted on by 87

Hello,

 

I have to gallery which is A and B, so I want to store the data in gallery A into gallery B, but it only stores the first data into gallery B. How to get all of data in gallery A and store it to gallery B? I use Operator KPK to get the data and here is the code

wuzz8_2-1689320182828.png

 

 

wuzz8_0-1689319961296.png

This is Gallery A

 

wuzz8_1-1689319992069.png

This is Gallery B

Categories:
  • Verified answer
    AmeerJab Profile Picture
    370 on at

    Hello Dear,

     

    If you want to return a value from a gallery selected record use this syntax

    1- first on the OnSelect property of the gallery use this syntax
    Set(SelectedRecord,ThisItem)

    2- in your second gallery set the items property to (SelectedRecord)

    3- you can now use the record columns in your second gallery

  • wuzz8 Profile Picture
    87 on at

    Thank you for the answer. I have tried this method, but the data doesn't appear in gallery B sir

    wuzz8_0-1689327967670.png

    I also tried to change the Title10.Text into ThisItem.barcode, still doesn't appear

  • Devvj Profile Picture
    1,132 Super User 2024 Season 1 on at

    Hi,
    do you want to select an Item in Gallery A and populate that data into another gallery?
    Looks like there are just fields in "Gallery B" or is it actually a gallery?

    Also, what is the purpose of using the Left()-function here?

    Sorry im just alittle confused 🙂

  • wuzz8 Profile Picture
    87 on at

    Yes, I want to get all data in Gallery A and stored to gallery B. And it is Gallery B, the form in gallery B can be scrolled if all data in Gallery A is stored to Gallery B.

    So, the project is about to scan Employee ID, and there is a letter in the end of the ID and I use Left() to remove that letter.

  • wuzz8 Profile Picture
    87 on at

    Solved. I use this solution and a bit customization

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 354 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 320

#3
Mohsin Ali Profile Picture

Mohsin Ali 246

Last 30 days Overall leaderboard