How to Swap Worksheets in a Tableau Dashboard (v 2022.2+)

Поділитися
Вставка
  • Опубліковано 23 лип 2024
  • Connect with us!
    •Subscribe to the OneNumber Newsletter: onenumber.biz/newsletter
    •Follow Eric Parker on LinkedIn: / eric-parker-37513249
    Description:
    Sometimes, users need to see the same data multiple ways to develop thorough insights. Providing your user the ability to switch worksheet types (e.g. swap a map for a bar chart) is a great way to provide them with flexibility in analysis!
    One of my favorite tricks in Tableau dashboarding is to allow users to swap worksheets! You can hook a parameter up to a calculation which filters/swaps between multiple sheets in a Tableau dashboard.
    I've been using this trick since I started working with Tableau in 2014. However, one of the key steps to build a worksheet swap recently changed! In Tableau Desktop 2022.2 (and presumably going forward) you now need to set up the worksheet swap with a conditional filter instead of a selection filter.
    Check out this video to learn the latest methods!
    Access/Download the demo workbook on Tableau Public here: public.tableau.com/app/profil...

КОМЕНТАРІ • 78

  • @onenumbertableau
    @onenumbertableau  Рік тому

    Need help setting up your worksheet swap? Schedule an hour with Eric here: www.eventbrite.com/e/tableau-office-hours-with-eric-parker-tickets-42691995909
    Ready to master Tableau? Check out our lineup of upcoming classes! www.eventbrite.com/o/onenumber-15678294163

  • @JakeDankwa
    @JakeDankwa 2 місяці тому +2

    You have no idea how useful this video has been for me!!! I spent more than 3 days trying to get this done. Thank you

    • @onenumbertableau
      @onenumbertableau  2 місяці тому

      That's so good to hear, we're happy to hear this helped!

  • @jomaka
    @jomaka 11 годин тому +1

    Very good demonstration

  • @paulwyatt8523
    @paulwyatt8523 Рік тому +6

    Hi Eric. Thanks for calling out the Tableau issue affecting sheet swapping in v2022.2. In great tableau tradition of being able to achieve the same outcome several ways, there is a slightly shorter method which does not require the condition for activating sheet swapping. At 4:12 in your video, instead of going to 'Condition', go to General > 'Custom Value List > 'Enter Text to Search or Add'. on each sheet, enter the valid parameter entry; Map for sheet 1, Bars for sheet 2 and , Dot Plot for sheet 3. Select [+] on each sheet to add the relevant string.

  • @user-sv5zb6lo5k
    @user-sv5zb6lo5k 9 місяців тому +1

    Amazing. Thanks for pointing out the method for updated version.

  • @RayesVoyage
    @RayesVoyage 11 місяців тому +1

    I'd used this method before to enable flipping back and forth of worksheets on my dashboards but had no clue this update changed the way to do that. This is so helpful, thanks so much!

    • @onenumbertableau
      @onenumbertableau  11 місяців тому

      You are welcome! We're glad to hear this helped!

  • @bob6690
    @bob6690 Рік тому +1

    You are the best!! I've searched the whole internet trying to understand why my Tableau didn't hide the other options. Thanks a lot man!! You have made 1 person very happy today : X

  • @josephwong8657
    @josephwong8657 7 місяців тому +1

    Great video !
    I watched other ones and this one was super clear

  • @tokazhu6919
    @tokazhu6919 10 місяців тому +1

    Finally, something that worked for updated version of Tableau!

  • @Jason-hq5ji
    @Jason-hq5ji 4 місяці тому +1

    Thanks for this update! I had been battling with the 'old' method not realizing Tableau changed it. Very frustrating!

    • @onenumbertableau
      @onenumbertableau  4 місяці тому

      You're welcome, we're glad to hear this helped!

  • @craigheard2280
    @craigheard2280 Рік тому +1

    Thank you for this, been banging my head all morning why this wasn't working! Great video and explanation !

  • @kleiotsiokanou5888
    @kleiotsiokanou5888 Рік тому +1

    Thsnk you so much for that video!! Amazing videos, easy to understand, easy to remember! You are not just experts in tableau, you also are amazing teachers! Well done, and thank you for that channel.

    • @onenumbertableau
      @onenumbertableau  Рік тому

      Thank you so much, we really appreciate that and are glad to hear you are finding it useful!

  • @pedrovelazquez6166
    @pedrovelazquez6166 5 місяців тому +1

    Just what I was looking for! thank you so much

  • @asthapuri2379
    @asthapuri2379 6 місяців тому +1

    Thank you so much! I was struggling to find a solution for this and this has been super helpful and a time saver! Thank you!

    • @onenumbertableau
      @onenumbertableau  6 місяців тому

      You are very welcome! So glad to hear this helped!

  • @DarbazDara
    @DarbazDara 3 місяці тому

    Great trick... just what I was looking form thank you

    • @onenumbertableau
      @onenumbertableau  3 місяці тому

      We're glad to hear this is helpful, you're welcome!

  • @caffiryli8445
    @caffiryli8445 Рік тому +1

    it's really helpful, thanks for sharing

    • @onenumbertableau
      @onenumbertableau  Рік тому

      I'm so glad this is helping you. Thanks for letting us know!

  • @rajender721
    @rajender721 11 місяців тому +1

    Thank you very much fixed my dashboard!

  • @gabonicabas
    @gabonicabas Рік тому +1

    Great video.
    Thanks for sharing.

  • @user-qk7es8tv5r
    @user-qk7es8tv5r 7 місяців тому +1

    Very helpful, thank you.

  • @MandleDan
    @MandleDan Рік тому +2

    Spent longer today than I'd care to admit, trying to figure out what on Earth I was doing wrong--the traditional parameter/swap methodology all of a sudden wasn't working anymore. Totally v2022.2. Ugh. Thanks so much for the walk-through, Eric!

    • @onenumbertableau
      @onenumbertableau  Рік тому

      I hear you! I was teaching a class in August and it kept not working. I was wondering if I was going crazy! I'm glad this helped.

  • @ragragrec1
    @ragragrec1 6 місяців тому +1

    That change of additing the condition was the missing link - thanks for showing that was going crazy

    • @onenumbertableau
      @onenumbertableau  6 місяців тому +1

      We're so glad to hear this helped and preserved your sanity!

  • @shoppersdream
    @shoppersdream 6 місяців тому +3

    Nice, thanks! I noticed for these options Map, Bars, and Dot Plot you chose "Worksheet Selection Filter" for Maps and "Worksheet Selection Parameter" for Bars, and "Worksheet Selection Filter" for Dot Plot. Why not the same for all three? Thanks

    • @onenumbertableau
      @onenumbertableau  6 місяців тому

      Good eye! It was a mistake. While it works, I'd probably try to consistently choose the calculation each time.

  • @malinthawijewardana6922
    @malinthawijewardana6922 8 днів тому +1

    Thanks Mate

  • @JoePollard-oo1zh
    @JoePollard-oo1zh Рік тому +1

    Thanks so much Eric! After spending several hours trying to figure out why I could no longer swap sheets (using the same method I've used for a few years now) your video solved the issue. Kind of irritating Tableau made the change (although I'm assuming they had a good reason ... or maybe not the way things at Tableau seem to be headed) without somehow making it more obvious to users how the change would impact their dashboards. Can't thank you enough for this one!

    • @onenumbertableau
      @onenumbertableau  Рік тому

      We're sorry you had that experience and also glad to hear we were able to help!!

  • @GiordanosGarage
    @GiordanosGarage 6 місяців тому +1

    Great video! on the last step my two sheets in the container don't resize...it just has one half or the other go blank--is there a way to tell it to auto-resize?

    • @onenumbertableau
      @onenumbertableau  6 місяців тому

      Hi and great timing! Check out this video we just put out and ensure none of your objects are fixed height: ua-cam.com/video/hPPgXTCzCM8/v-deo.html&ab_channel=OneNumber-TableauExperts

  • @happyjason1728
    @happyjason1728 4 місяці тому

    Thank you so much for sharing this trick. I do have a follow-up question: can you add different legends to those charts?

    • @onenumbertableau
      @onenumbertableau  4 місяці тому

      You're welcome! You can, here's a blog post on it: onenumber.biz/blog-1/2020/1/22/creating-dynamic-color-legends-for-worksheet-swaps
      You might find it easier to use Dynamic Zone Visibility to swap numerous objects though: onenumber.biz/blog-1/2022/3/29/tableau-dynamic-zone-visibility

  • @linustorvalds306
    @linustorvalds306 Рік тому +1

    Good to know about change on filter behavior on 2022 versions, still on 2020.4.3 😄😅

    • @onenumbertableau
      @onenumbertableau  Рік тому +1

      You never expect something like this to change but it can obviously happen! Glad to help.

  • @eaglyn
    @eaglyn Рік тому +1

    Hi Eric, in 4:14 you've entered [Worksheet Selection Filter] for Map but in 5:03 you've entered [Worksheet Selection Parameter] for Bars. Then for Dot Plot, you've entered [Worksheet Selection Filter] again. May I know why is Bar's condition different from the rest? It seems that the swapping still work for all of them despite the different conditions.

    • @onenumbertableau
      @onenumbertableau  Рік тому +1

      Hi! Thanks for checking our video out. No real reason other than I accidentally referenced the parameter. I meant to reference the calculation all 3 times.

  • @Op-Buyer
    @Op-Buyer Рік тому +1

    Its working thank
    But please add button filter to swap
    Action not working
    Please!

    • @onenumbertableau
      @onenumbertableau  Рік тому

      Thanks! Are you thinking of something like this? ua-cam.com/video/xhr0EIUgf0I/v-deo.html&ab_channel=Tableau

  • @jimstvnetwork
    @jimstvnetwork Рік тому +1

    Great video! Working great for most of my objects except one. I have a table with 4 columns (KPI indicators) and it will display which ever table is listed higher in the item hierarchy layout but will just show a blank space when the one listed lower in the hierarchy is selected. This issue does not happen with my 3 other charts (2 line charts and 1 data table). Any ideas?

    • @onenumbertableau
      @onenumbertableau  Рік тому

      I'm guessing one of the objects in your container has a "fixed height". Click in the background of the sheet, and you'll see a little white pin the top right corner of that sheet. Deselect that white pin so it has a hollow middle. It is now a "dynamic height" object. Hopefully that does it!

    • @denyskyrianov1701
      @denyskyrianov1701 10 місяців тому

      @@onenumbertableau I am trying to do the same. Everyone shows how to make it work for 3 graphs . But it doesn't with 4 or more graphs. Tableau automatically ''fixed height'' for 4th container

    • @onenumbertableau
      @onenumbertableau  9 місяців тому

      @@denyskyrianov1701 Weird. I had never had that issue before but just tried to create a swap with 4 sheets and experienced the same issue you mentioned. I'm guessing this also has something to do with updates Tableau has made but I'm not sure what specifically. I think worksheet swaps with Dynamic Zone Visibility might be the best bet for 4+ worksheets: onenumber.biz/blog-1/2022/3/29/tableau-dynamic-zone-visibility

  • @kevalshah382
    @kevalshah382 Рік тому +1

    Thank you.
    The video is really helpful.
    I tried to implement same thing in my dashboard. But I am facing a different issue. I also have legend in my sheets. And when swapping sheets either both legends are present in both sheets or single one for both sheets which is not what I want. Can you help me with it?

    • @onenumbertableau
      @onenumbertableau  Рік тому

      Hey Keval, 2 options for you:
      1. Get the legend to swap as well by tying it to a 3rd sheet: onenumber.biz/blog-1/2020/1/22/creating-dynamic-color-legends-for-worksheet-swaps
      2. Use Dynamic Zone Visibility to swap and it an swap legends, filters, parameters too : onenumber.biz/blog-1/2022/3/29/tableau-dynamic-zone-visibility

    • @kevalshah382
      @kevalshah382 Рік тому

      @@onenumbertableau Thank you for the help.
      I tried implementing the Dynamic Zone Visibility Method but I cannot find it in my dashboard. Could you please let me know what should be the minimum Tableau version for getting that feature? Also, can it be directly applied to a sheet or it must be applied to containers?
      Hoping for your reply soon.

    • @onenumbertableau
      @onenumbertableau  Рік тому

      @@kevalshah382 Hi Keval, Looks like it first released in 2022.3. It can be applied directly to any object (worksheet, filter, legend, parameter).

  • @andrea2686
    @andrea2686 Рік тому

    If in case, my sheet has filters for each, can I also swap the filter the same way I swap the sheet?

    • @onenumbertableau
      @onenumbertableau  Рік тому

      This is such a good question. I made a note to myself to make a follow-up video on this topic. No, unfortunately other objects like Filters, Legends and Parameters can't be easily swapped this same way. I recommend creating a third worksheet which doesn't change which things like Color Legends and Filters are connected to because a filter or color legend attached to a disappearing/collapsed sheet will display only null values. Here's a blog post about how to make dynamic color legends. This process should work for filters too onenumber.biz/blog-1/2020/1/22/creating-dynamic-color-legends-for-worksheet-swaps

  • @grudajeffrey6228
    @grudajeffrey6228 7 місяців тому +1

    Whenever a sheet is swapped it leaves an empty box a few pixels high throwing off alignment. Anyway to get rid of those?

    • @onenumbertableau
      @onenumbertableau  7 місяців тому

      Not with this approach but it might be worth trying a worksheet swap with Dynamic Zone Visibility instead. How to here: ua-cam.com/video/EkKgPs9ky4k/v-deo.html&ab_channel=OneNumber-TableauExperts

  • @r.d6707
    @r.d6707 2 місяці тому

    When i choose to show color legend for each worksheet, there is always a blank row when i swap among worksheets. Is there a way to hide the color legend from other worksheets when showing one worksheet?

    • @onenumbertableau
      @onenumbertableau  2 місяці тому

      Your best bet is to tie the color legend/filters to a worksheet that isn't swapping. Check out this post on the topic: onenumber.biz/blog-1/2020/1/22/creating-dynamic-color-legends-for-worksheet-swaps

  • @archanakams1905
    @archanakams1905 11 місяців тому

    I followed this but when I apply a filter the second sheet gets hidden . Please help

    • @onenumbertableau
      @onenumbertableau  11 місяців тому

      Are your filters applied to both sheets? (More info on how to do that here: ua-cam.com/video/mq32Ln-2cNg/v-deo.html&ab_channel=OneNumber-TableauExperts)

  • @marcuslatansa4202
    @marcuslatansa4202 9 місяців тому

    My layout container does not work. It still splits half screen each chart even after hidding title

    • @onenumbertableau
      @onenumbertableau  9 місяців тому

      Make sure that the little "Fix Height" pins on the worksheets in the layout containers are not selected. If the objects have been manually adjusted at all they are likely Fixed Height and then won't expand and Contract accordingly. If you're not sure what I'm talking about jump to around 5:20 in this video: ua-cam.com/video/lG6HgkaKwTU/v-deo.html&ab_channel=OneNumber-TableauExperts

  • @sv4647
    @sv4647 Місяць тому +1

    Does this work with floating objects??????

    • @onenumbertableau
      @onenumbertableau  Місяць тому

      I suppose if you gloated a layout container and the objects were tiled inside the floating container, yes. However, Dynamic Zone Visibility is probably a better fit for swapping floating objects: onenumber.biz/blog-1/2022/3/29/tableau-dynamic-zone-visibility