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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Filtered gallery not s...
Power Apps
Answered

Filtered gallery not showing values

(0) ShareShare
ReportReport
Posted on by

Hello everyone,

I have a gallery reading from a sharepoint list (Business_Partners). As this list maps 83x83 entities (each entity is maped to the other 82 entities) I created a little filter on the gallery to show this relationships. The user selects a country and the gallery displays all possible combinations (from the sharepoint list).

 

rafaelcosta_0-1626794648988.png

My issue is, when starting the app and selecting the Entity on the dropdown box (left), the gallery does not update unless I select an element from the Business Partner Combobox (right). The Gallery items are a filtered version of the sharepoint list, and such filtering is based on both selections: 

"

If(
    IsEmpty(Combobox_Destination.SelectedItems.Dest_Country),
    Filter(Business_Partners, Origin = Dropdown_entity.Selected.Result),
    Filter(Business_Partners, Origin = Dropdown_entity.Selected.Result And Dest_Country in Combobox_Destination.SelectedItems.Dest_Country)
)

"

 

I believe this is a performance issue and when I select a value in the combobox, Powerapps is "forced". If I select a combobox value and unselect it, the expected full list is showed. 

 

Anyone have any idea on how to improve the performance? Or perhaps a different way to approach this?

 

Thanks!

Categories:
I have the same question (0)
  • zmansuri Profile Picture
    6,048 Super User 2024 Season 1 on at

    Filter(Business_Partners,
    Origin = Dropdown_entity.Selected.Result,
    Dest_Country in Combobox_Destination.SelectedItems.Dest_Country||IsEmpty(Combobox_Destination.SelectedItems))

  • Community Power Platform Member Profile Picture
    on at

    Hi @zmansuri , it did not solve the problem 😞 Works exactly as my If statement. 

  • zmansuri Profile Picture
    6,048 Super User 2024 Season 1 on at

    is Originin Choice type column or text Type?

  • Community Power Platform Member Profile Picture
    on at

    @zmansuri Single line of Text

     

    rafaelcosta_0-1626795809302.png

     

  • Verified answer
    zmansuri Profile Picture
    6,048 Super User 2024 Season 1 on at

    a7.jpg

    Filter(
    'List Name',
    Origin = Dropdown1.Selected.Result,
    IsBlank(ComboBox6.SelectedItems)|| Dest_Country in ComboBox6.SelectedItems
    )

  • Community Power Platform Member Profile Picture
    on at

    @zmansuri  Now it worked! Thanks!

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 711 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 319 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard