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 Apps
Answered

Progress Bar Color

(0) ShareShare
ReportReport
Posted on by 50

Hello everyone,

I'm new to PowerApps and would appreciate some guidance. I'm trying to create a progress bar within a gallery that changes color based on a SharePoint choice column (The value of the column is set using the SET() variable). The gallery populates it's items from OnStart Collection, and the items name match the choice column values (e.g., "Initiated," "Test1," "Test2").

My goal is to have the progress bar turn green for the current stage and previous stages, and gray for future stages. For example, if the choice column current value is set to "Test1," the "Initiated" and "Test1" items should be green.

Attached is a screenshot for reference.

Capture3.JPG
Capture2.JPG
Capture1.JPG
Categories:
I have the same question (0)
  • Verified answer
    WarrenBelz Profile Picture
    154,799 Most Valuable Professional on at

    Hi @husham86 ,

    Can you please remember to post your code in Text as it saves re-typing here. It also makes it much easier to read with all in view at the same time. Assuming that is a Gallery with the collection, then you can use

    If(
     ThisItem.IsSelected,
     Color.Green,
     Color.Grey
    )

     

    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.

    MVP (Business Applications)   Visit my blog Practical Power Apps

  • Shashank Bhide Profile Picture
    946 Moderator on at

    Progress bar is a built in component for powerapps, you can give it a try.

     

    https://learn.microsoft.com/en-us/power-apps/maker/canvas-apps/controls/modern-controls/modern-control-progress-bar

     

  • husham86 Profile Picture
    50 on at
    Thank You i will make sure add the coding moving forward!

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!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 530

#2
WarrenBelz Profile Picture

WarrenBelz 459 Most Valuable Professional

#3
Haque Profile Picture

Haque 314

Last 30 days Overall leaderboard