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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
Anonymous
Not applicable

Track status change over time between dates

Hi all,

 

I'm trying to calculate the status of certain records on a day-by-day basis between 2 dates (Opened and Closed). I also have a 3rd date column which helps us determining the actual status of a record. Here is the logic I'd like to apply:
- if close date > Expeceted close date --> the status should be Delayed

if close date <= Expeceted close date --> the status should be On Time

 

I'd like to end up with a graph (e.g.: linechart) where the X axis is Date and on the Y axis we can see the the sum of On Time and Delayed records separately over time. I recon I could create a new table with each day in it for each ID and calculate the actual status of that day on said ID, but I was looking for another solution, like 2 measures similar to this:


Number_of_OnTime =

CALCULATE(

COUNT('Table'[ID]),
'Table'[ExpectedCloseDate] >= Date_on_X-Axis)

 

Here is the link of the example file.

 

Thanks in advance!

 

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@Anonymous , You can use the Active employee method of HR to plot open. And then you can check for date for delayed

https://community.powerbi.com/t5/Community-Blog/HR-Analytics-Active-Employee-Hire-and-Termination-trend/ba-p/882970

 

Yet to check the file

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

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi @amitchandak,

thanks, that's what I'd been looking for, very smart!

amitchandak
Super User
Super User

@Anonymous , You can use the Active employee method of HR to plot open. And then you can check for date for delayed

https://community.powerbi.com/t5/Community-Blog/HR-Analytics-Active-Employee-Hire-and-Termination-trend/ba-p/882970

 

Yet to check the file

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
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors