How to put a filter to show latest two dates in Tableau?
I am trying to put a filter in Tableau which automatically shows data for last two days. I tried using Dense rank (which works in SQL) but in Tableau I can't figure out which aggregator function to use with it. How can I put a filter to show latest two dates in Tableau? David F. Severski Filtering based upon the most recent dates is generally easily done by: Right click and dragging the date field to the filter shelf Select "Individual Dates" From the filter dialog, choose "Top" and "By field" Select "Top", 2 (for the most recent two dates) Select the date field and choose Maximum for