Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!
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 |
---|---|
140 | |
113 | |
104 | |
77 | |
65 |
User | Count |
---|---|
136 | |
117 | |
101 | |
71 | |
61 |