In a recent training session, Brian Knight from Pragmatic Works explored how to implement cascading lookups in Power Apps Model-Driven Applications and Power Pages. This feature enhances user experience by ensuring that drop-down selections are filtered logically, avoiding irrelevant or frustrating results.
Imagine a user selecting "United States" as a country but still seeing Canadian provinces in the next drop-down, or choosing "Florida" only to see cities from Georgia. Such mismatches lead to confusion and errors. Cascading lookups solve this problem by filtering dependent lists so users only see relevant values based on their first selection.
To demonstrate, Brian prepared a simplified model with three tables:
The goal was to ensure that when a user selects a product category in the order form, only the matching service types appear in the next lookup field.
Brian began by creating lookup columns to establish relationships:
These lookup columns provide the necessary referential integrity to connect parent and child tables.
Next, Brian edited the main order form:
Initially, without filtering, the service type drop-down displayed all available services regardless of category—a confusing experience for users. To fix this, Brian enabled cascading logic.
Inside the form settings for the Service Type column, he:
After saving and publishing, Brian demonstrated how choosing “Cars” now filtered the service type list to only display services related to cars. The same applied when selecting “Planes” or “Bikes.”
The cascading lookup functionality also applies to Power Pages. After refreshing the Power Page preview, Brian selected a product category, and only the relevant services appeared. He noted that Power Pages also allow configuring the lookup field as a drop-down for a more compact UI experience.
Brian addressed a common question: can cascading logic be applied to choice (option set) columns instead of lookup tables? The answer is yes, but it requires JavaScript customization, which adds complexity. For simpler, no-code implementations, storing options in lookup tables is recommended.
Brian summarized cascading lookups in two critical steps:
This approach ensures data integrity, streamlines user input, and creates a more intuitive application.
At Pragmatic Works, training goes beyond tutorials. The team provides:
By applying cascading lookups, developers and business users can significantly improve application usability while maintaining clean data relationships.
Don't forget to check out the Pragmatic Works' on-demand learning platform for more insightful content and training sessions on Power Apps and other Microsoft applications. Be sure to subscribe to the Pragmatic Works YouTube channel to stay up-to-date on the latest tips and tricks.