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 / Gallery search functio...
Power Apps
Answered

Gallery search function on nested columns

(0) ShareShare
ReportReport
Posted on by 15

Hi There,

 

I have a collection (Col_Sample) and it has Column name "WO"  which has table inside and it has "WO_test" column. I need to use Col_Sample  as data souce of Gallery and want search contents of "WO_test". Have spent significant time to create a search function to search on "WO_test". Nothing is working, i would appreciate if someone can help. Here is the sequence

Col_Sample->"WO"->"WO_test.

 

 

Categories:
  • Drrickryp Profile Picture
    Super User 2024 Season 1 on at

    @PowerBridge 

    Use AddColumns() on the collection to add WO_test by looking up the value in the WO table. This will expose it to be searched.

  • PowerBridge Profile Picture
    15 on at

    @Drrickryp thanks for your advice, this AddColumns suggestion is not working in my case.  I created WO_test column by using group by function. Is there anything else which i can try?


  • Drrickryp Profile Picture
    Super User 2024 Season 1 on at

    @PowerBridge 

    I would have suggested that next.  Smilegif.gif

     

  • Verified answer
    v-bofeng-msft Profile Picture
    Microsoft Employee on at

    Hi @PowerBridge :

    Could you tell me what "WO_test"'s datatype is?I assume it is a text column.

    I assume there is a collection something like:

    ClearCollect(
     Col_Sample,
     {
     ID: 1,
     WO: Table(
     {WO_test: "A"},
     {WO_test: "B"}
     )
     },
     {
     ID: 2,
     WO: Table({WO_test: "C"})
     },
     {
     ID: 3,
     WO: Table({WO_test: "D"})
     }
    )

    1\Add a TextInput control(TextInput1)

    2\Add a gallery and set it's items property to:

    Filter(Col_Sample,TextInput1.Text in WO.WO_test)

    14.gif

    Best Regards,

    Bof

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