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,963 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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 320 Most Valuable Professional

#2
11manish Profile Picture

11manish 210

#3
Valantis Profile Picture

Valantis 167

Last 30 days Overall leaderboard