Forum Discussion

loodle's avatar
loodle
Frequent Visitor
4 years ago
Solved

Help with MTD Measure

Just trying to use the MTD function for the following data:   Record Number Repair Date Status 1 1/1/2022 Closed 2 3/4/2022 Closed 3   Active 4 3/4/2022 Closed 5 3/18/2...
  • NickolajJessen's avatar
    NickolajJessen
    4 years ago

    Haha, i don't understand these MTD formulas at all 😂

    How about something more lowkey like:

    This month = 
    CALCULATE(
        DISTINCTCOUNT('Tabel (2)'[Record Number])
        ,FILTER('Calendar', 
            'Calendar'[Date] <= EOMONTH(TODAY(),0)
            && 'Calendar'[Date] >= (EOMONTH(TODAY(),-1)+1)
    
        )
    )

    Should give you data between 01-06-2022 and 31-06-2022