Hi folks
Another day, another Tableau challenge!
In a nutshell, I am looking to compare a last 3 months average vs an average for a past period. Let's say February to April 2015 for example.
I have one solution that works for periods calculated from the latest ie. last 3 months vs last 12 months
However, l'm not sure of a way to lookup averages from historical periods that are outside of the filter window.
Ideally, I would like to show the results in a view on their own - the value for the most recent month is x difference.
Any ideas please?
Thanks
Giles
The short answer is - you can't
The values must be in the view so you can reference them. The trick is to figure out how to have the values present in the view (so you can use them in the calculation), but not visible to the user. This is usually through a mix of measure filters, maybe using LAST() or hiding the values (ie. not excluding, but hiding).
Mock up a sample and attach it and I can show you if required.