Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
7 years ago
Solved

Return current month name in a calculated column

Hi   I have a table following   Date                                 04-04-2019 01-01-2019 02-02-2019 if  Date coumn having current month then return a current monthe name(Apr)    Expect as...
  • v-lili6-msft's avatar
    7 years ago

    hi, Anonymous 

    Just use this simple formula to add a column

    Column = IF(YEAR('Table'[Date])=YEAR(TODAY())&&MONTH('Table'[Date])=MONTH(TODAY()),FORMAT ( 'Table'[Date], "mmm" ) )

    Result:

     

    Best Regards,
    Lin