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 / Cascading Dropdowns an...
Power Apps
Unanswered

Cascading Dropdowns and Editable Grid Galleries

(0) ShareShare
ReportReport
Posted on by 7

Hello everyone

 

I tried a gazillon of different approaches to solve my issue but alas, I seem unable to. Maybe somebody around here is kind enough to point me into the right direction. My issue is as follows:

 

I have a canvas app connected to two Sharepoint lists. In the app I have a gallery set up as editable grid (similar to the one described by Reza Dorrani here). The grid is filtered by two cascading dropdowns outside of it. Dropdown 1 (DD1) is connected to Sharepoint list 1 (L1) and dropdown 2 (DD2) as well as the gallery are connected to Sharepoint list 2 (L2). DD1 filters on value V1 and DD2 filters on value V2. 

Unfortunately, connecting everything to the same Sharepoint list is not an option. This is because while V2 exists in both lists, while V1 exists only in L1. L1 is needed tough because it is an aggregation level to L2.

 

I was able to get everything to work as it should except for the case where a value is selected from DD1 while DD2 is left blank. In this case, I want all elements from L2 corresponding to the selected L1 to be shown in the gallery. But unfortunately, I cannot get the gallery to accept the filter on DD1. 

 

My last approach on the gallery's items looks like this (German punctuation is used - hopefully not too confusing for US users):

Sort(
    Filter(
        Ungroup(
            AddColumns(
                L2;
                "V1_added";
                LookUp(
                    ShowColumns(
                        L1;
                        "V2";
                        "V1"
                    );
                    L2.V2= L1.V2
                ).V1
            );
            "V1_added"
        );
        V2 = DD2.Selected.V2 || (IsBlank(DD2.Selected.V2) && V1_added = DD1.Selected.Value);
        varReset17
    );
    V3;
    SortOrder.Ascending
)

 

Thank you very much in advance for any pointers.

Categories:
I have the same question (0)

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!

Leaderboard > Power Apps

#1
Haque Profile Picture

Haque 103

#2
WarrenBelz Profile Picture

WarrenBelz 82 Most Valuable Professional

#3
wolenberg_ Profile Picture

wolenberg_ 67 Super User 2026 Season 1

Last 30 days Overall leaderboard