Forum Discussion

Cardi0z's avatar
Cardi0z
Icon for Helper I rankHelper I
2 years ago
Solved

need help to create measure Previous Month value

Dear All,

need help to create measure for showing data about Previous Month value.
today i am trying create measure below :

pa_prev_month =
CALCULATE(
            SUM(PA[tot_prod]),
            PREVIOUSMONTH(PA[date_k].[Date])
        )


but, i am getting issue that value of previous month not calculated correctly


please help me