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 / Create a Table from 2 ...
Power Apps
Unanswered

Create a Table from 2 Sharepoint Lists

(0) ShareShare
ReportReport
Posted on by 8

Hi everyone. Thanks in advance for having a look at this.

I'm most of the way through developing a Powerapp to be used to keep track of my organisation's volunteers, and the clients that are assigned to them.

I'm now trying to create a table or other visualisation of this info. I have 2 sharepoint lists: 'Clients' and 'Volunteers'. The Volunteers list has the 'Title' column used to store the Volunteer ID (such as V001). 

Within the app, the client is assigned to a volunteer by filling a column in the 'Clients' list called Assigned Volunteer' in which the Volunteer ID is entered. 

I'd like to create a table with the Volunteer's name in one column, and their assigned clients in another column as shown here in my primitive diagram:

Table sketch.png

I have had some success with nested galleries, however as the number of clients assigned to each volunteer can be different, getting the sizing of the items gallery items to fit without scrolling was beyond me - I need to distribute the info to the volunteers via email, so info hidden due to scrolling won't work. Ideally I'd like to generate an email with the list of volunteers and their assigned clients.

Any help here would be appreciated!

Gavin

 

Categories:
I have the same question (0)
  • Drrickryp Profile Picture
    Super User 2024 Season 1 on at

    @Geffen111 

    You will need to use a flexible height gallery to do this with a nested gallery inside.  I suggest checking out this video https://www.youtube.com/watch?v=ZzQ1t2sQvj8   on flexible height galleries first.  Use GroupBy(ClientList, "VolunteerID","info") and Lookup(Volunteerlist, VolunteerID=ThisItem.VolunteerID, VolunteerName) for the text property of a label in the outer gallery.  The Inner gallery will use ThisItem.info as its items property.   

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 530

#2
WarrenBelz Profile Picture

WarrenBelz 459 Most Valuable Professional

#3
Haque Profile Picture

Haque 314

Last 30 days Overall leaderboard