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 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.

Categories:
I have the same question (0)
  • Verified answer
    WarrenBelz Profile Picture
    153,061 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
    942 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

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

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 319 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard