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 combobox based ...
Power Apps
Answered

Filter combobox based on Choice column Value(s) in dataverse table

(0) ShareShare
ReportReport
Posted on by 967

Short story is my app has a combo box that references a Dataverse table in Items 

I want to filter the Items based on another combo box selected items that matches to a choice list column on this table. How Do I write the syntax for the choice column? This below can't compare Table to Text. The choice column also includes multiple values

 

Thanks in Advance!!

ctedesco3307_0-1684332586357.png

ctedesco3307_1-1684332596301.png

ctedesco3307_2-1684332613040.png

 

 

Categories:
I have the same question (0)
  • ctedesco3307 Profile Picture
    967 on at

    I got this far to get rid of the error message but I still  can't get any results. 

    Additionally - Platform is the choice column I'm searching on  but the column I want to return in Specification is Materials

    ctedesco3307_0-1684338452840.png

     

  • v-zhoqian-msft Profile Picture
    Microsoft Employee on at

    Hi @ctedesco3307 ,

     

     

    You could set the OnChange property of cmbplatform to

    ClearCollect(coll,cmbplatform.SelectedItems)

    Then use coll as the data source of combo box2.

     

    vzhoqianmsft_2-1684376496083.png

     

    vzhoqianmsft_4-1684376657412.png

     

     

     

     

     

     

     

     

     

    Best Regards,

    Habsburg Qian

    If this post helps, then please consider Accept it as the solution to help the other members find it.

     

  • Shaheer Ahmad Profile Picture
    2,194 Moderator on at

    Agree with the approach

  • ctedesco3307 Profile Picture
    967 on at

    @v-zhoqian-msft Thank you for the info, however - I don't want the platform values to be in ComboBox2. I want Materials to be in ComboBox2. The Materials I want to show, are filtered by the Platform values selected in cmbplatform

  • ctedesco3307 Profile Picture
    967 on at

    @ShaheerAhmad Please see my reply to @v-zhoqian-msft 

  • Verified answer
    ctedesco3307 Profile Picture
    967 on at

    Filter(WIRS_PMaterials,cmbplatform.Selected.Platform in Concat(Platform,Value))

    cmbplatform.Selected.Platform is the combobox I am filtering from 

    Concat(Platform,Value) is Platform is the GlobalChoice column in WIRS_PMaterial

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 June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 326 Most Valuable Professional

#2
11manish Profile Picture

11manish 168

#3
sannavajjala87 Profile Picture

sannavajjala87 75 Super User 2026 Season 1

Last 30 days Overall leaderboard