Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
darrellbutler
Creator
Creator

Sorting by Fiscal Year

Hi folks,

I have a data set that includes month i.e 01 = Jan, 02 = Feb 12 = Dec. Together with a Year_Month in the format 201004 = Apr 2010, 201005 = May 2010 etc.

I have a line chart and I'm trying to show sales volumes over 3 years. I want to sort my x axes starting from April going through to March but at the moment I'm dtruggling to do this.

I've added two Dimensions Month & Year_Month, Month does not have any sort order, Year_Month has a descending order based on a numeric value.

Any help would be greatly appreciated

2 Replies
john_duffy
Partner - Creator III
Partner - Creator III

Hello.

I have attached a sample application which creates a resident table to determine the monthly sort order. The line chart then uses the sorting field in the Sort by Expression to have the x axis go from April to March.

Let me know if this helps.

John.

darrellbutler
Creator
Creator
Author

John,

Sorry for the late response - I was demoing my first app so things were hectic !

This helped greatly - thank you very much indeed.

Kind regards

Darrell