dax get last snapshot code example
Example: dax get last snapshot
UnitsInStockExtended:=CALCULATE(
SUM(SnapshotTable[ValueToGet]),
LASTNONBLANK (
SnapshotTable[Date],
CALCULATE (SUM(SnapshotTable[ValueToGet]))
)
)
UnitsInStockExtended:=CALCULATE(
SUM(SnapshotTable[ValueToGet]),
LASTNONBLANK (
SnapshotTable[Date],
CALCULATE (SUM(SnapshotTable[ValueToGet]))
)
)