Формула продаж месяца на сегодняшний день
MTD Sales = TOTALMTD( [Total Sales], 'DateTable'[DateColumn] )
Wide-eyed Wolf
MTD Sales = TOTALMTD( [Total Sales], 'DateTable'[DateColumn] )
MTD Sales =
CALCULATE (
[Total Sales],
FILTER (
ALL ( 'DateTable' ),
'DateTable'[DateYear] = MAX ( 'DateTable'[DateYear] ) &&
'DateTable'[DateMonth] = MAX ( 'DateTable'[DateMonth] ) &&
'DateTable'[Date] <= MAX ( 'DateTable'[Date] )
)
)