[Requirements]
We want to dynamically rename column headers to represent the current month and the past 12 months (e.g., if today’s date is 2025-04-16, the column headers should appear as 2025-04, 2025-03, …, 2024-05). These changes should happen automatically based on the current date.
[Options Under Consideration]
-
Create calculated fields, parameters, and filters that dynamically adjust based on the current date and map them to column headers
-
Use the “Insert Parameter” feature under Pivot Options → Column Value Names to dynamically rename headers
-
Use a Custom SQL Query with a UNION SELECT approach to reshape the dataset and refresh accordingly
-
Create parameters and calculated fields in date format, then use these as column names in a pivot or matrix visual
-
Use grouping functions similar to Excel’s “Date Grouping” and apply the results as column headers
[Important Notes to Be Included in the Answer]
A. While pivot tables are the main use case, other chart types that can achieve the same effect are acceptable
B. Please specify whether the values are treated as int, string, or date types
C. Clarify whether the implementation is done in the Analysis console, the Dataset console, the Dashboard or at the RDS table level
[Points for Clarification & Preferred Answer Style]
Are all the methods (1–5 above) currently supported by QuickSight?
Is there an easy way to implement this without writing custom SQL or complex calculated fields?