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 / Errors: Gallery items ...
Power Apps
Unanswered

Errors: Gallery items keep repeating the same image multiple times

(0) ShareShare
ReportReport
Posted on by 85

Linked secondary gallery, mistakenly showing repeated picture.

 

Screen 1: Gallery_Main.
When the user clicks on a row within the Gallery_Main, the user is redirected to the secondary screen/gallery.

 

Screen 2: Gallery_UploadedImages
The image property of Gallery_UploadedImages is set to: Gallery_Main.Selected.UserPhoto
In this gallery, users might have only few pictures

 

If the user has more than 1 picture, then this secondary gallery won't display anything.
 
Screenshot 2021-04-16 161009.jpg

Why am I getting multiple repeated pictures? when instead there is only 1 picture in the data source.

 

How can I have the secondary gallery displaying uniques images?

Categories:
I have the same question (0)
  • WarrenBelz Profile Picture
    153,026 Most Valuable Professional on at

    The problem you have it the relational structure - how are you  "linking" Gallery_UploadedImages photos with the relevant item in Gallery_Main and what is the Items of Gallery_Main and Gallery_UploadedImages?

    As an example, if you have List_Main and List_Images behind all of this, you would store an identifier (I use the ID of List_Main) in a field in List_Images called IDRef).

    The Items of  Gallery_UploadedImages would then be

    Filter(
     List_Images,
     IDRef=Gallery_Main.Selected.ID
    )

    and the Image property in Gallery_Images would be

    ThisItem.'{Thumbnail}'.Large

     

    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.

  • WarrenBelz Profile Picture
    153,026 Most Valuable Professional on at

    Hi @FLOWPA ,

    Just checking if you got the result you were looking for on this thread. Happy to help further if not.

    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.

  • FLOWPA Profile Picture
    85 on at

    I coundn't postScreenshot 2021-04-28 155539.jpg

  • Verified answer
    FLOWPA Profile Picture
    85 on at

    Here is the formula I used

    FILTER( subgallery datasource, subgallery datasource column, main gallery.column)

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

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 327 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard