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 / Progress Bar in Galler...
Power Apps
Unanswered

Progress Bar in Gallery based on result in anither gallery

(0) ShareShare
ReportReport
Posted on by 321

Hi, this might be a tricky one to explain but i'll do my best.

 

I have an App to manage work items. I have a Higher Level screen, with a gallery linking to Sp list 'highlevelplans'

 

I have a second screen which contains a gallery containing all the lower level plans attached to the selected higher level gallery item selected.

 

The lower details sp list is lowerlevel plans.

 

Id like to add a progress bar on the higher level gallery, which shows % or project complete.l based on the status of the lower level details (status choices are 'Not Started', 'In Progress' and 'Complete', there are several iteams in each lower level detail for specific projects.

 

Thanks in advance.

Categories:
  • SkiDK Profile Picture
    1,016 on at

    Hi @JimboSey 

     

    I made a quick small demo with a collection, but you can use it on sharepoint lists as well.

     

    SkiDK_0-1643729167796.png

    Add two rectangles. The light blue one is the base bar, which represents 100% or full width. The second darker blue bar will then take the width of the light blue one into account. Then you just need to calculate percentage of completed tasks to total tasks: total tasks / completed tasks.

     

    In width property of the dark blue bar you can do something like next:

     

     

    CountRows(Filter(colTest, status = "complete"))/CountRows(colTest) * (Rectangle1.Width - 24)

     

     

    Note the '-24' due keeping margin of 12 on each side of the bar. You can also replace the '(Rectangle1.Width - 24)' with the max width (100%) you'd like for the progress bar if you don't need a background bar.

     

    Hope this helps!

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 396 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 323

#3
WarrenBelz Profile Picture

WarrenBelz 193 Most Valuable Professional

Last 30 days Overall leaderboard