1

In wave analytics dashboard I have a date range widget, which I want to be set to a date by default. Is there a way to set an initial value? In my dashboard JSON I successfully used the following snippet for a toggle:

"start": {
                "display": [
                    "Ecosystem"
                ]
            }

What about date range? I tried the following property:

"start": [[2017,3,31],[2017,4,10]]

By trial and error I found that this is the only syntax which does not throw errors but then the widget on initialization would be set to 01.01.1970. Is there any way to achieve this? I am using Trend for wave to visualize data over time and the widget is used to filter the system snapshots.

0

Found an answer! For anyone having the same problem: the correct way to do that is to use the nested array with date in milliseconds, like that:

"start": [
                [
                    1490869387000,
                    1491906187000
                ]
            ]
| improve this answer | |
0

Of course, you could also set an 'Initial Selection' on the page if you wanted to do this in UI and not JSON. This is faster though because these filters are processed first by the engine.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.