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