Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Building Power Apps
Unanswered

Filtering One Sharepoint List Choice by the value in another field.

(2) ShareShare
ReportReport
Posted on by 10

Caveat: I am very new to PowerApps. 

I have seen some similar problems reported, but none are exactly what I am trying, and those solutions have not worked for me. 

I have a Sharepoint list used to track an item fault. I want to be able to categorize those faults using two choices, one is a broad category, and the second is a more specific callout, based on the first. I want to filter the choices in the second column by what is selected in the first column. 

I have tried building separate lists and linking them, and I have tried making choice columns in the same list and cannot get either to work properly. 

 

fault parentfault child
11.B
11.C
11.D
11.E
11.F

 

For clarity - when entering the record, I want the parent column to dictate the choices in the child column, based on a table or list of choices. 

  • Cryolith Profile Picture
    10 on at
    Re: Filtering One Sharepoint List Choice by the value in another field.

    Cryolith_0-1721138593814.png

     

    Still getting this error. Fixed the reference to the correct DataCardValue, but values still aren't recognized? 

     

  • Ami K Profile Picture
    15,665 Super User 2024 Season 1 on at
    Re: Filtering One Sharepoint List Choice by the value in another field.

    "Still is not working" is not very specific @Cryolith. It would have helped if you shared what the error message was.

     

    Assuming all of the assumptions I raised in my previous post are correct, and assuming you're using an EditForm control, then above will work.

     

    I do notice in your code that you're referencing a control called "DataCardKey5".

     

    The "DataCardKey" naming convention is always applied to the Label inside the DataCard. What you are supposed to be referencing is that ComboBox control inside that DataCard (it will always start with "DataCardValue" followed by a number (e.g. "DataCardValue1").

  • Cryolith Profile Picture
    10 on at
    Re: Filtering One Sharepoint List Choice by the value in another field.

    I think that what you are saying is even if I can get the form to work, it still won't function that way in the database list?

  • Cryolith Profile Picture
    10 on at
    Re: Filtering One Sharepoint List Choice by the value in another field.

    Still is not working. Am I doing something wrong with the references? 

    Cryolith_0-1720793454230.png

    ""Distinct(
        Filter(
            'DefectChildren'',
            'DefectParent'.Value = DataCardKey5.Selected.Value
        ),
        'DefectChildren'.Value
    )

    ""

  • SunilPashikanti Profile Picture
    731 Super User 2025 Season 1 on at
    Re: Filtering One Sharepoint List Choice by the value in another field.

    Are you looking the cascading (parent - child) dropdown behavior on SharePoint list, if yes, I don't think it is possible.

     

    You can modify/customize the SharePoint form in PowerApps and achieve this functionality and still users can use the same SharePoint form only.

     

    SunilPashikanti_0-1720648473479.png

     

  • Ami K Profile Picture
    15,665 Super User 2024 Season 1 on at
    Re: Filtering One Sharepoint List Choice by the value in another field.

    @Cryolith - assuming both Choice fields have been configured as single-select Choices in your SharePoint list, and assuming your post is about Dropdown/ComboBox controls, you could use the below in the Items property of the "Fault Child" Dropdown control:

     

    Distinct(
     Filter(
     'Your List',
     'fault parent'.Value = Dropdown1.Selected.Value
     ),
     'fault child'.Value
    )

     

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,660 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,999 Most Valuable Professional

Leaderboard