Year to date, Quarter to date Calc in QuickSight

Hi,
I need to sum YTD and QTD sales values, where year and period (month) as numeric values (not dates). My date looks like this:

Sales_amt / Year / Period / Category
100 / 2024 / 1 / Cat 1
120 / 2024 / 2 / Cat 2
20 / 2024 / 3 / Cat 1
400 / 2024 / 4 / Cat 2
34 / 2024 / 5 / Cat 2

Looking to compare the resutls against target (budget) and calculate YTD and QTD sums and variances.

Hi @mppeciak

Welcome to the QuiclSight community.

You may need to create a calculated field to get a date value based on your Year and Period.

Refer to the ParseDate for the same

The following article has all the details for how to compute the YTD, QTD.

Hope this helps.

Regards,
Giri

Hi @mppeciak,
It’s been awhile since we last heard from you, did you have any additional questions regarding your initial post?

If we do not hear back within the next 3 business days, I’ll close out this topic.

Thank you!

Thanks Giri

The issue I’m still not sure how to solve is this: when I build a