cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Gorilla_8
Post Prodigy
Post Prodigy

MAKE A PROGRESS BAR SIMPLE

I have a connection to the project and I have an item with a value from 0 to 100 and I want to show it as the task represents, what would be the best way to make this progress bar work?

 

PROGRESSBAR.png

1 ACCEPTED SOLUTION

Accepted Solutions

@Gorilla_8 

Thank you. Try this:

 

(ThisItem.TrabalhoPercentulaldaTarefraConcludio/100)*385

 

---

Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."

 

View solution in original post

11 REPLIES 11
mdevaney
Super User III
Super User III

@Gorilla_8 
Yes, I can help.

 

Make a new label with this code in the Fill property.  It will be your progress bar.

Green

 

Let's say the label should be 250 pixels  wide at 100% completed.  Put this code in the Width property

your_project_value/250


your_project value should be changed to some reference to your project value in the database.

 

---
Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."

Hi @mdevaney 

 

Isn't working...

 

 

trabalho.pngtrabalhopercentual.png

 

There is a rectangle with the code....

@Gorilla_8 
What value did you expect ThisItem.TrabalhoPercentulaldaTarefraConcludio?  It looks like the formula is working, so maybe your value is already a percentage and we don't need to divide.

If it is a percentage, please apply this formula instead.

ThisItem.TrabalhoPercentulaldaTarefraConcludio*100

 

---
Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."

Hi @mdevaney 

 

Now its too big...

 

trabalhopercentual.png

@Gorilla_8 

You must answer my question.  What value does SharePoint currently hold for % complete.  Please show a screenshot.

@mdevaney  0  to 100

@Gorilla_8 

Tell me:

 

How long should the progress bar be at 100% in pixels?
What is the current value of project complete %?  Share a screenshot of SharePoint as proof

@mdevaney Its a gallery with different values

 

Its from project too

 

 

See the screenshot...

 

trabalhopercentual.png

 

@mdevaney 

 

How long should the progress bar be at 100% in pixels?

 

Width 100% == 385

 

What is the current value of project complete %?

 

Its 100 in this Item I show you, but can be 0 to 100

 

Share a screenshot of SharePoint as proof...

 

Its a project connection, look above

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Carousel April Dunnam Updated 768x460.jpg

Urdu Hindi D365 Bootcamp

Dont miss our very own April Dunnam’s The Developer Guide to the Galaxy! Find out what the Power Platform has to offer for the traditional developer.

Top Solution Authors
Top Kudoed Authors
Users online (2,517)