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 / 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:
I have the same question (0)
  • 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
    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

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

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 342 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard