cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
PabloGiraldo
Helper III
Helper III

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



Power BI Features || Datamarts: https://youtu.be/8tskWsJTEpg || Field Parameters : https://youtu.be/lqF3Wa1FllE?t=70
Time Intelligence Decoded : https://youtu.be/aU2aKbnHuWs&t=145s
Did I answer your question? Mark my post as a solution! Appreciate your Kudos !! Proud to be a Super User! !!
Dashboard of My Blogs !! Connect on Linkedin !! Subscribe to my youtube Channel !!
Want To Learn Power BI | Beginners !! Advance Concepts !! Power BI For Tableau User !!

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.



Power BI Features || Datamarts: https://youtu.be/8tskWsJTEpg || Field Parameters : https://youtu.be/lqF3Wa1FllE?t=70
Time Intelligence Decoded : https://youtu.be/aU2aKbnHuWs&t=145s
Did I answer your question? Mark my post as a solution! Appreciate your Kudos !! Proud to be a Super User! !!
Dashboard of My Blogs !! Connect on Linkedin !! Subscribe to my youtube Channel !!
Want To Learn Power BI | Beginners !! Advance Concepts !! Power BI For Tableau User !!

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

Capture.JPG

Helpful resources

Announcements
August 2022 update 768x460.jpg

Check it Out!

Click here to learn more about the August 2022 updates!

August 1 episode 9_no_dates 768x460.jpg

The Power BI Community Show

Watch the playback when Priya Sathy and Charles Webb discuss Datamarts! Kelly also shares Power BI Community updates.

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Top Solution Authors
Top Kudoed Authors