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 / Gallery Gets Empty aft...
Power Apps
Unanswered

Gallery Gets Empty after reset filter(Canvas app)

(0) ShareShare
ReportReport
Posted on by 6

Hi All,

 

I am trying to apply filter for a gallery and it is working as well, but it's only when i click on reset filter the data on the gallery goes blank.

If i manually remove data from filter it's working fine, only facing challenge when clicking on reset.

 

In screen shot 1 i have highlighted the expression i have written on gallery item.

In Screen shot 2 i have highlighted what expression i have set for reset button.

 

Please help, by the way i have followed rezza durani video on YouTube for this solution.

 

ScreenShot 1

ScreenShot1.png

 

 

ScreenShot 2

 

ScreenShot2.png

Categories:
  • anandm08 Profile Picture
    1,936 Super User 2024 Season 2 on at

    hi @Srikant1 ,

    past the code so that we can check it.

  • Srikant1 Profile Picture
    6 on at
    Code for Item Gallery
     
     
    Search(
        Filter(
            'Case Management',
            IsBlank(ComboBox1.SelectedItems.Value) || IsEmpty(ComboBox1.SelectedItems) || 'Case Status' = ComboBox1.Selected.Value,
            IsBlank(ComboBox1_1.SelectedItems.Value) || IsEmpty(ComboBox1_1.SelectedItems) || 'Process Name' = ComboBox1_1.Selected.Value
        ),
        TextInput4.Text,
        'Case ID'
    )
     
     
    Code for Reset Button
    Reset(TextInput4);
    Reset(ComboBox1);
    Reset(ComboBox1_1)
  • anandm08 Profile Picture
    1,936 Super User 2024 Season 2 on at
    Search(
     Filter(
     'Case Management',
     IsBlank(ComboBox1.Selected.Value) || 'Case Status' = ComboBox1.Selected.Value,
     IsBlank(ComboBox1_1.Selected.Value) || 'Process Name' = ComboBox1_1.Selected.Value
     ),
     TextInput4.Text,
     'Case ID'
    )

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

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 342 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 283

#3
Mohsin Ali Profile Picture

Mohsin Ali 221

Last 30 days Overall leaderboard