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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
ye348
Frequent Visitor

Getting milestone dates

Hi all im trying to do something in powerbi that will allow me to highlight specific dates as my milestone dates. at the moment i have two different columns that calculate percent complete, one is the actual and one is the planned or projected rate. the projected rate just uses the start and end dates as a range and divides the total number of elements im trying to compelte by the duration of days in the start/end dates for each company. What I would like to be able to do is return a table that calls or returns a date for when my expected or planned rate should be at 25, 50, 75 & 100 percent complete. just as a disclaimer the dates on the milestone table are just arbitrary

Input data    
companyPercent complete (actual)Percent complete (planned)start dateend date
A204310/7/202412/3/2024
B34929/8/202412/4/2024
C62109/9/202412/5/2024
D95539/10/202412/6/2024
     
     
Expected result    
companyMilestone Dates at 25%Milestone Dates at 50%Milestone Dates at 75%Milestone Dates at 100%
A11/5/202411/13/202411/23/202412/3/2024
B11/6/202411/14/202411/24/202412/4/2024
C11/7/202411/15/202411/25/202412/5/2024
D11/8/202411/16/202411/26/202412/6/2024
1 ACCEPTED SOLUTION

Please check the attached, it may address your problem.

 

If it solved your problem then please mark it as the solution so others can see it.

 

Best,

 



If the post helped then please give it a Kudos and mark it as the solution so others can see it.
Cheers,

View solution in original post

4 REPLIES 4
MNedix
Super User
Super User

Heya,

I don't really understand the logic you're trying to implement. I assume the dates are US format (Month/Day/Year) - the end date should be after start date. A simple calculation would return 57 days between start and end for Company A. If you calculate the milestone date only based on this variable, 25% would be ~14 days which added to the start date of 7th of October would mean 21st of October not 5th of November.

Unless I misunderstand the whole problem. How did you get to the 5th of November?

 

Cheers



If the post helped then please give it a Kudos and mark it as the solution so others can see it.
Cheers,
ye348
Frequent Visitor

my apologies, i really just filled in arbitrary dates for the milestone dates, but the logic is it would return a date for me thats within that start/end range that would correspond to when the planned rate should be at 25, 50, 75%, etc... complete

Please check the attached, it may address your problem.

 

If it solved your problem then please mark it as the solution so others can see it.

 

Best,

 



If the post helped then please give it a Kudos and mark it as the solution so others can see it.
Cheers,
ye348
Frequent Visitor

yes this was exactly what i was looking for, thank you.

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.