Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
PabloGiraldo
Helper IV
Helper IV

Percent Complete from dates

Have asked this a few times and not sure if it is possible.

 

Would like to create a percent complete using dates from my construction schedule to add to a card.

 

(today's date minus project start date) / (project finish date minus project start date)

link to pbix below. Screenshot also  shows what i am trying to do.

https://walshgroup-my.sharepoint.com/:u:/p/pgiraldoclavijo/EULCihOzBEZMtFJFyIW_DhsBV2UnsXseGlU3U9PFD... 

 

Thank you!

Capture.JPG

6 REPLIES 6
amitchandak
Super User
Super User

@PabloGiraldo ,

 

A new column

divide(datediff([start Date], today(), day), datediff([start date], [end date], day))

 

A new measure

AverageX(values(table[project id]), calculate(divide(datediff(min([start Date]), today(), day), datediff(min([start date]), max([end date]), day))))

Thanks! Forgot to mention. The min would not work because my construction schedule starts a month or so before 8/24/2020. I already tried what you suggested but did not work in my case. Any idea how to go about this? Trying to find a way to pick a specific date from my table.

Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.

@amitchandak Maybe this is simpler to understand what i am trying to do. Thanks!

Capture.JPG

Re: Project percent complete - Microsoft Power BI Community

Respectfully,
Zoe Douglas (DataZoe)



Follow me on LinkedIn at https://www.linkedin.com/in/zoedouglas-data
See my reports and blog at https://www.datazoepowerbi.com/

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.