Skip to main content

I want to create a filter in Tableau which displays last 4 completed quarters data. Like today, the table should show data from Oct 2020 to Sept 2021.

And on Jan 2022, the table should show data from Jan 2021 - Dec 2021

10 answers
  1. Nov 8, 2021, 3:32 AM

    *Editing because I misinterpreted your ask

    Change the calculated field from before to below and add it as a filter as TRUE to your view:

    DATE(DATEADD('year',-1,DATETRUNC('quarter',TODAY()))) <= [Date] AND [Date] < DATE(DATETRUNC('quarter',TODAY()))

     

    I hope this helps!

    Kelsie

0/9000