Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Line chart with a date_picker

Hi all,

I am trying to create a line chart where hour as dimension and action count as measure.

and i am filtering the data through particular date using date_picker and one filter pane action_name.

but when i select the date the data should show only to that particular date. it's not filtering according to the date.

Table structure:

action_nameaction_countdatehour
click211-01-20164
sent510-01-20165
delivered4
10-01-2016
6
click710-01-20167
click1810-01-20169

For example:

If i select a date 10-01-2016 in a date_picker  and action_name "click" in filter pane.

in x-axis the 0 to 23 hours should display and y-axis the the action_count for that particular hour.

I am using measure as: only({< action_date = {"$(=Date(vStartDate))"} >} action_count)

but not working help on this.

3 Replies
Not applicable
Author

Hi,

It could be the date format mismatch.

Do you have an example of how you are setting your variable?

jonathandienst
Partner - Champion III
Partner - Champion III

Why do you need to use a date picker and a variable? Simply expose the date field in a list and let the user select the date in the list.

Logic will get you from a to b. Imagination will take you everywhere. - A Einstein
Not applicable
Author

I have years of data, instead of scrolling for the required date in list i can select it easily right