Showing results for 
Search instead for 
Did you mean: 
Regular Visitor

how to display/Edit my gallery GroupBy data into new screen.

Hi everyone,


currently I’ve creating a Timesheet apps, using SharePoint as a data sources. this data sources originally came from SAP system.

The data has details such as below;



 In share point, there are lines of data and when I look back, some line items can be categorized under same group for filtering. So, I decided to group the line items by “Maintenance Order” and “Title” in PowerApps. As such, when I click a Maintenance Order titled “xx Pilot Servicing”, all the timesheet line items number and description No. 10,20,30 registered under the Maintenance Order will be appeared.  This will ease the user to enter their timesheet.



Using Gallery in PowerApps, I am able to perform the grouping with the related line items below the selected ‘Maintenance Order’ and ‘Title’. But my issue is, to pass the argument to details/edit screen by clicking the ‘next’ icon and show all line items number and line items description into the new screen.



 Seek anyone who can help me rectify this. 


Thank you.










Super User
Super User


Without getting into the details, you are using a context variable to carry over your data to the next screen.  This will only apply to one screen.  It sounds like you want to have that variable available to many screens.  For this, you should use a global variable and the Set() function to create it.  Use Set(SelectedItem, Gallery3.Selected); Navigate(... instead of including the curly braces in your Navigate() function. 


thank you.. the coding look working very well. 



on this details screen, at item property i use a selectedItem, but data still not appear. please correct me if i am wrong.


Regular Visitor

i really don't know how to make this happen. if can teams, could be more easier to understand.

Helpful resources

Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (3,080)