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 / Transfer the selected ...
Power Apps
Answered

Transfer the selected checkbox values from gallery to another screen button

(0) ShareShare
ReportReport
Posted on by 18

Sreelakshmi_r_0-1691748693465.png

Sreelakshmi_r_2-1691748872040.png

 

Hi Users,

I am new to this technology. I am trying to transfer selected checkbox records from gallery to another screen. I have attached Both the screen. In second screen I need to get values from screen 1 which is selected. Try to help me out to resolve this issue. Thank you 

 

Categories:
  • Verified answer
    LaurensM Profile Picture
    12,516 Moderator on at

    Hi @Sreelakshmi_r ,

     

    In the OnCheck save the item to a collection:

    Collect(colCheckedRecords, ThisItem)

     

    OnUnCheck remove the current item from the selection:

    Remove(colCheckedRecords, ThisItem)

     

    In the second screen you can display the records in a gallery by used colCheckedRecords as the Items property.

     

    If this solves your question, would you be so kind as to accept it as a solution & give it a thumbs up.

    Thanks!

  • Verified answer
    gcmfaizan Profile Picture
    1,022 on at

    Hi @Sreelakshmi_r ,

     

    To transfer the selected checkbox records from one screen to another in Power Apps, you can follow these steps:

     

    Screen 1: Gallery with Checkboxes

    1. In Screen 1, create a gallery named Gallery1 with checkboxes.
    2. Set the Items property of Gallery1 to your data source (e.g., a collection or SharePoint list).
    3. Set the SelectionMode property of Gallery1 to "Multiple."

    Screen 1: Collect Selected Items

    1. Create a button on Screen 1 for navigation to Screen 2.

    2. In the OnSelect property of the button, use the following code to collect selected items and navigate:

     

     

    ClearCollect(SelectedItems, Filter(Gallery1.AllItems, Checkbox1.Selected))
    Navigate(Screen2)

     

    Screen 2: Display Selected Items

    1. In Screen 2, create a gallery named Gallery2 (or any control) to display the selected items.
    2. Set the Items property of Gallery2 to the SelectedItems collection created in Screen 1.

    When you run the app and select checkboxes in Screen 1, then click the button to navigate to Screen 2, the selected items will be transferred and displayed in the Gallery2 control on Screen 2.

     

    This approach uses a collection to temporarily store the selected items, which can then be displayed on the second screen.

     

    Please mark my post as solution to help the community.
    And give me a Thump up to appreciate, 

     

    Cheers!

     

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 432 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 347

#3
WarrenBelz Profile Picture

WarrenBelz 254 Most Valuable Professional

Last 30 days Overall leaderboard