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

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
markgraham123
Specialist
Specialist

linechart trend

Hi all,

In a line chart,

I'm using Month and Year as dimensions and COunt(Distinct()) function in expression.

I'm was trying to get the trend for 2014 and 2015 one above the other. But, my years were seperated and eventually consuming more space on the front end.

Can someone look into this.

Please find the screenshot for current trend.

1 Solution

Accepted Solutions
Qrishna
Master
Master

the month-year values are different hence the lines are not merging..

share the sample qvw.

View solution in original post

7 Replies
Qrishna
Master
Master

Capture1.PNGyou can use a scroll bar.

markgraham123
Specialist
Specialist
Author

Hi Krishna Chaitanya,

Im looking for a chart something like:

qvss2.png

but my chart is seperated with trends like:

qv ss.png

antoniotiman
Master III
Master III

Use 2 Dimensions (Month and Year) and 1 Expression  : Count()

Qrishna
Master
Master

the month-year values are different hence the lines are not merging..

share the sample qvw.

markgraham123
Specialist
Specialist
Author

Thanq Krishna Chaitanya,

I will load them with same month name seperated by year.

Thanq verymuch.

markgraham123
Specialist
Specialist
Author

Thanq Antonio.

Qrishna
Master
Master

You Welcome.

You can try something like this:

Put these in your chat

Dimension :   Month or Year

Expressions : Sum({<year={$(=max(year))}>}field)    //for current year

                     Sum({<year={$(=max(year)-1)}>}field//for previous year

output: Capture1.PNG