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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Junaid11
Helper V
Helper V

Progress based on two dates

Hello,

I have a table for course start date and course completion. I want to get progress in % to see how much progress have been made. Like if it started in January and was to complete in December then on selection from slicer for june it should show how much was the progress based on the dates. It should be able to slice monthly except the last month, quarterly, yearly etc.There are different courses so the progress should be accumulative like total of progress based on dates. Hope you undestand.

I am attaching the data below.

Thank you

CourseAssignment DateCompletion DateCompletion Status
ABC23/03/202023/07/2021Complete
LFC08/04/202125/11/2022Complete
NML24/04/202229/03/2024Incomplete
PQL10/05/202101/08/2025Incomplete
2 REPLIES 2
v-jingzhang
Community Support
Community Support

Hi @Junaid11 

 

I don't quite understand the expected result. What do you mean by "the progress should be accumulative"? Do you want to have a progress value for every course?

 

And when you want to slice it monthly, quarterly or yearly, we need to specify a date to represent the month/quarter/year. You want to use the first date or the last date or other dates in that period? When selecting different dates to calculate the progress %, the results would be different. Can you give an example that which result is you expect?

 

Best Regards,
Community Support Team _ Jing

amitchandak
Super User
Super User

@Junaid11 , Try a measure like

 

measure =
var _max = maxx(allselected('Date'), 'Date'[Date])
return
divide(Sumx(Table,datediff(Table[Start Date],_max, Day)+1) ,Sumx(Table,datediff(Table[Completion Date],_max, Day)+1) )

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.