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 / adapting gallery heigh...
Power Apps
Unanswered

adapting gallery height to items count not working anymore

(0) ShareShare
ReportReport
Posted on by 704
Hi,
 
I have multiple instances (mainly menu's) where I adapt the height of a gallery to the number of items.
 
Since a week this is not working anymore, the gallery is invisible.
 
Heigth:
CountIf(Self.AllItems,true)*(Self.TemplateHeight+2)
 
Or
 
Self.AllItemsCount*(Self.TemplateHeight+2)
 
The problem is not only in the editor but also in the live version.
When I alter the code of the height (fe the 2 in a 3) the gallery re-appears. If I change it back (3 to 2) the gallery remains visible.
This code has been working for years. The problem is not only with one gallery but throughout the app.
 
What could be happening?
Categories:
I have the same question (0)
  • HansHeintz Profile Picture
    704 on at
    It seems that for the time being
    Sum(Self.AllItems,MyVariable) is a workaround solution until Microsoft has refurbished the sum function
     
  • HansHeintz Profile Picture
    704 on at
    I have encountered at least one instance where also sum is not working. It seems I nees to spent all my time on this low code platform now to recode everything every time because the rules have changed while users are complaining my app is not working all the time. This is killing me.

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 739 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard