Forum Discussion
Months Order by
hi,
i have a slicer with months list, sorted on descending order
for example:
Dec
Nov
oct
same if it will be numbers:
12
11
10
the problem, now we are on January, the List is now
Dec Noc Oct Jan
i created a calculated column -if jan then 1 if dec then 2 etc... to sort it correctly
the problem is that i need to change this calculated column every new month
is someone have an idea how to sort it?
thanks!
6 Replies
- tringuyenminh92
Memorable Member
Hi MP_123,
You could create condition column in Query Editor for 12 months, but i dont understand "change this calculated column every new month"?
- MP_123
Microsoft Employee
what i meant is that:
if now we are on January so the calculated Column will be
Jan - 1
Dec - 2
Nov - 3
etc..., Feb will be 12 because it will be the last.
but when we will get to February, its value should be 1, Jan 2 and Dec 3
- tringuyenminh92
Memorable Member
Hi MP_123,
I don't know what you are doing with your if statement or first or last or anything, but let me show it as below: