Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago
Solved

Create a Visual that Displays Prior Month Name

I would like to display the previous month in some sort of visual so I can create appropriate YTD - "Month" titles on my dashboards.  My data is refreshed every month, so the prior month would work b...
  • amitchandak's avatar
    6 years ago

    Try like

    Previous Month = format(date(year(today()), month(today())-1,1),"MMM-YYYY")

     

    You can change format as per need