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

Custom Sort not working in a Pivot table & in Bar chart

Hi,

We have a field 'Day Abbreviation' with values as - Mon,Tue,Wed,Thu,Fri,Sat,Sun which is been used as a dimension in a

Pivot table and in a Bar chart.

Custom sort is done using Match(Day Abbreviation,'Mon','Tue','Wed','Thu','Fri','Sat','Sun').The selections are done based on Customer names,Year(2014)and Quarter(Q2).

Custom sort is working fine based on the above selections but when a selection is changed on Quarter for eg; from Q2 to Q3,Custom sort is not working for some of the Customer names.

Have tried using Inline table for sorting,dual() function and enabling  Load order on the 'Day Abbreviation' field,but couldn't resolve the sort issue.

Please suggest.

Thanks,

Neha

1 Solution

Accepted Solutions
jonathandienst
Partner - Champion III
Partner - Champion III

Hi

I would try

     =Max({1} Match([Day Abbreviation], 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun'))

This will ignore any selections.

HTH

Jonathan

Logic will get you from a to b. Imagination will take you everywhere. - A Einstein

View solution in original post

2 Replies
PrashantSangle

Hi,

If possible can share your sample apps.

Regards

Great dreamer's dreams never fulfilled, they are always transcended.
Please appreciate our Qlik community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂
jonathandienst
Partner - Champion III
Partner - Champion III

Hi

I would try

     =Max({1} Match([Day Abbreviation], 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun'))

This will ignore any selections.

HTH

Jonathan

Logic will get you from a to b. Imagination will take you everywhere. - A Einstein