My first question to the Quicksight community! Nice to be here.
I am currently trying to build a data set, from an Aurora/MySQL data source. In this data set, I am left joining a handful of tables to a primary table, that includes a few date fields (stored as datetime in the database), with the date values saved as UTC.
If I use the primary table as is, without any joins, I can successfully convert the date I am interested in, into my local time, using the following formula:
I have now tested building the data set using Custom SQL, which includes the joins, so there is only one data source and the UTC conversion works fine. This is my current work around.
Regardless, I would still be able to use the Quicksight functionality in its current form.
Datetime conversions are much simpler in custom SQL, also would highly recommend not performing a ton of left joins to a primary table, perhaps building with CTEs would be a bit more efficient?
Yes, I have come to that conclusion. While the dataset where I did the calculated field on worked fine, for what ever reason, it still displayed it as UTC in the table (with the wrong offset when I displayed it).
So surfacing it in the SQL query seems to be the path of least resistance (and it displays correctly on the report).