on 07-29-2020 2:35 PM
I have created stacked bar chart on offline lumira discovery data store. I have two datefields START_DATE and END_DATE on my dashboard.
Usecase:- When user selects any date in start and end date stacked bar chart should get filter.
On the select of Start and End I'm running below script to filter offline datastore but it is not working:-
//TO SET FILTER ON DATE RANGE
var startDate = START_DATE.getDate();
var endDate = END_DATE.getDate();
var varRange = startDate + "-" + endDate;
DS_2.setFilter("DS:2,DIM:id_27", varRange);
Note:- DS_2 is offline Lumira Discovery datastore based on IDT universe.
But when in above script I use variable startDate or endDate instead of varRange it is working. I think offline data store can't handle range values.
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.