Hi everyone,
I’m trying to build a Prior Year (PY) Demand Units logic in Alteryx, but my use case is a bit different from standard YoY calculations.
Data Structure
Requirement
For each snapshot, demand is calculated as:
Then:
CY should use 2026 snapshot
PY should use 2025 snapshot
Both should align on Fiscal Month/Week for comparison
Challenge
Question
What is the best approach in Alteryx to:
Align two snapshots (current vs prior year)?
Apply conditional logic based on snapshot week?
Ensure proper week/month alignment for reporting?
Would this be best handled using:
Any guidance or workflow examples would be really helpful.
I am currently trying to solve this in Tableau using LOOKUP but facing alignment issues.
Thanks in advance!