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: 
james
Creator III
Creator III

Dates and Calculated Dimensions

All, I currently have a line chart that uses Date as the Dimension, 01/02/2011, 01/03/2011 etc.

My expression is using set anlaysis =date(Max({$<Date={'>$(vStartDate) <=$(vEndDate)'}>}Date)) which is grabbing for this example 12/31/2010 through 01/26/2011

My issue is that the chart renders all dates at the bottom 01/01/2008 - 01/26/2011 yet the data is only for 12/31/2010 through 01/26/2011

How can i make the dimension know i only want to show those above dates?

error loading image

So that the chart below is only those dates

error loading image

1 Solution

Accepted Solutions
james
Creator III
Creator III
Author

Here was the answer Geeked

=if(Date >= '$(vStartDate)',Date)



View solution in original post

1 Reply
james
Creator III
Creator III
Author

Here was the answer Geeked

=if(Date >= '$(vStartDate)',Date)