How to write a calculated field If a day is selected (from date filter say 05/14/2013) i should get only yesterday records . Mean any date selected i should get before date records..same in case with months and years. How can i do this in tableau.
Love, see attached. Here's the code:
DATEADD([Which Date Part?], -1, [Pick-a-date:])
Retrieving data ...