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
NaCl-y
Frequent Visitor

Need help calculating recursive Past Overdues

I'm trying to build a Line and Chart column chart. In the first bar, i would like to put in the Plan Finish and have another bar on top that shows the Past Overdue (overdue from previous month). In the line, i would put the Actual Finish. 

 

I have already calculated the number of Plan Finish and Actual Finish seen below. I've made a Date Table and connect it to the Plan Finish and Actual Finish column. And i counted the dates that are in the specified month.

Nb of Plan = CALCULATE(Count(EngineFeedback[PLAN FINISH])) 

Nb of Actual = CALCULATE(Count(EngineFeedback[PLAN FINISH]),USERELATIONSHIP('Date Table'[Date],EngineFeedback[ACTL.FINISH]))

I'm having trouble calculating and expressing the Past Overdue on DAX. It works this way, (Plan Finish + Past Overdue) - Actual Finish = Overdue. And this Overdue will become the Past Overdue for the next month of production. It is recursive and i don't know how to implement it.

 

Thanks in Advance!

1 REPLY 1
v-chuncz-msft
Community Support
Community Support

@NaCl-y,

 

You may check if the following discussion helps.

http://community.powerbi.com/t5/Desktop/Relational-Date-Filter-By-Other-Date-How-To/td-p/298373

Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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