Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Chart with variable calendar

Hi,

I have created two custom variables for filtering the data between these two days. I have varFromDate and varToDate variables.

My chart has the expression below and the cyclic group with the fields DATE.DATE / DATE.WEEK / DATE.MONTH as dimension.

sum(

{$<

DATE.YEAR = ,

DATE.QUARTER = ,

DATE.MONTH = ,

DATE.MONTH_YEAR = ,

DATE.QUARTER_YEAR = ,

DATE.WEEK = ,

DATE.WEEKDAY = ,

DATE.DAY = ,

DATE.DATE = ,

DATE.NUMDATE =,

DATE.NUMDATE = {">=$(varFromDate)<=$(varToDate)"}

>}

DEVICE_CATEGORY_OS_BROWSER.metric_sessions)

But using this expression and my "DATE" fields as dimension, blocks the selections which the users can make directly from the chart (Because i am using set analysis like above)

What i am trying to do is, extracting days, weeks and months between two variables and using them as dimension (or cyclic group) in order to be able to make selections inside the chart.

Does anyone knows how to do that?

Thank you...

0 Replies