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: 
manoranjan_d
Specialist
Specialist

calculated dimesnion

Hi all,

I want to do calculated dimension(line chart) for the month field where it should get the latest year of the months only..

can you one help for this

example

 

yearmonthdeptAMT
2016JANCSE100
2016FEBIT200
2016MAREEE300
2016APRCSE400
2015JANCSE500
2015FEBIT600
2015MAREEE700
2015APRCSE800
2015MAYEEE900
2015JUNECSE1000
Labels (1)
1 Solution

Accepted Solutions
sunny_talwar

May be this as the calculated dimension:

=If(year = Year(Today()), year_month)


Capture.PNG

View solution in original post

4 Replies
sunny_talwar

May be this as the calculated dimension:

=If(year = Year(Today()), year_month)


Capture.PNG

manoranjan_d
Specialist
Specialist
Author

how to sort these?

manoranjan_d
Specialist
Specialist
Author

sorting on month wise

trdandamudi
Master II
Master II

In Sort tab, Numeric Value ascending. See screen shot:

Sort.jpg

Sort_2.jpg