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