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 / Filtering multi select...
Power Apps
Answered

Filtering multi select columns

(0) ShareShare
ReportReport
Posted on by 20

Hi all,

 

I am trying to customize a form with PowerApps ...


I have a list (DocsList) in SharePoint Online with a first multi-selection drop-down column (MultiDoc) and a second multi-selection drop-down column (MultiDoc2), but I need it to offer me filtered elements that depend on the selection of the first column

 

So if in the first column I select Document A and Document C, in the second column it offers me to multi select Area A01, Area A02, Area C01 ... but not the rest.

 

To do this, I have created another list (SourceList) that contains a column with the name of the main documents and another column with the name of the corresponding areas, looking like this:

 

Aitor_0-1623342317821.png

 

The first combo lets me select multiple elements,

 

Distinct('Documents and Areas (Source List)',Documento)

Aitor_1-1623342347938.png

but the second only offers me the areas of one of the selections from the first combo (the last selected), not all the possible ones:

 

Filter('Documents and Areas (Source List)',Documento = DataCardValue9.Selected.Result)

Aitor_2-1623342416151.png

Could someone guide me? I don't have much of a programming idea and I'm just starting out on this.

 

Thank you very much in advance and greetings to this community.

Categories:
I have the same question (1)
  • Verified answer
    CNT Profile Picture
    10,921 Super User 2024 Season 1 on at

    @Aitor Because u'r first Combo is a Multi Select, u'll have to use this,

    Filter('Documents and Areas (Source List)',Documento in DataCardValue9.SelectedItems)
  • Aitor Profile Picture
    20 on at

    Thank you very much for your help @CNT , it has worked as I wanted!😄 

  • CNT Profile Picture
    10,921 Super User 2024 Season 1 on at

    @Aitor Glad to help!

  • Aitor Profile Picture
    20 on at

    Hi @CNT (and all) again...

     

    My joy in a well!... Everything works in Power Apps, it filters and searches correctly when I try it from there (except for the Delegating Warning, which does not worry me because I will not have more than 500 records):

     

    Aitor_1-1623752309582.png

     

    But I can not save correctly the information in SharePoint. The form appears correctly and works, but on saving, it creates the record with nothing in both columns:

     

    Aitor_2-1623752392052.pngAitor_3-1623752407922.png

    These are my datacards on Power Automate:

     

    Aitor_4-1623752478903.pngAitor_5-1623752488440.png

     

    These are the advanced value properties of the combo boxes:

     

    Aitor_6-1623752580639.png

     

    Any idea why it doesn't save the selected values for me?

     

    Thanks in advance,

     

  • CNT Profile Picture
    10,921 Super User 2024 Season 1 on at

    @Aitor Check the following setting for these columns in SharePoint.

     

    CNT_0-1623758637599.png

     

  • Aitor Profile Picture
    20 on at

    @CNT  Yes in both  columns multiple values are allowed

  • CNT Profile Picture
    10,921 Super User 2024 Season 1 on at

    @Aitor How are you saving to the SP List? Are you using SubmitForm() or Patch?

  • Aitor Profile Picture
    20 on at

    SubmitForm I think...

    Aitor_0-1623838191304.png

     

  • Aitor Profile Picture
    20 on at

    @CNT SubmitForm 

    Aitor_0-1624369143835.png

     

  • CNT Profile Picture
    10,921 Super User 2024 Season 1 on at

    @Aitor The Items property for the 2 combos have something of type Documento from 'Documents and Areas (Source List)'. The two LookUp columns to which you are trying to save this information - Are they of the same type?

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

#2
11manish Profile Picture

11manish 214 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 185

Last 30 days Overall leaderboard