Previous Year Total values (at Quarterly Level) in Quicksight

@Max Yes, I created this calculation based on the formula you mentioned above but my ask is different. I want to create a calculated field under Total Units (PY) having a value of 334.1M against each record as per attached screenshot, the way I’ve 471.9M under Total Units (CY) against each record.