Forum Discussion

TanguyM's avatar
TanguyM
Regular Visitor
4 years ago

Calculate active contract having missing dates

Hello, 

 

In my dataset, I have only the date where contracts change state from active to inactive or inacitve to active.
The day with no change, there a no row for the contract.

My problem is that I must count the number of active contract every day, like in the image below.

How can I do that in DAX ?
Thanks

2 Replies