Forum Discussion

roger360's avatar
roger360
Frequent Visitor
1 year ago
Solved

Date slicer Reverse chronology

Tryting to setup date slicer in reserve chronological order i.e. latest months/dates first (December, November, October...)/(30, 29, 28...).    Was able to do so with the year only by selecting "so...
  • amitchandak's avatar
    1 year ago

    roger360 , Create three columns with Sort column

     

    Year1 = Year([Date])

    Year Sort = Rankx(Date, [Year],,desc,dense)

     

     

    Month 1= format([Date], "mmm")

    Month Sort = Rankx(Date, [Month No],,desc,dense)

     

     

    Day 1= day([Date])

    Day Sort = Rankx(Date, [Day],,desc,dense)

     

    Assume you already have year, month and day

     

    Create new column with sort column. and mark Sort column as sort column for new column

    Year sort to marked as sort column for year1. click on Year1 -> go to columns tool and Change Sort order to use Year Sort column 

     

    How to Create Sort Column and Solve Related Errors: 

    https://youtu.be/cyWVzAQF9YU?t=39560
    https://www.youtube.com/watch?v=KK1zu4MBb-c