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개
  1. 2021년 11월 8일 오전 3:32

    *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