Answers for "Month To Date Sales formula"

0

Month To Date Sales formula

MTD Sales = TOTALMTD( [Total Sales], 'DateTable'[DateColumn] )
Posted by: Guest on August-24-2021
0

Month To Date Sales formula

MTD Sales = 
    CALCULATE (
          [Total Sales],
          FILTER (
               ALL ( 'DateTable' ),
                    'DateTable'[DateYear] = MAX ( 'DateTable'[DateYear] ) &&
                    'DateTable'[DateMonth] = MAX ( 'DateTable'[DateMonth] ) &&
                    'DateTable'[Date] <= MAX ( 'DateTable'[Date] ) 
       )
    )
Posted by: Guest on August-24-2021

Browse Popular Code Answers by Language