Can I add a parameter that changes my viz from a month view to a year view?
For example in rows I would have year and then month, but I would like to be able to change this via dropdown.
Once you've created your parameter, create a calculated field like;
IF parameter = "Year" then DATETRUNC('year',[Date])
And place that on the rows shelf.
Become a Viz Whiz on the Forums!
Support the Community and master Tableau.
Retrieving data ...