Forum Discussion

PalexRF's avatar
PalexRF
Regular Visitor
8 years ago
Solved

How to count months in filter?

Hello.  I have a filter from the calendar table. I need to calculate the number of months between the start date and the end date of the filter. How can i do this? Thanks in advance for answers
  • parry2k's avatar
    8 years ago

    add a measure

     

    number of months = DATEDIFF(Min(Calendar[Date]) MAX(Calendar[Date]), Month)