Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there any way to get day from date in quicksight?

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

like image 942
Rushabh Sudame Avatar asked Oct 16 '25 16:10

Rushabh Sudame


1 Answers

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.

like image 145
OpusMagnum Avatar answered Oct 19 '25 14:10

OpusMagnum