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

Announcements
ALERT: QlikView server communication interruptions following Microsoft Windows Domain Controller security updates
cancel
Showing results for 
Search instead for 
Did you mean: 
waqasshah
Creator
Creator

Bar Chart Sorting Order Month/Year (MM/YY)

Dear All,

I am developing a dashboard unfortunately I am unable to sort out the bars in a chart. I want them in chronological order. like Oct/16 , Nov /16, Dec 17. The values used for calculations are CompleteMonthNamesRefRcvd and CompleteYearNameRcvd. 

I have attached the screen shots please review them.

Kind Regards

Waqas Shah

Labels (1)
12 Replies
tresB
Champion III
Champion III

Try like:

Dual(Left(CompleteMonthNamesRefRcvd,3)&'/'&Right(RIGHT(CompleteYearNamesRefRcvd,2)) ,

          Date#(Left(CompleteMonthNamesRefRcvd,3)&'/'&Right(RIGHT(CompleteYearNamesRefRcvd,2)), 'MMM/YY'))

Chanty4u
MVP
MVP

its_anandrjs
Champion III
Champion III

Try with this

Load

Date(Date#(Left(CompleteMonthNamesRefRcvd,3)&'/'&RIGHT(CompleteYearNamesRefRcvd,2),'MMM/YY')'MMM/YY') as FielName

From Source;



In sort use

=Date#(Left(CompleteMonthNamesRefRcvd,3)&'/'&Right(CompleteYearNamesRefRcvd,2),'MMM/YY')