Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
cfountain72
Creator II
Creator II

Sorting by Fiscal Month

Hello, 

I'm trying to sort some activity by Fiscal Month (where October is the first month), but am having some issues. I tried sorting it using this expression:

Match(Month(TransferResolutionDate), 10, 11, 12, 1, 2, 3, 4, 5, 6, 7, 8, 9)

But my line chart looks like this. (Apparently, Qlik Sense thinks Feb comes between Dec and Jan.)

cfountain72_0-1680189869570.png

The TransferResolutionDate is not relying on a Date Dimension in the data model, so joining should not be an issue, and no selections are being made.

Any suggestions? 

Thanks for your help,

Chris

Labels (4)
1 Solution

Accepted Solutions
BrunPierre
Master
Master

It should work with the month number rather.

Please mark it as a solution to close the thread, thanks.

View solution in original post

3 Replies
BrunPierre
Master
Master

Like this, perhaps?

Match(Only({1} Month(TransferResolutionDate)),'Oct','Nov','Dec','Jan','Feb'.....)

cfountain72
Creator II
Creator II
Author

Thanks BrunPierre! That does work. I also was able to use Max instead of Only to get it to work. But I really don't understand why it works for the Month Strings, but not for the Numeric Month values?

BrunPierre
Master
Master

It should work with the month number rather.

Please mark it as a solution to close the thread, thanks.