Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
kamalqlik
Partner - Specialist
Partner - Specialist

Month Year not getting correct in the chart

Hi friends

I am using a Line chart ....which have the dimension as calculated dimension in form of

If((year([Estimated Close Date])>2009),Month([Estimated Close Date]) & '-' & Right(year([Estimated Close Date]),2)).

when I am using the chart I get the Month year in format.

Apr-10

Apr-11

Aug-10

Aug-11..

but I want the output as

Apr-10

Aug-10

Apr-11

Aug-11.

Please give me some suggestion of how to do that.

regards

Kamal

3 Replies
Not applicable

Hi Kamal,

Try the sorting numerical -> ascending for this dimension in the Tab Sorting.

Regards

vicky

jagan
Luminary Alumni
Luminary Alumni

Hi,

Try this expression

If((year([Estimated Close Date])>2009),

     Date([Estimated Close Date], 'MMM-YY'))

Then select Ascending/Descending as required.

Regards,

jagan.

Not applicable

Or try:

If((year([Estimated Close Date])>2009),Monthname([Estimated Close Date])).