I'm trying to recreate the table depicted below in Crystal Reports:
Sample data used to generate the table:
The table communicates information about 4 measures: Popsicle Sales, Anticipated Popsicle Sales (Budget), Soda Sales, and Anticipated Soda Sales (Budget). It displays the current month's values of Popsicle Sales and Soda Sales along with their prior year values, and it compares the variance of the current values to budgeted and prior year values.
In Tableau, I use a Calculated field that leverages Tableau's Lookup function ("LOOKUP(SUM(PopsicleSales), -12)"
) to obtain the value of PopsicleSales 12 months ago. How can I do the same with a formula field?