Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago
Solved

Measure for Fortnightly

Hi Team,   Don't know if someone has already did this. I need a measure for "Fortnightly calculation". I have monthly and weekly but how to build the measure for "Fortnightly". Need a measure for...
  • v-chuncz-msft's avatar
    6 years ago

    Anonymous 

     

    You may use the following DAX to add a calculated column.

    Column =
    VAR d =
        MIN ( 'Table'[Date] )
    RETURN
        d
            + QUOTIENT ( DATEDIFF ( d, 'Table'[Date], DAY ), 14 ) * 14