Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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.

enter image description here

like image 740
conetfun Avatar asked Nov 12 '18 17:11

conetfun


People also ask

How do I change the Date format in QuickSight?

Choose Format, and then choose More Formatting Options. The Format data pane opens. Expand the Date section. Choose an existing date format, or choose Custom and specify a format pattern in the Custom section lower down in the Format data pane.

How do I add a dynamic title to QuickSight?

To create a dynamic sheet title, you can add existing parameters to the sheet title. For more information, see Using parameters in titles and descriptions in Amazon QuickSight. Choose Add in the application bar, and then choose Add description. Enter a description in the Description box and press Enter .


1 Answers

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.

like image 110
Matt Jackman Avatar answered Oct 05 '22 07:10

Matt Jackman