Forum Discussion
Hey Wojtek
You could add another filter-button that resets the datefilter. Then users can alter it again. It would be something like:
"data": {
"level": "months",
"filters": [
{
"filterName": "History",
"filterJaql": {
"explicit": false,
"multiSelection": true,
"all": true
}
}
]
}
- Wojtek09-12-2022Cloud Apps
That is a good suggestion HamzaJ
I will go with that if I wont find better solution.
I have noticed that if parameter matches one of default filter like 'Last 2 Months' then filter remains accessible to user.
Is there any way to add additional default filters to date filer?
Ideally this would be dashboard not server level.
W
- Wojtek09-12-2022Cloud Apps
What I stated above doesn't seems to work correctly.
{ "type": "Filters", "title": "This Week", "style": { "width": "160px", "background-color": "#a6a6a6" }, "data": { "level": "weeks", "filters": [ { "filterName": "Date", "filterJaql": { "last": { "count": 1, "offset": 0 } } } ] } }If I use correct value for count and offset then I can change filter within same level (eg. Months) which is currently selected on dashboard, as long as offset nad count will match default filter selection like "Last 2 months" But change of level doesn't seem to work.