Forum Discussion

M_SBS_6's avatar
M_SBS_6
Icon for Helper V rankHelper V
2 years ago
Solved

Date Column based on selected period

Hi,  I have a date column app_date of which I need to create my next column from.    What I'm trying to do in this date column is create a rolling date from today's date. If today, I want to have ...
  • ryan_mayu's avatar
    ryan_mayu
    2 years ago

    M_SBS_6 

    maybe you can try this

    New_date_flag = 
    if(today()-'Table'[App_date]<=14,"Rolling current year",if(EDATE(today(),-12)-'Table'[App_date]<14&&EDATE(today(),-12)-'Table'[App_date]>=0 && year('Table'[App_date])=year(today())-1,"rolling previus year")
    )

    pls see the attachment below