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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Error message when usi...
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:
I have the same question (0)
  • Michael E. Gernaey Profile Picture
    53,969 Moderator on at
    Hi
     
    Not without seeing the actual code, can't help you.
     
    Add photos of where this code is.
     
  • AlanR Profile Picture
    149 on at
    Hi FLMike, many thanks for answering - please see capture below - I hope this helps you to help me!
     
  • Suggested answer
    dmb Profile Picture
    12 on at
    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
    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?

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 530

#2
WarrenBelz Profile Picture

WarrenBelz 459 Most Valuable Professional

#3
Haque Profile Picture

Haque 314

Last 30 days Overall leaderboard