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 / Image gallery using mu...
Power Apps
Unanswered

Image gallery using multiple person/group column

(0) ShareShare
ReportReport
Posted on by 20

I'm creating an app where one of the columns in my SP list is using the 'person or group' column with multiple selections available.

 

I am trying to create an image gallery of all the users associated with a given item.
Right now, in the gallery image, I have

 

DataCardValue15.Selected.Picture

 

but this is causing the gallery fill up with multiple copies of the same image. Any help would be greatly appreciated, thanks.

 

I am wanting only one copy of each user's image instead of one user's image being copied multiple times.

 
 
 
Categories:
I have the same question (0)
  • kidvallejo Profile Picture
    100 on at

    Could you provide a screenshot? Showing the tree and where they select which images to show?

  • garrettl Profile Picture
    20 on at

    Sure, I have attached an image with the tree view and the column "assigned_to" is the one where I am trying to pull user images from.

     

    Also, the other image is the user gallery where two different images should be seen, however, only the person with a generic picture can be seen, and the image is displayed 10 times

  • kidvallejo Profile Picture
    100 on at
    Interesting one... I'll give you that, set the gallery items to filter(source, namecolumn = assignedtofield).

    If you still get duplicates throw in a distinct but shouldn't be needed...
  • garrettl Profile Picture
    20 on at

    I'm not sure if this is what you mean, but I tried this -

     

    Filter(source, assigned_to=DataCardValue15)

     

    and this fixed the duplicate problem, but only one image is being shown now, it is not selecting both users from assigned_to

     

     

  • kidvallejo Profile Picture
    100 on at

    Ok... then you want:

     

    Filter(source, assigned_to in DataCardValue15.SelectedItems.assigned_to)

     

  • garrettl Profile Picture
    20 on at

    When I put:

    Filter(source, assigned_to in DataCardValue15.SelectedItems.assigned_to)

    The bold "assigned_to" has error "name isn't valid. The identifier isn't recognized."

     

    When I put:

    Filter(source, assigned_to in DataCardValue15.SelectedItems.Picture)

    The bold "assigned_to" has error "Invalid argument type. Cannot use table values in this context."

     

    I'm trying a work-around where I create a collection of all user emails associated with a given ticket, but I'm having trouble figuring out how to pull Office365user Images using the emails provided. Could you help me with this workaround? or is there a better way to do this maybe?

  • Verified answer
    yashag2255 Profile Picture
    24,769 Super User 2024 Season 1 on at

    Hi @garrettl 

     

    Can you try to setup the configuration like:

    Gallery Items:
    DataCardValue15.SelectedItems.Picture

    Image control Inside Gallery: ThisItem.Picture

     

    Hope this Helps!

     

    If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

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 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard