Hello, I need to find something like running total but it depends on start and end dates.
I have trucks that have start and end dates of working. I need to find how many trucks were working on particular weeks. Example below.
I have Trucks table with its plate number, start and end date and I have a Calendar table. Calendar table has relationship with truck table on Calendar[date] and Trucks[start_date].
The main problem is that I can't find a way to calculate all trucks that has start_date less than date of weeks in report.
Do you have any ideas how to count that?