Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Building Power Apps
Suggested answer

Error message when using one drop down choice to filter the choices on another

(0) ShareShare
ReportReport
Posted on by 149
Hi there, I am trying to limit the choices presented in one dropdown based on the selection in another. The functionality is working in that regard but when I open the app I get the errors below - one of each of the dropdowns I am trying to filter - does anyone know how to fix this?
 
Aln
 
Categories:
  • AlanR Profile Picture
    149 on at
    Error message when using one drop down choice to filter the choices on another
    Guys, many thanks for the help. I am making some progress. I now have the app "error free" in the editor - i.e. no red "x" marks when I open the app. The filtering between the check boxes is working as I was hoping however I still get the two error messages I posted here when I open the app on my phone. I can close out the error messages and the app then functions as it should. Any ideas on what I am missing given this?
  • Suggested answer
    dmb Profile Picture
    12 on at
    Error message when using one drop down choice to filter the choices on another
    Based on the code that you have shown, it seems that the 3rd param of the If expression is wrong. When falsy, you should return a filtered table - use the Filter formula: https://learn.microsoft.com/en-us/power-platform/power-fx/reference/function-filter-lookup
    You can also wrap it with Sort for better user experiense: https://learn.microsoft.com/en-us/power-platform/power-fx/reference/function-sort
  • AlanR Profile Picture
    149 on at
    Error message when using one drop down choice to filter the choices on another
    Hi FLMike, many thanks for answering - please see capture below - I hope this helps you to help me!
     
  • Michael E. Gernaey Profile Picture
    41,322 Super User 2025 Season 1 on at
    Error message when using one drop down choice to filter the choices on another
    Hi
     
    Not without seeing the actual code, can't help you.
     
    Add photos of where this code is.
     

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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

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

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,015 Most Valuable Professional

Leaderboard