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 and Filtering
Power Apps
Answered

Gallery and Filtering

(0) ShareShare
ReportReport
Posted on by 15

Hi,

 

I have a weird issue that I cannot solve and either I cannot work out what to search the web for to find this or I seem to be unique.

 

I have a gallery on a screen with three dropdown lists acting as filters. The gallery is going to be used to filter a list of news bulletins for our students to view.

Filtering options are as you can see in the screenshots, whole school, year group and form group.

The issue I am running in to is for example there are 3 news bulletins when you filter for the year 8 group, then you change that dropdown to year 7 and the results are all squashed up in one row at the top. If I select year 9 that has nothing and then go back to year 7 it works fine. This happens on any combination of filter.

 

What am I missing, it must be something stupid as I can't find another person having this issue?

 

Thanks

 

Mike

year8filter.png
year7filtercorrect.png
year7filter.png
Categories:
I have the same question (0)
  • Ami K Profile Picture
    15,687 Super User 2024 Season 1 on at

    @MSlater is that a Nested Gallery you're using? In other words, a Gallery inside another Gallery?

  • Verified answer
    ANB Profile Picture
    7,250 Super User 2026 Season 1 on at

    Hi @MSlater ,

    Does your gallery is flexible height gallery? If not then can you confirm if there is any code on TemplateSize of gallery? If yes, then try to change code of TemplateSize to some fixed number like 200 and then check the behavior.

     

    Basically as per my understanding the TemplateSize is getting reset and due to which the UI is getting disturbed.

     

    ------------------------------------------------------------------------------------------------------------------------------

    I hope this helps.

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs up.

    Thanks,
    ANB

  • MSlater Profile Picture
    15 on at

    Hi,

     

    No just on it's own. I have attached a screenshot of the screen inputs.

    the OnSelect code at the moment is this:

    Filter(
    LS_Student_Bulletins,
    Year=v_gal_ViewBulletins_Filter Or Form=v_gal_ViewBulletins_Filter
    )

     

    the v_gal_ViewBulletins_Filter is collecting the selected value from the dropdown lists.

     

    Thanks

     

    Mike

    Inputs.png
  • MSlater Profile Picture
    15 on at

    That was it. Stupid me I had not looked at the template size! It was still as I had dropped the gallery on the screen.

     

    Thanks for that.

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
wolenberg_ Profile Picture

wolenberg_ 119 Super User 2026 Season 1

#2
WarrenBelz Profile Picture

WarrenBelz 107 Most Valuable Professional

#3
Haque Profile Picture

Haque 103

Last 30 days Overall leaderboard