Forum Discussion

Estefania89's avatar
Estefania89
New Member
10 years ago
Solved

PREVIOUSMONTH

Hello! Attempt to calculate the sales of the previous month using this function: SP= CALCULATE ( SUM ( Table1 [number ] ) ; previousMonth (Table 2 [DATA ] ) )   However, the function does not ret...
  • Vvelarde's avatar
    Vvelarde
    10 years ago

    Finally you can use your measure:

     

    SP= CALCULATE ( SUM ( Table1 [number ] ) ; previousMonth (CalendarTable [DATE ] ) )