How to select today's date as default date in QuickSight Controls? [closed]

橙三吉。 提交于 2019-12-23 12:57:44

问题


In below dashboard, I want to set date control to default as today's date. So that whenever the page load the default filter gets applied for today's date. I am using this parameter in my filters.


回答1:


ran into the same issue myself.

This walks you through it: https://docs.aws.amazon.com/quicksight/latest/user/parameters-set-up.html#parameters-default-values

The main thing is that you have to create a table in your database for user defaults.

I created a table with each Quicksight user ID (find user IDs via Manage QuickSight in top right corner).

I then created a view to set a dynamic 'today' field whenever the data is refreshed as you can't use calculated fields for dynamic parameter values.

I then created a new dataset within the analysis using this view and linked it to the parameter dynamic values using the user id field.

It feels pretty roundabout but gives you lots of flexibility for each user.



来源:https://stackoverflow.com/questions/53267538/how-to-select-todays-date-as-default-date-in-quicksight-controls

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!