Forum Discussion
Anonymous
4 years agoNot applicable
Limit running total by date
I have two datasets Plans PlanId | StartDate | Article | Required 1 | 01.01.22 | a | 5 1 | 02.01.22 | a | 10 1 | 02.01.22 | b | ...
- 4 years ago
Hi Anonymous ,
Please try following measure:
DeliveredByStartDate = CALCULATE(MAX('Deliveries Table'[Running Toal]),FILTER('Deliveries Table','Deliveries Table'[DeliveryDate] <= MAX('Plan Table'[StartDate])))Thwe result you want:
Best regards,
Yadong Fang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
v-yadongf-msft
Community Support
4 years agoHi Anonymous ,
Please try following measure:
DeliveredByStartDate = CALCULATE(MAX('Deliveries Table'[Running Toal]),FILTER('Deliveries Table','Deliveries Table'[DeliveryDate] <= MAX('Plan Table'[StartDate])))
Thwe result you want:
Best regards,
Yadong Fang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.