Others

How to Copy Power Apps Gallery Data to Another Screen

Muhammad TalhaMuhammad Talha Nov 3, 2026 869 views

Question details

The user wants to transfer selected data from a Power Apps gallery to a different screen or pop-up when clicking a navigation icon.

How to Copy Power Apps Gallery Data to Another Screen
Product
Microsoft Power Apps
Device & OS
not provided
Scenario
Building or editing an application in Power Apps where user selection in a gallery needs to populate data on a subsequent screen.
Observed behavior
The selected gallery item's data needs to be passed accurately to the next screen or a pop-up window so users can view or edit the specific record.
Before you start

Ensure you have edit permissions for your Power App and that your gallery is successfully connected to a working data source.

Solution 1Recommended

Use the Navigate Function with Context Variables

Pass the selected item's data to the new screen by defining a context variable within the Navigate function.

Passing a context variable during navigation is the most reliable way to transfer a specific record's data to another screen, as it captures the exact item the user selected.

1
Select the Next Arrow

Open your Power App in edit mode, navigate to your gallery, and select the 'Next' arrow icon in the first row of the gallery.

2
Modify the OnSelect Property

In the formula bar for the OnSelect property, enter the Navigate function. For example: Navigate(TargetScreen, ScreenTransition.None, {SelectedItem: ThisItem}).

3
Reference the Data on the New Screen

On your target screen, insert a label or text input and set its Text property to SelectedItem.FieldName (replace 'FieldName' with your actual column name).

Use the Navigate Function with Context Variables
Using the Gallery.Selected Property: Alternatively, you can skip passing a variable and directly reference GalleryName.Selected.FieldName on your target screen to display the currently highlighted item.
Free Microsoft Office alternative

Enhance Your Productivity with WPS Office

While Power Apps is an excellent tool for custom application building, managing the underlying datasets often requires robust spreadsheet software. WPS Office offers a free, lightweight, and highly compatible alternative for viewing, editing, and analyzing your exported app data.

Effortlessly manage and analyze data exported from Power Apps using WPS Spreadsheet.Fully compatible with Microsoft Office formats including XLSX, DOCX, and PPTX.Lightweight software that runs smoothly on Windows, Mac, Linux, and mobile devices.Completely free to use with a familiar, easy-to-navigate tabbed interface.
microsoft office alternative - wps office

Frequently Asked Questions

Why is my target screen not showing the selected gallery data?

This usually happens if the context variable name passed in the Navigate function doesn't perfectly match the variable name used on the target screen, or if the target label is referencing an incorrect column name from your data source.

What is the difference between using Gallery.Selected and passing a variable?

Using Gallery.Selected is simpler and automatically updates if the gallery selection changes. Passing a variable captures a static snapshot of the record at the exact moment the button was clicked, which is safer if the gallery data might refresh in the background.

Can I pass multiple records from a gallery to another screen?

Yes, but you will need to collect the selected items into a Collection using the Collect() function (often paired with a checkbox in the gallery) rather than passing a single record via a context variable.