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

adapting gallery height to items count not working anymore

(0) ShareShare
ReportReport
Posted on by 711
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
    711 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
    711 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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Valantis Profile Picture

Valantis 483

#2
WarrenBelz Profile Picture

WarrenBelz 399 Most Valuable Professional

#3
11manish Profile Picture

11manish 327

Last 30 days Overall leaderboard