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 / Filter based on Multi-...
Power Apps
Answered

Filter based on Multi-select column values

(0) ShareShare
ReportReport
Posted on by 70

Hi All,

 

I have a PowerApp form with 3 column - Goods/Services, Category, VendorName.

Anupama_live_0-1688789313647.png

ControlGoods/ServicesCategory
ValueGoodsA, B, C
 

Services

D, E, F

 

if(Goods is selected){

   apply filter on Category[] to load: [A,B,C];

}

else{

  apply filter on Category[] to load: [D,E, F];

Filtered Vendors are rendered from a Vendor database where it need to filter based on the category of Goods/Services selected. Below is the Vendor database list sample.

VendorCategory of Goods(multi-select)Category of Services(multi-select)
Vendor1B, CF
Vendor2 D, E
Vendor3A, C 
Vendor4A, B, CD, E, F

The expected functionality is "Get the list of vendors who provide the selected Category of Goods/Services."

 

Eg: if end user select Goods and Select Category A, Vendor should load : Vendor3, Vendor4. 

if end user select Services, and select Category F, Vendor should load: Vendor1, Vendor 4

 

How to implement this with usual practice without getting delegation warning?

Is such complexity be implementable using REST API or POwerAutomate?

 

Please suggest.

 

@WarrenBelz @Ethan_R @ShaneYoung @RezaDorrani @PowerApp4 

Categories:
  • AmeerJab Profile Picture
    370 on at

    Hello Dear,

    to filter galleries or datasources based on multiple values coming from dropdown/dropbox you can use the below syntax

    filter(datasource, column1 = dropdown1.selected.value Or column1 = dropdown2.selected.value)

    if you can give me more details about the functionality i might be able to help more

  • Anupama_live Profile Picture
    70 on at

    Hi @AmeerJab ,

     

    Thanks for your reply but here the scenario is different. "Eq" operator won't work as the comparison is with multiple values and so the use of "in" operator was considered but that didn't give a proper solution. 

     

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

    Hi @Anupama_live ,

     

    May I ask what data source you have used?

     

    According to your description, the formula “in” is a convenient way for us to apply the function but with delegation warning.

     

    You can change the setting blow for improve the issue of delegation.

    vhanytianmsft_0-1688959987969.png

     

     

    We assumed the data source is SharePoint and created it blow.

    vhanytianmsft_1-1688959987970.png

     

     

    Items of the Second Combo Box.

    Filter(If(ComboBox1.Selected.Value = "A" Or ComboBox1.Selected.Value = "B" Or ComboBox1.Selected.Value = "C",

            ForAll('0710_1',If(!IsBlank(LookUp(ThisRecord.Goods,ComboBox1.Selected.Value in Goods.Value)),Vendor)),

            ForAll('0710_1',If(!IsBlank(LookUp(ThisRecord.Services,ComboBox1.Selected.Value in Services.Value)),Vendor))),

            Value <> Blank())

    vhanytianmsft_2-1688959987972.png

     

     

    vhanytianmsft_3-1688959987974.png

     

    vhanytianmsft_4-1688959987975.png

     

     

    Hope this will help you,

     

    Best Regards,

    Tina

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 397 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 354

#3
WarrenBelz Profile Picture

WarrenBelz 232 Most Valuable Professional

Last 30 days Overall leaderboard