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 / Missing Image when gro...
Power Apps
Answered

Missing Image when grouping

(0) ShareShare
ReportReport
Posted on by

I'm just getting started with PowerApps and trying to create a simple leaderboard based on a SharePoint list. The list contains an image file of the user, along with the name.

 

In my PowerApp I've created a blank gallery with the image, name, and count of how many times  they are in the list. I've got everything I need except the picture using this function.

 

Sort(GroupBy(EomTest, "Title","EmployeeName"),CountRows('EmployeeName'), SortOrder.Descending)

 

Is there a good way to pull across the image file and reference it in the gallery? Right now I get only the sample image.

 

Sorry if this is asked and answered I've searched all day and can't find it.

Categories:
  • Sunil-Narnaware Profile Picture
    681 on at

    @Onibocho 
    Is this what you are trying to achieve..? Grouped by Title.. and then under which you are showing respective employee name & their image?

    SunilNarnaware_0-1654807431305.png
    You will need to use Nested Gallery as GroupBy Returns the Table so the nested gallery' items property be set to ThisItem.EmployeeName (EmployeeName : Coming from your GroupBy 3rd Parameter).. And now inside nested gallery you can access each details..like image & employee name as ThisItem.Image & ThisItem.'Employee Name' (sharepoint list employee name column) respectively..

    Let me know if this works for you.

    Regards,

    Sunil


    Please mark this as an answer if it works so others can easily find if they also have the same question.

  • Verified answer
    v-jefferni Profile Picture
    Microsoft Employee on at

    Hi @Onibocho ,

     

    The images have been grouped by your formula and store in the group column "EmployeeName". Using nested galleries can easily display everything of the grouped column except for the messy layouts. You can also extract the images from the grouped column and use them in the main Gallery:

    Sort(AddColumns(GroupBy(EomTest, "Title","EmployeeName"),"Image",First(ThisRecord.EmployeeName).YourImageColumn),CountRows('EmployeeName'), SortOrder.Descending)

     

    Best regards,

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

#2
Mohsin Ali Profile Picture

Mohsin Ali 368

#3
WarrenBelz Profile Picture

WarrenBelz 244 Most Valuable Professional

Last 30 days Overall leaderboard