web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Power Apps - Building Power Apps
Suggested answer

Two combobox Nested filter

(0) ShareShare
ReportReport
Posted on by 140
Hello all,
 
I have Dataverse table and there are two different columns in this table.
The type of these columns are "Choice" and I already defined the values in the dataverse table side.
 
Column values of LR:
- A, B C
Column values of LRx:
- 10, 20, 30, 40, 50
 
According to my scenario in Power Apps;
> When I select value "A" in the LR combobox, I want to see only value "10" in the LRx combobox.
> When I select value "B" in the LR combobox, I want to see only value "20" and "30" in the LRx combobox.
> When I select value "C" in the LR combobox, I want to see only value "40" and "50" in the LRx combobox.
 
I tried filter option but it didn't work. How can I handle that? Thanks.
 
Categories:
I have the same question (0)
  • Suggested answer
    Nandit Profile Picture
    1,568 Moderator on at
    Two combobox Nested filter
    Hi ernu,
     
    For the kind of behaviour you are trying to achieve, it makes more sense to have the Dropdown control instead of a ComboBox control (at least for LR). If you still wish to use Combobox, update the SelectMultiple property of the first Combobox to false. 
     
    Here's how I did it:
    Items property of the First Combobox:
    Choices(DVTable.LR)
     
    Items property of the Second Combobox:
    Switch(
        ComboBox1.Selected.Value,
        'LR (DVTable)'.A,
        Filter(
            Choices(DVTable.LRx),
            Value = 'LRx (DVTable)'.'10'
        ),
        'LR (DVTable)'.B,
        Filter(
            Choices(DVTable.LRx),
            Value = 'LRx (DVTable)'.'20' || Value = 'LRx (DVTable)'.'30'
        ),
        'LR (DVTable)'.C,
        Filter(
            Choices(DVTable.LRx),
            Value = 'LRx (DVTable)'.'40' || Value = 'LRx (DVTable)'.'50'
        ),
        Choices(DVTable.LRx)
    )
    This is how it works (works the same way for both Classic and Modern Controls):
    Classic Controls
     
    Modern Controls
     
    Hope this helps. 
     
    Kind regards,
    Nandit
     
    If this answers your query, please mark this response as the answer.
    If its helpful, please leave a like. Thanks!
     
  • Nandit Profile Picture
    1,568 Moderator on at
    Two combobox Nested filter
    Hi,

    Following up to check if you were able to solve this issue using my suggestion?

    Kind regards,
    Nandit

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 663 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 398 Super User 2025 Season 2

#3
developerAJ Profile Picture

developerAJ 235

Last 30 days Overall leaderboard