Choose a Chart Type with Parameter Actions in Tableau
Vložit
- čas přidán 19. 07. 2024
- In this tip, I show you how I use chart icons along with parameter actions to allow users to select their preferred chart type.
Download the workbook here - www.vizwiz.com/2020/07/chart-... - Věda a technologie
Thank you, Andy for your generosity in sharing your knowledge!
Another master piece!! Thank you!
You helped me a lot in my Tableau projects. Thanks again and cheers from Brazil
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!!!
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.
This is a great tutorial. I've never seen the easiest lessons for the switch sheets.
Glad it was helpful!
Really useful, I use this a lot. Thanks a lot for sharing, Coach!
That was so easier than I thought! Great Job Andy!
Thanks! 👍
Thank you Andy. This was awesome
Thank you! Always great.
Wow! This is amazing. Thanks for sharing.
This is lovely! Thank you very much!
Very handy trick! Thank you.
You are You! Kudos Andy!
Very helpful tutorial!
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 ?
Great video. Thank you.
It really is magical!!!!
Very helpful thanks!
Unique use of parameter 👍🏻👍🏻👍🏻
Thank you so much.
was looking to create a similar thing today.
Most welcome 😊
MANNNNNNNN YOU SAVED MY LIFE
This is Super Awesome (y)
This is awesome...
Thanks for sharing..!!
This is pretty cool
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.
Awesome !
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.
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.
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.
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.
Nice video helpful
Amazing
I am going to do this for 3m 1yr and weekly chart so cool
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
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.
you saved me
That's great to hear. Thanks for the feedback!
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.
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.
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.
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.
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.
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.
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.