Hello, I need to find something like running total but it depends on start and end dates.
Situation:
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?
Solved! Go to Solution.
@obuolys123 , refer if this blog can help
You need to have a week in date table and you need a measure
Concatenatex(Table, Table[Truck])
@obuolys123 , refer if this blog can help
You need to have a week in date table and you need a measure
Concatenatex(Table, Table[Truck])
User | Count |
---|---|
129 | |
61 | |
55 | |
54 | |
43 |
User | Count |
---|---|
128 | |
60 | |
57 | |
56 | |
50 |