Berechnung Bestand (zum Beispiel SAP MSEG) über Bewegungen (Zugänge und Abgänge).

 

QuantityPC running total in Date =
CALCULATE(
    [Quantity];
    FILTER(
        ALL(MSEG[PostingMonthDate]);
        ISONORAFTER(MSEG[PostingMonthDate]; MAX(MSEG[PostingMonthDate]); DESC)
    )
)