Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
1 year ago
Solved

Need help sorting a slicer with months

I need help sorting these months in the slicer below. The column in the slicer is MTDwithcur. I'm trying to use the Sorting column in the table below. Thanks.

 

 

 

 

2 Replies

  • Your sorting measure is not returning what you are wanting.

    Try it like this.

    Sorting =
    VAR DateYear = YEAR([Date])
    VAR DateMonth = MONTH([Date])
    RETURN DateYear * 100 + DateMonth