Just wondering if anyone knows how to get Previous Week/Previous Year/WoW/YoY data showing up in their data table in tableau if they've filtered the date range in the table (as it goes in a dashboard and I dont want it to show 5 years worth of data). Currently I use:
lookup(SUM([Daily_Total]),-7) for previous week, '-364' instead of '-7' for previous year. IT does show the right data for the previous 7 days if it is filtered there (i.e I have it filtered for the previous 10 days, so for 3 days I've got prev wk/WoW data) but I need it for all 10 days, anyone know how to do this?
Thanks