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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
Sept PBI Carousel

Power BI Monthly Update - September 2024

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

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

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