PerguntaHow to create buttons to swap sheets.Example: Buttons for swapping sheets between profit and sales.
Resposta Follow along with the sample packaged workbook found in the Attachments section of this article to review the solution.CLICK TO EXPAND SOLUTION Buttons for swapping sheets between Sales and Product Details Create calculated fields with Strings for buttons. Example: Sales Button : "Sales" and Product Button: "Product"Create two placeholder calculated fields as discrete and dimension as following: zero: 0 and One: 1On an new sheet named Sales Button drag Sales Button, zero and one to Details on Marks CardOn an new sheet named Product Button drag Product Button, zero and one to Details on Marks Card(Optional) Create the Sales and Product sheets as desired (in our example, these sheets are named Sales by Segment, and ProductDetails)Add the Sales Button and Product Button to your dashboardAdd a Horizontal/Vertical Layout container. Add Sales by Segment, and ProductDetails sheet to this Layout container until a dark blue thick line appearsHide the Titles of Sales by Segment, and ProductDetails sheetConfigure four actions as instructed below. These 4 actions are needed in this example to define both a source and target sheet for each button. Action Filter 1 for Sales: Select the Sales Button Source Sheet as the SourceChoose Select to run the actionSelect the ProductDetails sheet as a Target SheetChoose Exclude all values when Clearing the actionAdd a Target Filter using; One as the Source field and Zero as the Target Field Action Filter 2 for Sales: Select the Sales Button Source Sheet as the SourceChoose Select to run the actionSelect the Sales by Segment sheet as a Target SheetChoose Leave the filter when Clearing the actionAdd two Target Filters using; One as the Source field and Zero as the Target FieldAnd Zero as the Source field and One as the Target Field Action Filter 1 for Products: Select the Product Button Source Sheet as the SourceChoose Select to run the actionSelect the Sales by Segment sheet as a Target SheetChoose Exclude all values when Clearing the actionAdd a Target Filter using; Zero as the Source field and One as the Target Field Action Filter 2 for Products: Select the Product Button Source Sheet as the SourceChoose Select to run the actionSelect the ProductDetails sheet as a Target SheetChoose Leave the filter when Clearing the actionAdd two Target Filters using; One as the Source field and Zero as the Target FieldAnd Zero as the Source field and One as the Target Field Clicking on the button will get the respective sheet in the bottom view To view the steps showed in the below video, please expand the above section. Note: the video has no sound.
Informações adicionaisSee the following alternative methods: Parameter Swapping between 2 sheets Forums discussion on the Tableau CommunityHow to Create a Seamless Navigation Bar for Tableau Dashboards (third party blog)Tableau Tip: Switch between views dynamically on a dashboard (third party blog)Tableau Show/Hide Button (third party blog)
Este artigo resolveu o problema? Obrigado por fornecer seu feedback sobre a eficácia deste artigo. Clique aqui para retornar à nossa página de Suporte. Abrir novo processo Abrir um novo processo Continuar a pesquisa Clique aqui para ir até a nossa página de Suporte Base de dados de conhecimento Obtenha respostas detalhadas e instruções passo a passo para seus problemas e perguntas técnicas. Comunidade Localize e compartilhe soluções com nossa comunidade ativa por meio de fóruns, grupos de usuários e ideias. Ajuda do produto Navegue por uma lista completa de guias e manuais de produtos. Produtos disponíveis online, offline e nos formatos PDF. Treinamento e tutoriais Saiba como dominar os produtos do Tableau com nosso treinamento presencial ou em sala de aula.