cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Krishna_R
Responsive Resident
Responsive Resident

Search on grouped values

Hi All,

 

I have a collection, which is grouped by fruit name on the source. and I've implemented nested galleries and trying to implement search functionality on order ID.

 

FruitOrder DateOrders Data
Apple11-Nov-22
Order IDOrdered By
1MR. X
4MR. Z
Banana12-Nov-22
Order IDOrdered By
9MR. A
12MR. C

 

I've tried the below function on items property. I tried the below formula however its not giving desired output.

 

SortByColumns(
    Filter(
        GroupBy(
            Search(
                Ungroup(
                    colTotalConflicts,
                    "gConflicts"
                ),
                TextInputSearch_5.Text,
                "RequestID"
            ),
            "EquipmentID",
            "RequestDate",
            "gConflicts"
        ),
        CountRows(gConflicts) > 1
    ),
    "RequestDate",
    If(
        SDvSort.vDir = Descending,
        Ascending,
        Descending
    )
)
0 REPLIES 0

Helpful resources

Announcements
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Community Call Conversations

Introducing the Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (5,559)