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 / Filter combobox based ...
Power Apps
Unanswered

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

(0) ShareShare
ReportReport
Posted on by 690

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
    690 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
    690 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
    690 on at

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

  • Verified answer
    ctedesco3307 Profile Picture
    690 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

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

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 327 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard