Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
mikael-c
Contributor III
Contributor III

Default selection when clicking on map layer

I have a point layer on a map. When a point is clicked, a line chart is displayed (there is a condition that only one point has to be selected for the chart to be displayed).

This chart shows values based on time occurences based on historical data. I added an action to the sheet so that only data from the past 48h is selected to prevent a cluttered line chart. I don't want to lock the selection of the past 48h because once the line chart is displayed, the user can change the selection without a problem. 

However, if a user clears some/all selections on top of the sheet, and then clicks on a station on the map, then all time data is revealed on the line chart which is a problem, since the sheet action is done only once upon page loading.

I would like that only the past 48h is shown by default when the user clicks on the map and the line chart appears. Anyway of doing that?

 

2 Replies
Rohan
Specialist
Specialist

Hi, 

Have you tried restricting the time field using set analysis in the Line chart Measure ?

mikael-c
Contributor III
Contributor III
Author

Thanks for your suggestion. I'm not really familiar with set analysis, I find it really hard to understand. But even if I try, won't that prevent the user to change the time displayed?