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 / Search ComboBox Select...
Power Apps
Answered

Search ComboBox SelectedItems in Gallery where values are comma separated

(0) ShareShare
ReportReport
Posted on by 9

Dahiya23_0-1658931137895.png

Let's say my gallery shows this when combobox is empty.
Now when i selected FI

Dahiya23_1-1658931207031.png

I only get fields where FI is presented.

Now i want that if i select FI provide me FI and also FI,CO.

And if i selected FI and CO then it should show FI , CO only.

 

Is there any way to filter in such a way? 

 

 

Using this code to filter

Filter(
ABC,
(IsEmpty(New.Result) || combobox in New.Result)
)

 

Categories:
I have the same question (0)
  • Drrickryp Profile Picture
    Super User 2024 Season 1 on at

    @Dahiya23 

    Filter(
     ABC, IsEmpty(Combobox1.SelectedItems)||
     IsBlank(Combobox1.SelectedItems)||
     State in Combobo1.SelectedItems
    )
  • WiZey Profile Picture
    3,023 Moderator on at

    Hello @Dahiya23 ,

     

    Can you try the following formulae and see how it goes?

     

    Filter(
     source,
     CountIf(
     ForAll(
     Split(Value;","),
     Result in combobox.SelectedItems.Value),
     Value) > 0
    )
  • Dahiya23 Profile Picture
    9 on at

     

     

    It shows the same results as i mentioned in question.

  • Dahiya23 Profile Picture
    9 on at

    Maybe you got the question wrong.

  • Verified answer
    WiZey Profile Picture
    3,023 Moderator on at

    I see, my bad I didn't notice the space between the comma and "CO" in your value "FI, CO".

     

    In my tests I used the table ["FI";"FI";"CO";"CO";"FI,CO"] which worked because because I thought the comma was a single-character separator. 

     

    In your case, would it be correct to assume your separator is based on two characters: a comma followed by a blank space?

     

    Adjusting the separator in "Split()" should make it work.

     

    Filter(
     source,
     CountIf(
     ForAll(
     Split(Value;", "),
     Result in combobox.SelectedItems.Value),
     Value) > 0
    )

     

  • Yock Profile Picture
    45 on at

    Yock_0-1659001877924.png

    u can setting this properties to get outpout; according ur question, if ur collection is right, then u setting this property can fix the issue

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

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 401 Most Valuable Professional

#2
11manish Profile Picture

11manish 201 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 128 Super User 2026 Season 2

Last 30 days Overall leaderboard