Hi everyone,
I have a gallery in PowerApps that show list items from a SharePoint list. Currently all new items (in PowerApps gallery as well as SharePoint list) are saved underneath all others. I want to change the order in the PowerApps gallery and display the newly added item on top of the gallery.
Can anyone help me with this?
Thanks
Dorothee
Solved! Go to Solution.
Hi @Anonymous ,
Try
Sort(
Filter(
'Datasource';
Requestor.Email=User().Email;
'Current Approval Status'.Value="Draft"
);
ID;
Descending
)
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.
Hi @Anonymous ,
Sort(
YourGalleryName,
ID,
Descending
)
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.
Hi Warren,
I already set a filter on this gallery: Filter('Datasource';Requestor.Email=User().Email;'Current Approval Status'.Value="Draft") and I can't just add jour Sort function afterwards. It gives me an error.
Can you tell me where to insert the Sort function?
Thanks so much!
Hi @Anonymous ,
Try
Sort(
Filter(
'Datasource';
Requestor.Email=User().Email;
'Current Approval Status'.Value="Draft"
);
ID;
Descending
)
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.
Thank you!
Stay up tp date on the latest blogs and activities in the community News & Announcements.
Mark your calendars and join us for the next Power Apps Community Call on January 20th, 8a PST
Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.
User | Count |
---|---|
198 | |
173 | |
62 | |
33 | |
32 |
User | Count |
---|---|
338 | |
271 | |
105 | |
71 | |
58 |