
Announcements
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:
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"
)