Skip to Content

How to pass date range to Offline Lumira discovery data store in lumira designer 2.3

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.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

0 Answers

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.