Forum Discussion

JamesUhlenkamp's avatar
JamesUhlenkamp
Regular Visitor
5 years ago
Solved

Establishing academic year

I have a table which includes events that happened on single date. The date format is 5/9/2016, for example. I need to report that the event happened in AY2015-16.  The academic years run 7/1/yyyy-6/...
  • Anonymous's avatar
    Anonymous
    5 years ago

    JamesUhlenkamp 

    Please create the following calculate column to get the expected result.

     

    Year = IF([Date].[MonthNo]<=6&&[Date].[Day]<=31,
    CONCATENATE([Date].[Year]-1,CONCATENATE("-",RIGHT([Date].[Year],2))),
    CONCATENATE([Date].[Year],CONCATENATE("-",RIGHT([Date].[Year]+1,2))))

     

     

    Paul Zheng _ Community Support Team
    If this post helps, please Accept it as the solution to help the other members find it more quickly.