Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Building Power Apps
Unanswered

adapting gallery height to items count not working anymore

(0) ShareShare
ReportReport
Posted on by 676
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:
  • HansHeintz Profile Picture
    676 on at
    adapting gallery height to items count not working anymore
    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.
  • HansHeintz Profile Picture
    676 on at
    adapting gallery height to items count not working anymore
    It seems that for the time being
    Sum(Self.AllItems,MyVariable) is a workaround solution until Microsoft has refurbished the sum function
     

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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 791 Most Valuable Professional

#2
MS.Ragavendar Profile Picture

MS.Ragavendar 410

#3
mmbr1606 Profile Picture

mmbr1606 275 Super User 2025 Season 1