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?
Go to Solution.
@obuolys123 , refer if this blog can help
You need to have a week in date table and you need a measure
View solution in original post
Take a look at the September 2023 Power BI update to learn more.
Join Microsoft Reactor and learn from developers.