Hi guys,
I must created some calculated fields to compare datas. Could you help me, please?
I thank you so much.
Create calculated fields in QuickSight to compute:
The “current date” is not the system current date, but rather the maximum date present in the dataset.
-
“Day” – The financial value for the current day.
-
“Day minus 7” – The financial value from 7 days prior to the current date.
-
“Week over Week” – The percentage difference in financial value comparing the current week to the previous week.
Example: if today is a Wednesday, you should compare the financial value of this week up to Wednesday with the financial value of the previous week up to Wednesday. -
“Current Month” – The financial value for the current month up to the present date.
-
“Month over Month” – The percentage difference in financial value between the current month and the previous month.
Example: if today is the 10th of the month, compare the financial value of the current month up to the 10th with the financial value of the previous month up to the 10th. -
“Current Year” – The financial value for the current year up to the present date.
-
“Year over Year” – The percentage difference in financial value comparing the current year to the previous year.
Example: if today is May 10th, 2025, compare the financial value of this year up to May 10th, 2025 with the financial value of the previous year up to May 10th, 2024.
Important Note:
The “current date” is not the system current date, but rather the maximum date present in the dataset.
For all calculated fields, you must include a check to ensure that the “current date” corresponds to the maximum date in the dataset.
Fields:
- Date: Maximum date in the dataset (considered as the “current date”)
- Value: Financial value