Forum Discussion

powerbiexpert22's avatar
powerbiexpert22
Impactful Individual
2 years ago
Solved

filtering date table

i am using three tables customer , survey and date (calendar) i am trying to calculate rolling promoters for last 4 months i am using country as slicer i want to show rolling 4 month based on last...
  • Ashish_Mathur's avatar
    2 years ago

    Hi,

    Modify your measure to

    Rolling4monthPromoters = CALCULATE([Promoters],DATESINPERIOD('Date'[Date],[maxresponsedate],-4,MONTH))

    Hope this helps.