<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Vaishnavi Kousalyanandan on Medium]]></title>
        <description><![CDATA[Stories by Vaishnavi Kousalyanandan on Medium]]></description>
        <link>https://medium.com/@vaishnavi-kousalyanandan?source=rss-4e0131a28672------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*y7sqiMXXZd-5zHNzwpLFCQ.png</url>
            <title>Stories by Vaishnavi Kousalyanandan on Medium</title>
            <link>https://medium.com/@vaishnavi-kousalyanandan?source=rss-4e0131a28672------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 02 Dec 2026 18:08:19 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@vaishnavi-kousalyanandan/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Solving the Count Distinct Problem using HyperLogLog in Tableau]]></title>
            <link>https://vaishnavi-kousalyanandan.medium.com/solving-the-count-distinct-problem-using-hyperloglog-in-tableau-439fce002408?source=rss-4e0131a28672------2</link>
            <guid isPermaLink="false">https://medium.com/p/439fce002408</guid>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[tableau]]></category>
            <category><![CDATA[big-data]]></category>
            <category><![CDATA[data]]></category>
            <dc:creator><![CDATA[Vaishnavi Kousalyanandan]]></dc:creator>
            <pubDate>Sat, 27 Jan 2024 15:26:02 GMT</pubDate>
            <atom:updated>2024-01-27T15:26:02.583Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/0*sr5RHUvrsUNPhFLj" /><figcaption>Image from Unsplash</figcaption></figure><p>In the world of data analysis, especially for large-scale businesses like a Global E-commerce Platform, counting unique elements in massive datasets is a significant challenge. Consider the task at hand for such a platform: they want to better understand their customer base by tracking unique customer visits daily, weekly, and monthly.</p><h4><strong><em>The Challenge:</em></strong></h4><p>With millions of users and transactions, traditional counting methods like SQL queries struggle to keep up. They face two main issues:</p><ol><li>Time Constraints: Running detailed count queries on huge datasets takes a lot of time and in some cases becomes impossible. This slow process can delay important business decisions.</li><li>Resource Intensity: Precise counting demands a lot of computational power and memory, which can be expensive and inefficient.</li></ol><h4><em>Solution: HyperLogLog (HLL) Algorithm</em></h4><p>The HyperLogLog (HLL) algorithm steps in as a game-changer. It is a probabilistic technique used in data analysis to estimate the approximate count of distinct elements in a large dataset.</p><blockquote>The HyperLogLog algorithm is able to estimate cardinalities of &gt; 10 billion with a typical accuracy (standard error) of 2%, using 1.5 kB of memory.</blockquote><p>It works by observing unique patterns within a subset of the data, allowing for a quick and memory-efficient estimation of the overall number of distinct elements, such as unique visitors to a website or different items in a database.</p><p>The key advantage of HLL is that it doesn’t need a lot of memory or time to give you a good enough estimate of these unique counts. It’s especially useful when you want a quick answer and don’t need the exact number down to the last digit.</p><h4><strong>How does HyperLogLog work — An Intuition</strong></h4><p>Alright, imagine you have a big box of different-colored candies, and you want to know how many unique colors are in there. Now, instead of painstakingly going through each candy, you decide to take a handful of them, maybe 20 or 30, and look at their colors.</p><p>Here’s the clever part: you’re not interested in each candy individually; you’re just paying attention to whether you’ve seen a new color or one you’ve already noticed. For example, if you find a candy that’s a different color from what you’ve seen so far, you make a mental note of it.</p><p>Now, you repeat this process with another handful of candies, and again, you’re only caring about new colors. You keep doing this until you’ve gone through the entire box.</p><p>Once you’re done, you don’t need to remember every single candy; you just remember the unique colors you saw. And here’s the magic: based on the patterns of new colors you observed in those small groups, you can make a pretty good guess about the total number of unique colors in the entire box.</p><p>This is essentially how the HyperLogLog (HLL) algorithm works, but instead of candies, it deals with data. It doesn’t go through every single piece of information one by one; it looks at smaller groups, finds unique patterns, and uses those patterns to estimate the total number of unique things in the entire dataset.</p><p>So, HLL is like a smart way of quickly guessing how many different things you have in a big dataset without having to check every single piece. It’s a bit like a magic trick for data that helps us get a good enough answer without spending forever counting everything.</p><p><em>For a deep dive into the technical intricacies of HLL, check out this link: </em><a href="https://chengweihu.com/hyperloglog/"><em>https://chengweihu.com/hyperloglog/</em></a></p><h3>Implementing HyperLogLog in Tableau: A Step-by-Step Approach</h3><p>When integrating HyperLogLog (HLL) for efficient unique count estimations, it’s important to note that I’ll be demonstrating the implementation specifically for Google BigQuery (BQ) and Tableau.</p><p>Keep in mind, if you’re using different data warehouses, the syntax might vary slightly. It’s essential to check the specific syntax requirements for HLL in your chosen platform. Here’s how to go about it:</p><h4><strong>Step 1: Creating the HLL Sketch in BigQuery:</strong></h4><p>Begin by generating an HLL Sketch column in your backend table. This is done using the HLL_COUNT.INIT() function in BQ. For instance, if you’re counting unique visitors using the ‘visitor_id’ column, utilize HLL_COUNT.INIT(visitor_id), ensuring the ‘visitor_id’ column is omitted in the select statement. The resulting HLL sketch is added as another column, aligning with the selected data levels. In the provided example, the goal is to calculate the unique count of ‘visitor_id’ at the event_date, country, and device type levels.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mxG2H3TFUQ9oV8SIa9krWQ.png" /><figcaption>Data shown is illustrative and not derived from any actual employer data</figcaption></figure><h4><strong>Step 2: Data source connection to Tableau Dashboard:</strong></h4><p>For accessing the HLL sketch in Tableau, ensure that your BQ table is directly (live connection) connected to the dashboard rather than using any published data sources from Tableau server.</p><h4><strong>Step 3: Extracting Unique Values in Tableau:</strong></h4><p>To pull out unique values from the HLL Sketches in Tableau, you’ll need to use the below calculation in your dashboard. You can later incorporate this calculation into Tableau views, treating it like a regular count distinct field, and the data will be computed accordingly.</p><p>Keep in mind that the ‘hll_sketch’ column, while created in the backend, won’t be displayed as a database column in Tableau. However, you can still use this column in your calculations, and it will function correctly.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7SJ6aYGgYJd59McFvA6dVw.png" /></figure><p>By following these steps, you’re setting up a robust system for handling and visualizing unique counts in large datasets, ensuring that your data insights are both fast and reliable.</p><p>Feel free to share your thoughts or questions or even your own experiences with HLL in the comments below. If you found this content valuable, consider hitting the clap button. Thank you for reading till the end. Until next time, stay connected and keep innovating 🚀</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=439fce002408" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Tableau | 5 Tips That Can Drastically Improve Your Dashboard’s User Experience — Part 1]]></title>
            <link>https://vaishnavi-kousalyanandan.medium.com/tableau-5-tips-that-can-drastically-improve-your-dashboards-user-experience-part-1-1410824d434a?source=rss-4e0131a28672------2</link>
            <guid isPermaLink="false">https://medium.com/p/1410824d434a</guid>
            <category><![CDATA[analytics]]></category>
            <category><![CDATA[user-experience-design]]></category>
            <category><![CDATA[dashboard]]></category>
            <category><![CDATA[design]]></category>
            <category><![CDATA[user-experience]]></category>
            <dc:creator><![CDATA[Vaishnavi Kousalyanandan]]></dc:creator>
            <pubDate>Thu, 02 Jun 2022 16:40:28 GMT</pubDate>
            <atom:updated>2022-06-02T16:40:28.743Z</atom:updated>
            <content:encoded><![CDATA[<h3><strong>Tableau | 5 Tips That Can Drastically Improve Your Dashboard’s User Experience — Part 1</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*jmZXtOtDZsTaBVHy.png" /><figcaption>Illustration by <a href="https://undraw.co/illustrations">Undraw</a></figcaption></figure><p>It is well known that user experience is an integral part in the development of any dashboard/app/website. A well-built dashboard keeping user experience in mind can instill confidence in the work and also provides a positive experience for the user.</p><p>Following are few UX tips for dashboarding which I have used in my work and has attracted good feedbacks from the end user:</p><p><strong>1.</strong> <strong>Show “Apply” option when using Multi-select filters:</strong></p><p>Will you be comfortable with a dashboard loading each and every time you select a value from a long list of 100+ values. There are chances that you will stop using the dashboard. This is what happens when the user has to wait for few — many seconds depending on the dashboard performance to get the data they finally want. Hence it is always a very good practice or even a must to show the “Apply” option for multi-select filters so that the end user can select the values they want and hit the <strong>APPLY</strong> button.</p><p><strong>2.</strong> <strong>Minimize the usage of scrollbars:</strong></p><p>Users often decide whether to stay or leave based on what they can see without scrolling. And scrollbars are a pain to users when there are two tabular charts with long list side by side for comparison since he/she has to scroll the bars of two charts at same pace to rightly compare the data. This can be solved by adding page numbers to the dashboard and is one of my tried and true ways to improve dashboarding UX.</p><p>P.S. Check out my article on how to implement dynamic pagination <a href="https://vaishnavi-kousalyanandan.medium.com/dynamic-pagination-in-tableau-a-step-by-step-guide-344dbe148622">here</a>.</p><p><strong>3.</strong> <strong>Include a Glossary section in the dashboard:</strong></p><p>It is practical to not be able to understand the intricacies of the dashboard when the user views it for the first time. So, its always a best bet to include a glossary tab/icon and consume this space to explain the complex calculations used, provide detailed explanation on the concepts, including navigation guide, FAQs and whatever information the user to know. To put in simple terms, the primary objective is to make the end user understand the dashboard better and with ease.</p><p><strong>4.</strong> <strong>Add takeaways section to the dashboard:</strong></p><p>The end goal of a dashboard is to provide key insights to the users that aids in their decision-making process. Obviously, visualizations should help them get there, however, highlighting and summarizing the key insights/takeaways from the dashboard can add immense value to the users and improve their experience.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nLDDybJvAp8IN40QN8TzKA.png" /><figcaption>Image from BCG’s Travel Recovery Insights Portal</figcaption></figure><p><strong>5.</strong> <strong>Add commentary in tooltips rather than just numbers:</strong></p><p>The usual practice of adding tooltips is to include the label and its corresponding value. This serves the purpose for most of the users but at the same time this doesn’t make any impact as well. What if the tooltips are made in a way that it explains the viz to the user rather than just putting out the values. This can create a better engagement of the user with the viz and I have personally felt this myself.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/729/1*tY2cGi4Q-kcXkY9phkU4DA.png" /><figcaption>Image from BCG’s Travel Recovery Insights Portal</figcaption></figure><p>P.S: I took inspiration on the above two points from the Travel Recovery Insights Portal created by BCG and is available in tableau public <a href="https://public.tableau.com/app/profile/the.boston.consulting.group/viz/BCGsTravelRecoveryInsightsPortal/PortalHome">here</a>. This dashboard serves as a very good reference and a learning source for me.</p><p>Thanks for reading &amp; follow these tips to take your dashboard to the next level 🚀!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1410824d434a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Tableau | How to publish hidden but accessible dashboards to tableau server]]></title>
            <link>https://vaishnavi-kousalyanandan.medium.com/tableau-how-to-publish-hidden-but-accessible-dashboards-to-tableau-server-1f87ba2ac925?source=rss-4e0131a28672------2</link>
            <guid isPermaLink="false">https://medium.com/p/1f87ba2ac925</guid>
            <category><![CDATA[data]]></category>
            <category><![CDATA[tableau]]></category>
            <category><![CDATA[analytics]]></category>
            <category><![CDATA[business-intelligence]]></category>
            <category><![CDATA[data-visualization]]></category>
            <dc:creator><![CDATA[Vaishnavi Kousalyanandan]]></dc:creator>
            <pubDate>Sun, 27 Mar 2022 10:22:55 GMT</pubDate>
            <atom:updated>2022-03-27T10:22:55.239Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/733/1*5V9N1Yp55hyf2GiGrDZMQg.png" /></figure><p>Drilldown capability is a common and very useful functionality in dashboarding which enables the users to view the details at any particular granular level without making the dashboard cluttered.</p><h4><strong>How drilldown capability is relevant to the blog?</strong></h4><p>If you wanted to create a drilldown for a dashboard 1, its common that we create another dashboard 2 with a granular level information and connect these two dashboards using action filters. This creates a drilldown capability for dashboard 1. However, to make the drilldown work seamlessly, we might have to publish all the dashboards, in this case both dashboard 1 and dashboard 2 to tableau server.</p><p>This might not look better when you have multiple drilldown dashboards as they all might appear on server. When you try to just uncheck “show sheet as tabs” option while publishing, sometimes the drilldown dashboard opens as a new window instead of opening within the same dashboard. To avoid this complexities, its possible to make the screen appealing even by publishing all dashboards to server and make it hidden but accessible. Lets continue to read to learn about it…</p><h4><strong>How to publish hidden but accessible dashboards to tableau server?</strong></h4><p>This is a simple and easy trick which might make you wonder.</p><p><strong>Step 1:</strong> In the main dashboard, in our case dashboard 1, add a navigation button and give dashboard 2 in Navigate to section.</p><p><strong>Step 2: </strong>Change the background color of navigation button to None and set the height and width of the same to 1 so that its very small and not visible to user.</p><p><strong>Step 3:</strong> While publishing dashboard 1 and dashboard 2 to server, uncheck Show sheet as tabs option and publish the dashboard.</p><p><em>Note: When you have multiple dashboards, this trick requires you to create navigation buttons separately for each dashboard so that you can navigate to them on server since unchecking show sheet as tabs wont show the dashboard tabs in the server.</em></p><p>That&#39;s it! this simple 3-step trick can enable the drilldown capability from dashboard 1 to dashboard 2 without showing dashboard 2 at the top of tableau server.</p><p>Hope you find this trick interesting and useful. Thanks for reading!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1f87ba2ac925" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Tableau | Dynamic Pagination | A Step-by-Step Guide]]></title>
            <link>https://vaishnavi-kousalyanandan.medium.com/dynamic-pagination-in-tableau-a-step-by-step-guide-344dbe148622?source=rss-4e0131a28672------2</link>
            <guid isPermaLink="false">https://medium.com/p/344dbe148622</guid>
            <category><![CDATA[visualization]]></category>
            <category><![CDATA[tableau]]></category>
            <category><![CDATA[data]]></category>
            <category><![CDATA[analytics]]></category>
            <category><![CDATA[data-visualization]]></category>
            <dc:creator><![CDATA[Vaishnavi Kousalyanandan]]></dc:creator>
            <pubDate>Wed, 02 Mar 2022 11:53:07 GMT</pubDate>
            <atom:updated>2022-03-09T05:37:55.030Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/991/1*QzRsJND9XbPo8TrG66IUvg.jpeg" /></figure><p>Recently in few of my projects, I found dynamic pagination to be a very useful feature when showing a long list of data either vertically or horizontally. It helped me show the complete data without having to compromise on the data shown by filtering/leaving out information to make the data fit the screen. Hence thought of sharing it as this might help you to create visually appealing tables even with a long list of data.</p><p><em>Note: The dynamic pagination is not restricted to tables and it can be applied to any chart type like a stacked bar, bar charts, etc.,</em></p><figure><img alt="Dynamic Pagination in Tableau" src="https://cdn-images-1.medium.com/max/843/1*fwTZHMx2WGEygsKl1-wFVw.jpeg" /><figcaption>Dynamic pagination in tableau</figcaption></figure><blockquote><strong>How is this different from simple pagination using a parameter in tableau?</strong></blockquote><blockquote>Let’s taken an example. Say, you have Region as a filter and you are showing the list of countries in the dashboard. Say you wanted to show only 20 countries per page and hence there will be 5 pages in total for all regions and you have navigated to the 5th page. But now when you select a particular region which has just 10 items from the 5th page the dashboard goes blank because there is no fifth page for the chosen region as it has only one page in total.To show the data in that one page , the user has to go to first page. To avoid the dashboard going blank everytime which is not a good user experience, I have created a dynamic pagination in tableau which changes according to filters selected in the dashboard.</blockquote><p><strong>What are the calculations required to create dynamic pagination?</strong></p><ol><li>An integer parameter with page numbers as input.</li><li>A calculated field to compute page number for every item.</li><li>A calculated field to compute the total number of pages.</li><li>A calculated field for showing the starting page number.</li><li>A calculated field to display the page number and total pages.</li><li>4 calculated fields for navigation buttons.</li><li>A calculated field to filter the list based on the page number.</li><li>5 sheets for designing the buttons and display text.</li><li>4 parameter actions to change the parameter values.</li></ol><p><strong>How to create dynamic pagination?</strong></p><p><strong>Step 1:</strong> Create an integer parameter with a range starting from 1 to the total number of pages your dashboard might have. On the safer side let&#39;s give a higher number say 5000.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/880/1*cj_eciXpkkXGkFx79KEItQ.png" /></figure><p><strong>Step 2: </strong>Create a calculated field to compute the page numbers for every item in your list. The denominator highlighted below tells the number of items that need to be shown on each page. This can be changed as per your requirement.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/948/1*7qGhbK-n5UhlSv_Wyd7B2w.png" /></figure><p><strong>Step 3: </strong>Create a calculated field to calculate the total number of pages the dashboard has based on the filters selected.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2Z1c7sYyMMkEauc3ob4lIQ.png" /></figure><p><strong>Step 4: </strong>Create a calculated field to display the starting page number in the display text box.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*N7v7j6ZQ6aOJvGjTN4DYhQ.png" /></figure><p><strong>Step 5:</strong> Create a calculated field to show the text that displays the page to which the user has navigated and the total number of pages in that window.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JSLE_Fte8UlyQ1XEq0GDiw.png" /></figure><p><strong>Step 6:</strong> Create the calculated fields for navigation buttons as shown below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Gv6CY51qZe3ZpqBWM1d2WA.png" /></figure><p><strong>Step 7:</strong> Then create a calculated field to filter the list based on page number and place the field in the required sheet and select TRUE.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1KRgLCkRzL5wI-4uG2ra6A.png" /></figure><p><strong>Step 8: </strong>Create 5 sheets to display the buttons and text in the dashboard. Arrange them accordingly in the dashboard.</p><p><em>Note: You can also design the buttons in whichever way you want.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*64mSR-GjtWV0j0qg8cz1rg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/762/1*o1uv_Soc7tLk3txktEtBpA.png" /></figure><p><strong>Step 9: </strong>Create parameter actions in the dashboard to change the page number based on the user’s navigation.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/540/1*aI3zbRzXd1FZqDGRYsQXCA.png" /></figure><p>That&#39;s it! Though it seems like there are a lot of steps to be followed but once implemented it provides a very good user experience when dealing with long lists of data.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bG59aKp6Cyhf5dvGfepb0g.png" /></figure><p>Thanks for reading! Refer to the workbook published <a href="https://public.tableau.com/app/profile/vaishnavi5055/viz/DynamicPagination_16451942448290/DynamicPagination"><strong>here</strong></a><strong> </strong>if you face any issues in implementing the feature.</p><p>I hope you find this tutorial useful and let me know any concept/feature that you would like me to write about in the comments below.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=344dbe148622" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Tableau | How to redirect a user to the current action selected dashboard dynamically]]></title>
            <link>https://vaishnavi-kousalyanandan.medium.com/how-to-redirect-a-user-to-the-current-action-selected-dashboard-dynamically-6813d186880d?source=rss-4e0131a28672------2</link>
            <guid isPermaLink="false">https://medium.com/p/6813d186880d</guid>
            <category><![CDATA[data-visualization]]></category>
            <category><![CDATA[data]]></category>
            <category><![CDATA[tableau]]></category>
            <category><![CDATA[analytics]]></category>
            <category><![CDATA[data-analytics]]></category>
            <dc:creator><![CDATA[Vaishnavi Kousalyanandan]]></dc:creator>
            <pubDate>Mon, 17 Jan 2022 15:27:18 GMT</pubDate>
            <atom:updated>2022-03-09T05:38:19.246Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/600/1*jpRdsGfnElL2b2uVrnxtog.gif" /></figure><p>Have you ever been in a situation where you would want to enable a dashboard action say from dashboard 1 to dashboard 3 and also from dashboard 2 to dashboard 3 within a Tableau workbook but on doing so, the dashboard goes haywire when the user navigates directly to the dashboard 2 from dashboard 3?. You thought it right. This is because the first action remains selected in dashboard 3 and hence the user has to go to dashboard 1 and deselect the action selected to not encounter this issue.</p><p>You could ask isn’t there any way to tackle this issue by redirecting the user to the dashboard where the current action is selected?</p><p>Definitely possible by using a few calculations and parameter actions in Tableau.<em>[Note: Some developers might suggest ‘Revert’ option to reset all filters in a workbook but Revert will reset the entire workbook including both action &amp; quick filters so that the user has to reselect the values in the quick filters every time.]</em></p><p>Follow the steps below to leverage the power of dashboard actions while keeping the dashboard intact. To start with let&#39;s consider sample superstore data to demonstrate the solution.</p><ol><li>As a first step, let us make our visualizations ready by creating three dashboards Dashboard 1, Dashboard 2, and Dashboard 3 (drill-down view) with dashboard 1 showing the distinct count of products by category, dashboard 2 showing the distinct count of products by region, and dashboard 3 showing a tabular view with a list of product IDs and its corresponding sales.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*phtaDZYc4AckfNobY20oWw.png" /><figcaption>Dashboard 1</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5O1UQ9mIU9KRKVUBX1SoLA.png" /><figcaption>Dashboard 2</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/856/1*sOT7qow0AdGlFKtujt0vOQ.png" /><figcaption>Dashboard 3</figcaption></figure><p>2. Next step is to create two <strong>filter actions </strong>one from dashboard 1 to dashboard 3 and the other from dashboard 2 to dashboard 3 as shown below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/924/1*84QD1VmKUxy8nAgtD0DWAw.png" /></figure><p>3. Now that we have created the filter actions, let&#39;s check what happens if we click on the Furniture category in Dashboard 1. This shows the list of 375 products in dashboard 3. Now, if I navigate from dashboard 3 to dashboard 2 directly and select Central region, I should ideally be seeing the list of 1310 products in dashboard 3. However, since the first filter action remains selected in dashboard 3, it shows only 271 products which is nothing but the count of products when both Furniture and Central are selected.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Db27DXY9EnZafXhMGyYd1Q.png" /></figure><p>4. To solve this issue, let us create a parameter <strong>‘Chart Name’</strong> of type String that has <strong>‘Category’</strong> and <strong>‘Region’</strong> as values. This parameter can help us identify from which chart the user is navigating to dashboard 3.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/876/1*L8gOu_smfaCBtOIxFx5__g.png" /></figure><p>5. Then create two calculated fields <strong>‘Category Text’</strong> and <strong>‘Region Text’</strong> with <strong>‘Category’</strong> and <strong>‘Region’</strong> as values respectively as shown below. Place these fields in <strong>detail </strong>marks of sheets in dashboard 1 and dashboard 2 respectively.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1007/1*GWCtQGJqZhOOaF8MnXukEg.png" /></figure><p>6. Next step is to create a calculated field <strong>‘Back button’ </strong>with value as <strong>‘Back’</strong>. This will enable us to navigate to the action-selected dashboard.</p><p>7. Then create two more calculated fields <strong>‘Category Back Calculation’</strong> and <strong>‘Region Back Calculation’</strong> as shown below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gYAezVYj_HkrrGlgn3kkcQ.png" /></figure><p>8. Now we need to create two sheets one for each chart and name it accordingly. I have created <strong>‘CategoryBack’</strong> and <strong>‘Region Back’</strong> sheets. Then place the ‘Back button’ field in the text mark of both the above sheets.</p><p>9. Then add the ‘Category Back Calculation’ and ‘Region Back Calculation’ fields to ‘Category Back’ &amp; ‘Region Back’ sheets respectively as filters and set the value as <strong>1</strong>.</p><p>10. Next step is to place these two sheets in a horizontal container in dashboard 3.</p><p>11. Then create <strong>Go To Sheet action</strong> from dashboard 3 to dashboard 1 and 2 as shown below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/996/1*x2_ZmzrRHibcMdNKHvc1XQ.png" /></figure><p>12. Finally let’s create <strong>parameter actions</strong> in dashboard 1and dashboard 2 as shown below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/779/1*CCHfcxOPKPO_YR8DycTffQ.png" /></figure><p>Yay, we cracked it! Now when we click on the Furniture category in dashboard 1 the value ‘Category’ will be passed to parameter ‘Chart Name’ and only Back text from the ‘Category Back’ sheet will appear. On selecting this Back text, the user will be redirected to dashboard 1only since we have created a Go To Sheet action. The user can then deselect the action and navigate to dashboard 2 to get desired results in dashboard 3.</p><p>Please like/comment if you find this trick useful and don&#39;t forget to follow Tableau Viztricks for more tricks.</p><p>Thanks for reading!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6813d186880d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Tableau | How to show tooltip visualization only on click and not on hover]]></title>
            <link>https://vaishnavi-kousalyanandan.medium.com/tooltip-visualization-viz-is-a-powerful-feature-that-allows-us-to-place-visualizations-in-the-5913b28c2e35?source=rss-4e0131a28672------2</link>
            <guid isPermaLink="false">https://medium.com/p/5913b28c2e35</guid>
            <category><![CDATA[data-visualization]]></category>
            <category><![CDATA[analytics]]></category>
            <category><![CDATA[data-visualisation]]></category>
            <category><![CDATA[data-visualization-tools]]></category>
            <category><![CDATA[tableau]]></category>
            <dc:creator><![CDATA[Vaishnavi Kousalyanandan]]></dc:creator>
            <pubDate>Thu, 13 Jan 2022 05:02:39 GMT</pubDate>
            <atom:updated>2022-03-09T05:45:42.671Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/931/1*lfUC4FF_zvm15oPnGbpo1A.png" /></figure><p>Tableau tooltip viz is a powerful feature that allows us to place visualizations in the tooltips. This feature comes in handy when using drill-through charts. Using tooltip viz in drill through chart enables us to show visualizations within the same dashboard as the drill through chart without directing to a different page. Also, this feature can save a lot of space in the dashboard.</p><p>Often times simple addition of visualization to the tooltip makes it appear on hover, which might not be a good user experience as the tooltip viz pops up as and when we move the cursor over the chart.</p><p>Let’s learn to tackle this issue by showing the tooltip viz only on click and not on hover by following the below steps:</p><ol><li>I have created a drill through the chart “Sales by Category” using Sample Superstore data. Let’s create a new dashboard and place this worksheet in the dashboard.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/944/1*ISFvc-A9PuP8-Nm60XzUlg.png" /><figcaption>Sales by Category</figcaption></figure><p>2. Then create a tabular chart that will be used in the tooltip of the drill through the chart. I have created a tabular chart “Drilldown” which shows Sales by Sub-Category and Segment.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/837/1*gqDxRy1TTC6BHKIi7WiW3Q.png" /><figcaption>Sales by Sub-Category and Segment</figcaption></figure><p>3. Add this viz in the tooltip of the “Sales by Category” sheet by choosing Insert -&gt; Sheets -&gt; Drilldown in the tooltip. Adjust the height and width by changing the respective parameters.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/637/1*qdE6ZshwDtAto1SvMlQfUw.png" /></figure><p>4. Let’s create two calculated fields ‘zero’ with value 0 and ‘One’ with 1 as shown below and place these fields in detail marks of the “Sales by Category” chart. Change the type of these fields to Attribute.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/787/1*W3WbC5yFY-0Fgr_l-xiwgg.png" /></figure><p>5. Create a parameter “zero/one” with values 0 and 1 as shown below. Set the current value as 1.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/534/1*Mr4DaIrbSJAnmB3lGuFQZQ.png" /></figure><p>6. Create a calculated field “Show/Hide tooltip” and add this field to the filter section of the “Drilldown” chart and set the value as TRUE.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/665/1*N6cmMwJZWj76scyn5zC2Ew.png" /></figure><p>7. Go to the dashboard that contains the “Sales by Category” chart and create two parameter actions by choosing Dashboard -&gt; Action -&gt; Add Action -&gt; Change Parameter as shown below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/809/1*SJs-UcftiRsNv61jHg-Fbw.png" /></figure><p>Tada! We have created the tooltip viz which appears only on click and not on hover.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/853/1*ONlm5gHFzHM01BOMti1wBw.png" /><figcaption>On Click</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/944/1*4DH7WE0Nrp9phCKSOYdH6A.png" /><figcaption>On Hover</figcaption></figure><p>If you think this article has helped you then share it with your friends and also don’t forget to follow <strong>Tableau Viztricks</strong> to learn more tricks in Tableau.</p><p>Thanks for reading!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5913b28c2e35" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>