I am trying to get day from date field in quicksight.
Following is date format in quicksight: 2020-09-29T00:00:00.000Z
I want some function which will parse the date and give the day from this date. i.e., Tuesday
I am trying to get day from date field in quicksight.
Following is date format in quicksight: 2020-09-29T00:00:00.000Z
I want some function which will parse the date and give the day from this date. i.e., Tuesday
In the QuickSight Dataset you can define a Calculated Field.
In your case, e.g. toString(extract('WD',{transaction_date}))
.
This returns the day of the week as an integer, with Sunday as 1.
If you need it as a word, you can further translate it with ifelse function.
You could use formatDate to get the day of week as a string i.e. Monday ... formatDate({datetime}, 'E')