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 / GroupBy Gallery - pull...
Power Apps
Unanswered

GroupBy Gallery - pull in additional fields from original SharePoint list

(0) ShareShare
ReportReport
Posted on by 10

Good morning, 

 

I am building a gallery that has a GroupBy function to aggregate records by Product field. I also want to call in the Category field within the Gallery and use that field to add a filter for the Combobox. 

 

My gallery Items is currently set as: 

Search(GroupBy(AddColumns(Filter('Available Furniture Catalog','Approval Status'.Value="Request Approved"),"ProductText",Product.Value),"ProductText","Data"),TextInput2.Text,"ProductText")
 
I have both fields in the Gallery as Items: ThisItem.ProductText and would like to have the highlighted field in my attached photo show the Category of the Product from my data sharepoint list 'Available Furniture Catalog' and use it for the combobox filter mentioned above.  If anyone can help me, much appreciated! 
Screenshot 2024-04-11 094028.png
Categories:
I have the same question (0)
  • Ami K Profile Picture
    15,687 Super User 2024 Season 1 on at

    @katelynmodolo - 

     

    One example using First:

     

    Search(
     AddColumns(
     GroupBy(
     AddColumns(
     Filter(
     'Available Furniture Catalog',
     'Approval Status'.Value = "Request Approved"
     ),
     "ProductText",
     Product.Value
     ),
     "ProductText",
     "Data"
     ),
     "Column1",
     First(Data).'Field 1',
     "Column2",
     First(Data).'Field 2'
     ),
     TextInput2.Text,
     "ProductText"
    )

     

    Another example using LookUp:

     

    Search(
     AddColumns(
     GroupBy(
     AddColumns(
     Filter(
     'Available Furniture Catalog',
     'Approval Status'.Value = "Request Approved"
     ),
     "ProductText",
     Product.Value
     ),
     "ProductText",
     "Data"
     ) As temp,
     "Column1",
     LookUp(
     'Available Furniture Catalog',
     Product.Value = temp.ProductText,
     'Field 1'
     ),
     "Column2",
     LookUp(
     'Available Furniture Catalog',
     Product.Value = temp.ProductText,
     'Field 2'
     )
     ),
     TextInput2.Text,
     "ProductText"
    )

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

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 324 Most Valuable Professional

#2
11manish Profile Picture

11manish 193

#3
Valantis Profile Picture

Valantis 138

Last 30 days Overall leaderboard