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 / How to display all fil...
Power Apps
Answered

How to display all files for all managers as well as files for individual managers in gallery

(0) ShareShare
ReportReport
Posted on by 21

I have a gallery which displays managers and the documents they have uploaded.

I want to display files by an individual manager.

I would like to display all files uploaded by all managers

I am able to display all files for each manager by using the GroupBy function.


But I have not been able to display all files for all managers.

 

 

I have an outer gallery and an inner gallery.
The outer gallery contains a button containing the manager name.
When a button is clicked, the inner gallery opens and a list of the manager's files is displayed.

 

But I would also like to be able to display all files for all managers when the "All Oversight Managers" button is clicked but have not been able to.

My code is based upon the YouTube video
"Group By in Power Apps Gallery with Large SharePoint Lists" by Reza Dorrani

 

sdfsdfsfsdfsfsd_0-1698701318005.png

 

Categories:
  • Verified answer
    v-qiaqi@microsoft.com Profile Picture
    Microsoft Employee on at

    HI @sdfsdfsfsdfsfsd,

    If you want to display all the file of all the managers and display files of distinct managers clicking buttons, I am afraid that you could not achieve this in a same Gallery because they have completely different data structure.

     

    The GroupBy() function returns a table including distinct managers and a nested group including multi files of the same manager, this table structure is totally different with the one that including all the managers files.

     

    As a workaround, I suggest you use two Galleries, one for distinct managers, and another for all managers.

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

#2
WarrenBelz Profile Picture

WarrenBelz 204 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 122

Last 30 days Overall leaderboard