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 / 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! 
Categories:
I have the same question (0)
  • Ami K Profile Picture
    15,679 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

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

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 272

Last 30 days Overall leaderboard