

#INSTALL TABLEAU SERVER 2018.1 COMMAND LINE HOW TO#
In this blog, I would like to show, how to hide multiple parameters dynamically. You might have come across a requirement while working on Tableau, where you are required to show/hide parameters based upon another parameter. If you think this post is helpful or if there is any other better optimized way of doing this, then please let me know through comment. if you want to show last 5 months rolling sales, then you will have to include = 9 months of data in the view and accordingly add one more if else condition to fetch rolling sales for one more month and adjust the rank range accordingly. This logic works dynamically for last four months because I have a dynamic date filter in the view. 4 months rolling date filterĭATETRUNC('month',)>= DATEADD('month',-7,DATETRUNC('month',TODAY())) // Since we are calculating 4 months rolling, load view with data from last 7 monthsĭATETRUNC('month',)=1 AND =2 AND =3 AND =4 AND =4 As I have to show 4 months rolling, I need current 4 months and previous 3 months of data.


Requirement : Using Tableau, show 4 months rolling sales until previous or last closing month.
