Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
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(
Here is the link of the example file.
Thanks in advance!
Solved! Go to Solution.
@Anonymous , You can use the Active employee method of HR to plot open. And then you can check for date for delayed
Yet to check the file
@Anonymous , You can use the Active employee method of HR to plot open. And then you can check for date for delayed
Yet to check the file