cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
w1sd0m
Advocate II
Advocate II

Optimization: Filter Third Gallery based on AllItems in Second Gallery

Hello friends,

 

I have 3 galleries on one screen. 

 

Gallery A = Domain (dataverse table) 1-* 

Gallery B = Category (dataverse table) 1-*

Gallery C = Subcategory (dataverse table) *-1

 

If I select an item in Gallery A it filters all items in Gallery B; It also will filter Gallery C based on AllItems in Gallery B with this code:

Filter(
    Ungroup(
        ForAll(
            galCategory.AllItems.Category As P,
            Filter(
                Subcategories,
                ThisRecord.Category.Category = P.Category
            )
        ),
        "Value"
    ),
    !IsBlank(cr50e_Category)
)

 

 

Can this be done without the 5 functions? Is there a more efficient way to accomplish this filtering? It is kind of slow with only two items in there and filtering down to one.

 

w1sd0m_0-1636691418773.png

 


Thanks!

1 REPLY 1
imranfc
Frequent Visitor

Hello sir, 
  how to upload  and import Leaver Request app develop by Reza.
 my issue when i am trying to upload this app zip file the file upload normally but not appear in my app list 
 how to solve this issue kindly help about this topic ?

Helpful resources

Announcements
Power Apps Africa Challenge 2022

Power Apps Africa Challenge

Your chance to join an engaging competition of Power Platform enthusiasts.

Super User 2 - 2022 Congratulations

Welcome Super Users

The Super User program for 2022 - Season 2 has kicked off!

September Events 2022

Check out all of these events

Attend in person or online, there are incredible conferences and events happening all throughout the month of September.

Government Carousel

New forum: GCC, GCCH, DoD - Federal App Makers (FAM)

In response to the unique and evolving requirements of the United States public sector, Microsoft has created Power Apps US Government.

Users online (4,182)