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

Announcements
We are aware of an issue with the Product Downloads page and looking into it.
cancel
Showing results for 
Search instead for 
Did you mean: 
Muthu
Partner - Creator III
Partner - Creator III

Sort Order In Cyclic Group

Hi,


I am creating a chart with the cyclic group as dimension.

I have values like year month and week as the fields in the Cyclic Group,

I am selecting a filter in the calender range, august 2014 - March - 2015,

In the chart when I select the year its giving me correct values starting from August -2014,

as I have given condition in  the group sort order ( Year & num(Month,00)),


I Tried giving the same kind of sort order expression for week, But its not giving the correct values,


Please help.


Muthu

Labels (1)
1 Solution

Accepted Solutions
Or
MVP
MVP

You may want to try Weekname(myDate).

View solution in original post

16 Replies
jpenuliar
Partner - Specialist III
Partner - Specialist III

Have you tried setting the Sort options in Group Settings?

jpenuliar
Partner - Specialist III
Partner - Specialist III

Your Week is probably tagged as $Text in your Data Model, whereas the other Calendar fields are tagged $Numeric and you are sorting Week as Numeric

Muthu
Partner - Creator III
Partner - Creator III
Author

Hi Jonathan,

I tried doing that.

It didn't work

sunny_talwar
MVP
MVP

What is your exact script for creating the week field?

Muthu
Partner - Creator III
Partner - Creator III
Author

Hi,

I have used Week(DateField)

jpenuliar
Partner - Specialist III
Partner - Specialist III

And What are the Sort options you selected for this Field?

sunny_talwar
MVP
MVP

Have you tried using Load order for sorting?

Muthu
Partner - Creator III
Partner - Creator III
Author

I tried giving expression and ascending order

Muthu
Partner - Creator III
Partner - Creator III
Author

I gave ascending order and the expression