Do you need to use Tableau to compare values to an equivalent date from a prior year? For example, "How did sales from this Monday compare to the same Monday from last year?"
This is different than comparing to the exact same date from last year since the comparison is probably 364 days (52 weeks) ago. Additionally, this can be made complicated if there are any gaps in your data. For example, if your business doesn't record transactions on Saturdays, you can't simply use the LOOKUP function to go back 364 days because that would take you back too far. Additionally, if you apply a filter and "lose" days in your data set as a result, the LOOKUP approach will fail.