The other thing that we've been trying to implemen...
# gooddata-cloud
m
The other thing that we've been trying to implement is adding a fixed custom range to the drop down date filter (e.g, Ramadan 2023, which is a fixed number of days, for example) and this link answered most of the question of how to do it, the only remaining confusion here is if: a. this can "swap out" the filter that's already in the report, b. or if that's not possible how we can "notify" the report to apply the date ranges c. we also need this custom filter to be comparative.
m
Hi Maria, if you were to implement a fixed custom range to the drop down date filter - It would not “swap out” the filter that’s already in the report. But to work-around this you could simply place no date filter in the report - Then any date filters you apply to the dashboard will then work on the report. You can learn more about how the Date Filter on Dashboards work here: https://www.gooddata.com/docs/cloud/create-dashboards/filters/date-filters-on-dashboards/
m
Right so that would mean that any new filter we create is just being added to the dashboard? Instead of us altering anything that exists already?
m
Hi Maria, sorry for the delay in getting back to you, but I was discussing your use-case internally and the best approach here would be option ‘b’. You can’t swap out the date filter from the dashboard but you can set the filter context programmatically for an embedded dashboard. And this would be needed to be embedding.