Forum Discussion

thampton's avatar
thampton
Helper III
6 years ago
Solved

Latest Day Column

I have a calendar table that generates from oct 1 2019 to current day.    Is there a formula i could write to add a column showing the latest date in each month (0/1 values). For example, column wo...
  • MFelix's avatar
    6 years ago

    Hi thampton ,

     

    Try the following calculated column:

     

    Column =
    SWITCH (
        TRUE ();
        'Calendar'[Date] = EOMONTH ( 'Calendar'[Date]; 0 )
            || 'Calendar'[Date] = TODAY (); 1;
        0
    )