Good morning,
measure expressing a cumulative value is strangely not working:

Ordered (Packing) = CALCULATE(sum(Query1[Quantity ordered]),USERELATIONSHIP('Calendar'[Date],Query1[Planned Packing Date]))
**bleep** Orderedxxx = CALCULATE([Ordered (Packing)], filter(ALLSELECTED(Query1), Query1[Planned Packing Date]<=MAX('Calendar'[Date])))
while instead using same construction for Packed it's working fine (first 2 columns):
Packed = CALCULATE(sum(Query1[Quantity packed]),USERELATIONSHIP('Calendar'[Date],Query1[PackedDateKey]))
Ordered (Packing) = CALCULATE(sum(Query1[Quantity ordered]),USERELATIONSHIP('Calendar'[Date],Query1[Planned Packing Date]))
Also, total ytd quick measure is working fine as of last shown column.
Regards