Thank you for your answer, it helped me a lot!
Now I meet another challenge. I have this graph :
Here, I have all the document that have been delivered on time, late and those who are late and not delivered before the line “Aujourd’hui” and those that are planned to be on time, late for the future.
For the measure, I used yours and I added some new function, this is the measure for the document that are planned to be on time in the future :
[Issue].CurrentHierarchyMember.Get(‘Initial due date’)
[Measures].[Issues with due date] >0 and (DateBeforePeriodEnd(“Today”, [Time].CurrentHierarchyMember)
My problem is that I would like to consider the current month as a future month because the result of the request in this month combine the measure for the future and the past and I don’t want that… Do you know how to add this condition?