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: 
Not applicable

month

I have field called month_order (FY:Apr to Mar) now I need to use in set analysis

In text object,  max(month_order ) here am getting 12

I want to show Max Month Dec

I have tried with monthname(month_order) and test(month_order) but not working.

any ideas pls suggest!

Labels (1)
6 Replies
m_woolf
Master II
Master II

You can define your month_order field in script using dual to give the field both a numeric and string value.

Shouldn't you want max(month_order) to show Mar?

Not applicable
Author

With dual I have given already like dual('Apr',1)...............................................................('Mar',12)

In text object am using max(month_order) it returns 12 only

I want to show max month as Mar

how do I use in set analysis??

Frank_Hartmann
Master II
Master II

attached sample might be helpful

Not applicable
Author

That is fine but how do we use in set analysis???

If I use in text object max(month) its giving me 12

I nee to to show employee count max month.

Frank_Hartmann
Master II
Master II

in textbox try like:

=only(aggr(max(Month),SortOrder))

hope this helps

tresB
Champion III
Champion III

If you need 'Dec' instead of 12, try like:

=Month(MakeDate(1, max(month_order )))