Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Building Power Apps
Answered

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

(0) ShareShare
ReportReport
Posted on by 621

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:
  • Verified answer
    ctedesco3307 Profile Picture
    621 on at
    Re: Filter combobox based on Choice column Value(s) in dataverse table

    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

  • ctedesco3307 Profile Picture
    621 on at
    Re: Filter combobox based on Choice column Value(s) in dataverse table

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

  • ctedesco3307 Profile Picture
    621 on at
    Re: Filter combobox based on Choice column Value(s) in dataverse table

    @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

  • Shaheer Ahmad Profile Picture
    2,194 Super User 2025 Season 1 on at
    Re: Filter combobox based on Choice column Value(s) in dataverse table

    Agree with the approach

  • v-zhoqian-msft Profile Picture
    Microsoft Employee on at
    Re: Filter combobox based on Choice column Value(s) in dataverse table

    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.

     

  • ctedesco3307 Profile Picture
    621 on at
    Re: Filter combobox based on Choice column Value(s) in dataverse table

    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

     

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,605 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,946 Most Valuable Professional

Leaderboard