Not only was this wicked helpful, but I was able to expand on this: I had my parameters switch between five maps. It worked great until I realized I had data points in Alaska and Hawaii as well! So I HI and AK maps for each continental map, restricted to those states but with the same filters/details/colors etc.. then I added two vertical containers (one for HI and one for AK) and repeated the steps in Andy's video above to add these "submaps". Then I made these floating and positioned where I wanted them. Works like a charm to add Alaska and Hawaii when I have data points on one of my maps! THANK YOU!!!
Thank you! I needed to make a small adjustment for version 2024.1.2 : when creating the chart type selected filter, select Wildcard, select Exactly matches, and enter the exact param value you want to trigger off. I eventually moved away from this technique to use dynamic zone visibility parameter control instead but this was super helpful nevertheless.
Great tutorial. However, when I select the individual parameter drop down "bar" on the Bar Chart tab, it changes bar to a bar drop down for all the other tabs (Line Charts & Map). How can I get this to stop from happening? The result is that only the line chart and map are showing when toggling between chart types on the final dashboard.
Hello Andy thank you for sharing this knowledge, quick question: it is working for me and hiding after removing the title but if I change the dashboard size to ¨automatic¨the spaces of the other charts appear again... do you know how could I make it work in automatic size?
I knew about the use of parameters to swap the sheet, but this, leveraging the parameters action to dynamically update the parameter is magical, a big thanks Andy, any other use case, you'd like to give other than changing chart type ?
Hi Andy, Thank you for this! I am trying to do this same thing with different charts altogether (not chart type, rather fully different data), BUT I need to be able to see the legend when the Viz changes on click. Is that possible?
You would need to have the legend for each worksheet in the dashboard. I’d recommend hiding the titles on those so that they appear to go away when you swap sheets.
Hi Andy, I am unable to use "Chart Type Selection" Calculated field to Filter out Bar/Line/Map. While being in Bar Chart sheet, I select Line or Map in "Chart Type" Parameter, it does not go blank. Kindly help me to filter out Bar/Line/Map using the calculated field. I am using Tableau Public (desktop version). Thanks in advance. Mythili.
Double check how you are adding it to the filters. Change the parameter so the chart appears on one sheet, then filter the other two sheets to exclude that option in filter. Repeat for the other sheets. So each sheet should have two items excluded in the filter.
Thank you@@vizwiz. As suggested, I duplicated the "Chart Type Selection" Calculated field and added this duplicate one to Filter shelf to exclude two items. Thus each sheet had two items excluded in the filter. I completed the dashboard as shown in the video.
@@mythilisubramanian6580 Thank you for the tip! Like you, I found that selecting, say, Line in the parameter did not cause the others to go blank. Even adding a duplicate to the filter and setting it to "exclude" did not help. I finally got it to work by, for example, creating a custom "Exclude Bar and Line" with the code [Chart Type] != "Bar" AND [Chart Type] != "Line" and put that on the Map filter set to TRUE. I then put a "Exclude Line and Map" on the Bar and "Exclude Bar and Map" on the Line.
Hi Andy, I am using Tableau 2022.2.6 and have been trying to set up the parameter "switch" calculated field to function but without any success. Is there something different about this version that would not allow the chart to toggle between the chart types? Thanks Andy in advance. Caroline.
Hi Andy, I am able to replicate everything except the parameter actions part. If I use one parameter action, it works fine but when three action parameters are there, the toggling of values in the parameter doesn't work. Can you please help, Already tried so many things !!
Yeah no problem. Sorry I've not been around to much. Just have a lot going on with my case life bills and on top of that catching another case. Four weeks since I received any income. It's like I take a step forward to get knocked down three steps back.
you have to hide the sheet titles, make sure they are all in a single container, and make sure none of them are fixed size. You can download the example.
Not only was this wicked helpful, but I was able to expand on this: I had my parameters switch between five maps. It worked great until I realized I had data points in Alaska and Hawaii as well! So I HI and AK maps for each continental map, restricted to those states but with the same filters/details/colors etc.. then I added two vertical containers (one for HI and one for AK) and repeated the steps in Andy's video above to add these "submaps". Then I made these floating and positioned where I wanted them. Works like a charm to add Alaska and Hawaii when I have data points on one of my maps! THANK YOU!!!
Thank you! I needed to make a small adjustment for version 2024.1.2 : when creating the chart type selected filter, select Wildcard, select Exactly matches, and enter the exact param value you want to trigger off. I eventually moved away from this technique to use dynamic zone visibility parameter control instead but this was super helpful nevertheless.
Thanks for sharing!
Another master piece!! Thank you!
You helped me a lot in my Tableau projects. Thanks again and cheers from Brazil
Thank you, Andy for your generosity in sharing your knowledge!
This is a great tutorial. I've never seen the easiest lessons for the switch sheets.
Glad it was helpful!
WOW! Super cool and will immediately be put to good use!! Thanks for the simple yet insightful tutorial!
This is great, Andy! I can certainly use this tip in my Tableau projects.
That was so easier than I thought! Great Job Andy!
Thanks! 👍
This is really good. Also is it possible to make it green based on selection. If we select a particular button that will come green and vice versa.
Really useful, I use this a lot. Thanks a lot for sharing, Coach!
Great tutorial. However, when I select the individual parameter drop down "bar" on the Bar Chart tab, it changes bar to a bar drop down for all the other tabs (Line Charts & Map). How can I get this to stop from happening? The result is that only the line chart and map are showing when toggling between chart types on the final dashboard.
Hi Andy, thank you so much for the tips! But in my case, after hiding the titles, they don't automatically adjust .. what should I do?
You’re sheets are probably fixed width or height. Make sure they are not.
Hello Andy thank you for sharing this knowledge, quick question: it is working for me and hiding after removing the title but if I change the dashboard size to ¨automatic¨the spaces of the other charts appear again... do you know how could I make it work in automatic size?
Make sure all of the sheets in the containers are NOT set to fixed width or height.
I knew about the use of parameters to swap the sheet, but this, leveraging the parameters action to dynamically update the parameter is magical, a big thanks Andy, any other use case, you'd like to give other than changing chart type ?
Unique use of parameter 👍🏻👍🏻👍🏻
Hi Andy,
Thank you for this! I am trying to do this same thing with different charts altogether (not chart type, rather fully different data), BUT I need to be able to see the legend when the Viz changes on click. Is that possible?
You would need to have the legend for each worksheet in the dashboard. I’d recommend hiding the titles on those so that they appear to go away when you swap sheets.
You are You! Kudos Andy!
Awesome video! Quick question. Out of curiosity, why did you use AVG(0.0) and AVG(0.00) for the other two axis rather than just AVG(0) for all three?
Great question! By making them unique, Tableau will treat them as separate fields.
Hi Andy, I am unable to use "Chart Type Selection" Calculated field to Filter out Bar/Line/Map. While being in Bar Chart sheet, I select Line or Map in "Chart Type" Parameter, it does not go blank. Kindly help me to filter out Bar/Line/Map using the calculated field. I am using Tableau Public (desktop version). Thanks in advance. Mythili.
Double check how you are adding it to the filters. Change the parameter so the chart appears on one sheet, then filter the other two sheets to exclude that option in filter. Repeat for the other sheets. So each sheet should have two items excluded in the filter.
Thank you@@vizwiz. As suggested, I duplicated the "Chart Type Selection" Calculated field and added this duplicate one to Filter shelf to exclude two items. Thus each sheet had two items excluded in the filter. I completed the dashboard as shown in the video.
@@mythilisubramanian6580 Thank you for the tip! Like you, I found that selecting, say, Line in the parameter did not cause the others to go blank. Even adding a duplicate to the filter and setting it to "exclude" did not help. I finally got it to work by, for example, creating a custom "Exclude Bar and Line" with the code [Chart Type] != "Bar" AND [Chart Type] != "Line" and put that on the Map filter set to TRUE. I then put a "Exclude Line and Map" on the Bar and "Exclude Bar and Map" on the Line.
Thank you! Always great.
Hi Andy, I am using Tableau 2022.2.6 and have been trying to set up the parameter "switch" calculated field to function but without any success. Is there something different about this version that would not allow the chart to toggle between the chart types? Thanks Andy in advance. Caroline.
No, it should work. Double check that you followed the steps exactly.
@@vizwiz doesn't work :(
changing parametr doesnt affect the graphs of different types
This is cool .. Is there a way to use it to change chart between different data sources?
I'll create a video for you. It's too long for a comment, but short for a video.
@@vizwiz thanks sir
Thank you Andy. This was awesome
Very handy trick! Thank you.
Pie Chart and Tree Chart won't collapse fully. All are set to "entire view". Any idea?
If you have the title showing or manually sized them it won’t work.
This is lovely! Thank you very much!
Wow! This is amazing. Thanks for sharing.
Hi Andy, I am able to replicate everything except the parameter actions part. If I use one parameter action, it works fine but when three action parameters are there, the toggling of values in the parameter doesn't work. Can you please help, Already tried so many things !!
Double check that you don't have two actions updating the same parameter.
Thank you so much.
was looking to create a similar thing today.
Most welcome 😊
MANNNNNNNN YOU SAVED MY LIFE
when I hide the title. the container size of the hidden sheets still remain. is this bcz I use the old version of tableau (19.2)?
You probably have the sheets that are supposed to hide pinned to the width or height.
Very helpful tutorial!
For some reason my worksheet on the dashboard won't collapse when I hide the title. Anyone else experienced this? Any ideas why this is happening?
The worksheets must be in a container, the titles must be hidden and the fix width or height must NOT be set for either worksheet.
This is Super Awesome (y)
Great video. Thank you.
Very helpful thanks!
It really is magical!!!!
I am going to do this for 3m 1yr and weekly chart so cool
Sir, if every sheet is contained filter options as well... then how will manage the filter on the basis of the selected sheet?
I don't understand your question.
Thanks for sharing..!!
This is awesome...
Yeah no problem. Sorry I've not been around to much. Just have a lot going on with my case life bills and on top of that catching another case. Four weeks since I received any income. It's like I take a step forward to get knocked down three steps back.
This is pretty cool
Nice video helpful
Awesome !
This is so confusing. Does the "Filters" section automatically recognizes strings associated to chart types?
Essentially, yes. You can download the workbook to see how it’s done. The video shows you as well.
Amazing
you saved me
That's great to hear. Thanks for the feedback!
hiding the title does not reduce the size..
you have to hide the sheet titles, make sure they are all in a single container, and make sure none of them are fixed size. You can download the example.