web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 711 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 319 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard