<?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 Sudhaa Ramakrishnan on Medium]]></title>
        <description><![CDATA[Stories by Sudhaa Ramakrishnan on Medium]]></description>
        <link>https://medium.com/@sudhaaramakrishnan?source=rss-6bbcc280138b------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*f1nccwazYPXy9RZz4hG5yA.jpeg</url>
            <title>Stories by Sudhaa Ramakrishnan on Medium</title>
            <link>https://medium.com/@sudhaaramakrishnan?source=rss-6bbcc280138b------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Thu, 03 Dec 2026 22:13:43 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@sudhaaramakrishnan/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[Tableau Filters-Order of Operations]]></title>
            <link>https://medium.com/@sudhaaramakrishnan/tableau-filters-order-of-operations-9bcb7f022a32?source=rss-6bbcc280138b------2</link>
            <guid isPermaLink="false">https://medium.com/p/9bcb7f022a32</guid>
            <category><![CDATA[tableau-desktop]]></category>
            <category><![CDATA[order-of-operations]]></category>
            <category><![CDATA[tableau-filter]]></category>
            <category><![CDATA[data-analysis]]></category>
            <category><![CDATA[tableau]]></category>
            <dc:creator><![CDATA[Sudhaa Ramakrishnan]]></dc:creator>
            <pubDate>Thu, 29 Sep 2022 15:36:36 GMT</pubDate>
            <atom:updated>2022-09-29T16:34:58.537Z</atom:updated>
            <content:encoded><![CDATA[<h3>What is a Filter in tableau?</h3><p>Filter in general means to select or remove a particular type of information from something. Here in tableau, filtering data is a necessary part of analyzing and showing the data as needed. Let’s learn about the types of filters used in Tableau (Figure 1).</p><figure><img alt="Tableau Filters" src="https://cdn-images-1.medium.com/max/1024/1*sR_9TUVvmq2MFzMgacaLVw.png" /><figcaption>Figure 1 : Different Tableau Filters</figcaption></figure><p>We have different filters which helps us filtering the data in different levels. It is very important to understand the order and how each filter works. Using a wrong filter in a wrong place gives a different and inaccurate outcome.</p><p>Let’s learn a little bit about each filter.</p><h4>Extract Filter :</h4><p>Extract filter is used only when the user extracts the data from the data source. It means the extract connection will extract the data from data source and creates a local copy in Tableau repository. Hence reducing the number of times Tableau queries the data source.</p><p>To add the extract filter, click the ‘Edit’ option once the connection has been changed to Extract (Figure 2).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*oMb2vbO5w_ymI77REbrVjQ.png" /><figcaption>Figure 2 : Extract Filter (1)</figcaption></figure><p>By clicking it we get the option to add the filters using the ‘Add’ option (Figure 3). Once selected, there will be multiple options available to filter like General (select from list, custom value list and use all) WildCard, Condition and Top filters which can be used as needed.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6pKiujhx_Of-8kRNs65ZaA.png" /><figcaption>Figure 3 : Add extract filter</figcaption></figure><h3>Data Source Filter :</h3><p>A data source filter is used to filter the data in the data source level. It can restrict the records present in the data set. In simple words, it reduces the amount of data being fed into Tableau. It can be used to control the sensitive data.</p><p>Data source filter works on both live and extract connection. This filter is similar to extract filter on securing the data. Since the data source filter and extract filter is not linked to each other, if the connection is changed back from extract to a live connection the Data Source Filters will still be intact.</p><p>The data source filter can be added using the ‘Add’ option in the data source tab (Figure 4).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*13CrpOBiV8QoVLzyb7oc-Q.png" /><figcaption>Figure 4 : Data source filter</figcaption></figure><h4>Context Filter :</h4><p>One of the most important filters in the worksheet level is the Context filter. It is an independent and the top in the chain filter as it can create a separate dataset out of the original data set and compute the selections made in the worksheet. Context filter is used to improve the performance of the dashboard.</p><p>For example, if we have an important filter that needs to be performed before the other filters. Making it a context filter will make it proceed first and the other filters will be performed next. So the filters applied to a worksheet will be performed on the data that has been filtered based on the context filter.</p><p>To add the context filter, drag and drop the dimension to the filters card. Right click the dimension and click ‘Add to Context’ (Figure 5). Once the context filter is added the blue pill changes to grey.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Ls8g6IKWSteBo92fNyeMTA.png" /><figcaption>Figure 5 : Context filter</figcaption></figure><p>The context filter can be removed the same way it was added. Right click the dimension and click ‘Remove from context’.</p><h4>Dimension Filters :</h4><p>When dimensions, groups, bins and sets are used in the filter it is called as Dimension filter. Another name for dimension filter is ‘Non-Aggregated Filter’.</p><p>Once a dimension is dragged and dropped in the filter card a pop-up appears (Figure 6) from which the filter can be set from the list, Wildcard match, top and bottom conditions.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1004/1*gkCWX4bbZBbTtfcUiwC-Vg.png" /><figcaption>Figure 6 : Dimension Filter</figcaption></figure><p>Since the dimensions has discrete categorical data, filtering this type of field generally involves selecting the values to include or exclude.</p><h4>Measure Filter :</h4><p>Measure filters can filter the data based on measures like a set or range of values. Measure filters is also called as Aggregated filters since the aggregation functions are involved in the filter.</p><p>Aggregated filters are applied after Non-Aggregated filters, meaning the Measure filters are always applied after the Dimension filters.</p><p>When a Measure is dragged and dropped in the filter card it gives the option to choose from the list of aggregation (Figure 7).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/694/1*KWSav8_LIXblcMmYkoMKtQ.png" /><figcaption>Figure 7 : List of aggregation functions</figcaption></figure><p>Once the aggregation is selected it gives the options to set the filter to a Range of values (minimum and maximum range of values can be defined), At least (minimum measure value can be defined), At most (maximum measure value can be defined) and Special (option to select null or non-null values) to filter the data as needed.</p><p>Likewise when a date is added to the filter, we get a set of date relevant filtering options like Range of dates, Years, Quarters, Months, Days and more to apply the filter accordingly (Figure 8).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/696/1*5lNkXcWA617iJ22cs1vHaw.png" /><figcaption>Figure 8 : Filter Dates</figcaption></figure><h4>Table Calculation Filter :</h4><p>When a table calculation is applied to the worksheet, applying a filter there can be tricky. We use Table calculation filters in such situations. Here, Tableau takes account of any table calculations in the view first, and then applies table calculation filters on the results in the current view.</p><p>Filters based on table calculations do not filter out underlying data in the data set, because table calculation filters are applied last in the order of operations.</p><p>For example when we have totals in the view, add and right click the table calculation in the filter card and click ‘Apply to Totals’ to apply the table calculation filter to all of the results in the table, including the totals.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/846/1*fqJHSWbrET0LcHBchrhUIw.png" /><figcaption>Figure 9 : Table calculation filter</figcaption></figure><p>These are a few scoops about the Order of operations in Tableau filters. There is still a lot to learn about the filters like User filters, implementing filters, filter card modes, how filter appears in the worksheet and dashboards and much more which hopefully I will write soon. Till that Happy learning!</p><p>Reference : <a href="https://help.tableau.com/current/pro/desktop/en-us/filtering.htm">https://help.tableau.com/current/pro/desktop/en-us/filtering.htm</a>, <a href="https://www.javatpoint.com/tableau-extract-filters">https://www.javatpoint.com/tableau</a>, <a href="https://www.guru99.com/filter-data-tableau.html">https://www.guru99.com/filter-data-tableau.html</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9bcb7f022a32" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[SIRS analysis on Sepsis patients dataset : Using Tableau visualization]]></title>
            <link>https://medium.com/@sudhaaramakrishnan/sirs-analysis-on-sepsis-patients-dataset-using-tableau-visualization-42f8c8489d0d?source=rss-6bbcc280138b------2</link>
            <guid isPermaLink="false">https://medium.com/p/42f8c8489d0d</guid>
            <category><![CDATA[tableau]]></category>
            <category><![CDATA[sepsis]]></category>
            <category><![CDATA[data-analysis]]></category>
            <category><![CDATA[healthcare]]></category>
            <dc:creator><![CDATA[Sudhaa Ramakrishnan]]></dc:creator>
            <pubDate>Tue, 12 Jul 2022 16:57:24 GMT</pubDate>
            <atom:updated>2022-07-28T13:48:58.278Z</atom:updated>
            <content:encoded><![CDATA[<h3><strong>SIRS analysis on Sepsis patients dataset : Using Tableau visualization</strong></h3><h4><strong>What is SIRS?</strong></h4><p>SIRS is the abbreviation of <em>Systemic inflammatory response syndrome. </em>It is the body’s response (patients’s reaction) related to critical illness of systemic inflammation, organ dysfunction, and organ failure and in some cases it can develop in many noninfectious conditions (major trauma, major surgery, burns, necrotizing pancreatitis).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/698/1*lig-WrwH48tB3F2nU-AX3w.png" /><figcaption>Figure 1 : Common causes of SIRS</figcaption></figure><p><strong>SIRS and Sepsis :</strong></p><p>Sepsis is SIRS resulting from a presumed or known site of infection. It is the body’s life-threatening response to infection that can lead to tissue damage, organ failure, and even death.</p><p>Sometimes our immune system which normally fights the germs to prevent the infections, stops fighting and begins to turn on itself. This is the beginning of sepsis. It needs rapid diagnosis and immediate medical attention. Without the proper treatment sepsis can lead to severe sepsis(one or more end organ failure) and septic shock (inability of blood flow to tissues and organs).</p><p><strong>SIRS Symptoms :</strong></p><p>SIRS can be diagnosed if any of the two following conditions are satisfied.</p><blockquote>Temperature &gt;38ºC and &lt; 35ºC</blockquote><blockquote>Heart Rate &gt;90 beats / minute</blockquote><blockquote>Respiratory Rate &gt;20 breaths /minute OR PaCo2&lt; 32 torr</blockquote><blockquote>WBC &gt;12,000 cells/mm3 or &lt; 4000 cells/mm3, or &gt;10 percent immature (band) forms (leukocytosis or leukopenia)</blockquote><p><strong>SIRS Analysis in Sepsis patients dataset :</strong></p><p>The dataset that has been analyzed here consists of 43 parameters, which includes hourly vitals along with patients other details.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EOjaT4_LgyxV3PJyqb4nWg.png" /><figcaption>Figure 2 : Count of Patients with SIRS symptoms (Hourly)</figcaption></figure><p>If any two of the SIRS symptoms are satisfied, it is considered as the trigger (beginning) hour of SIRS. From the above Pie chart (figure 2) we can see the number of patients who exhibits SIRS symptoms each hour since the admission.</p><p>The SIRS symptoms are very crucial. When a patient has high body temperature(fever) and an increased white blood cell count (WBC), these are features of the Acute-phase Reaction. While increased heart rate (HR) is often the initial sign of hemodynamic compromise. An increased rate of breathing (Resp) may be related to the increased metabolic stress due to infection and inflammation, but may also be an ominous sign of inadequate perfusion resulting in the onset of anaerobic cellular metabolism.</p><p>From figure 2, we understand that there are 22% of total patients in this data set got admitted with the SIRS symptoms. It is hard to find the time of trigger since many patients may not keep track of the time when they start showing each symptom.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nDCX4kvx6oB8PxUE6DRqfg.png" /><figcaption>Figure 3: Count of SIRS patients during the 1st hour of admission</figcaption></figure><p>Now let’s filter out the vitals of patients with SIRS symptoms during their first hour of hospital admission. In the above tableau visualization, we see more than 55% patients have High Heart rate and increased metabolic stress (respiratory rate). 2% of the patients are getting admitted with Acute-phase Reaction (High Temperature and High WBC) which could be fatal. We can also see from the data that during the first hour of admission, many patients shows more than 2 SIRS symptoms and in need of immediate medical attention.</p><p>The number of new SIRS patients reduces over the time they are being admitted. ie the percentage of patients getting SIRS symptoms drops below 3% after the patients are being admitted over 10 hours and the percentage keeps on dropping over the time.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hZ_BvAHLm6DqADAtQ68LTg.png" /><figcaption>Figure 4 : Hourly comparison of vitals</figcaption></figure><p>In figure 4 , we have the comparison of patients vitals during the SIRS trigger hour and 1 hour before the SIRS trigger.</p><p>Using the above comparison we can see how patients constantly develop the symptoms of SIRS. Here in this dataset, patient ID 3 had high respiratory rate in his first hour of getting admitted and has developed High heart rate in his 2nd hour which resulted in satisfying 2 SIRS symptoms. Using this study, we can create an email alert system using tableau to alert the doctors when there is a continuous increase in any of the above vitals or combination of vitals to prioritize the patients care.</p><p>Conclusion :</p><p>The SIRS criteria are guidelines set in place to ensure sepsis patients receive care as early as possible. It is crucial to diagnose the SIRS symptoms at the earliest to provide the proper treatment. May be not all SIRS patients have sepsis but all sepsis patients have SIRS.</p><p>References :</p><p><a href="https://www.kaggle.com/code/namratakapoor1/sepsis-classification/data">https://www.kaggle.com/code/namratakapoor1/sepsis-classification/data</a></p><p><a href="https://www.sciencedirect.com/topics/nursing-and-health-professions/systemic-inflammatory-response-syndrome">https://www.sciencedirect.com/topics/nursing-and-health-professions/systemic-inflammatory-response-syndrome</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=42f8c8489d0d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Sunburst chart in Tableau]]></title>
            <link>https://medium.com/@sudhaaramakrishnan/sunburst-chart-in-tableau-eea73184c06b?source=rss-6bbcc280138b------2</link>
            <guid isPermaLink="false">https://medium.com/p/eea73184c06b</guid>
            <category><![CDATA[sunburst]]></category>
            <category><![CDATA[tableau]]></category>
            <category><![CDATA[tableau-charts]]></category>
            <dc:creator><![CDATA[Sudhaa Ramakrishnan]]></dc:creator>
            <pubDate>Wed, 29 Jun 2022 04:14:43 GMT</pubDate>
            <atom:updated>2023-02-01T21:01:33.217Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>What is a Sunburst chart?</strong></p><p>Sunburst chart a.k.a Multi-level pie chart or ring chart is ideal for visualizing hierarchical data structures. The hierarchy starts from the inner circle to the outer circle and shows how it relates to each other .</p><p><strong>How to create a simple Sunburst chart?</strong></p><p>One of the easiest methods to create a Sunburst chart is by using the map layers. This feature allows to add multiple mark layers and each layer can be controlled and formatted independently with different size, shape and color. You can also show/hide the layers as per your need.</p><p>Here is the step by step instructions on making the sunburst chart to show profit across Category, sub-category and segment using the Superstore dataset.</p><p>Step 1: Create a calculated field and write</p><p><strong>Makepoint(0,0)</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GthdofSIvt3RCW3H6vko_A.png" /></figure><p>This creates a spatial object (stores location as object) constructed using latitude and longitude. Let’s name this calculated field as ‘Point’.</p><p>Step 2: Double click or drag and drop ‘Point’ to the Rows. A small dot appears on a null geolocation like the below image.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*SzXeDkmiYkbTGSGELuIi0A.png" /></figure><p>Step 3 : Change the chart type to pie in the Marks tab. Let’s drag and drop the profit in Angle and Category under color.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/312/1*J5KVmrjaygpho0Va7G1vDQ.png" /></figure><p>We get a pie chart here.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*J9LUKmkmD8pZ8O0NiOLbUg.png" /></figure><p>Maximize the chart using Shift+control+B or in Mac Shift+Command+B.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*oKe26K7klYmENNGr1WjTHw.png" /></figure><p>Step 4: Drag the ‘Point’ layer to the top left corner of the sheet. An option named ‘Add a Marks Layer’ will appear, drop point in it to create a new layer. Let’s rename the new layer as ‘Segment layer’.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XPOLqTNdxbWinlDQuqLueg.png" /></figure><p>Whenever a new layer is created it gets added on top of the previous one. So the first layer ‘Category’ will be under the Segment layer. But we can change the hierarchy and the size of the layers anytime.</p><p>Now change the chart type of Segment layer to pie and add profit to the angle and Segment to the color.</p><p>Under Marks, drag and move the Segment layer below the Category layer. Adjust the size to get a pie chart inside a pie chart.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wiUYHkwrsvwIjbtPxGPIMg.png" /></figure><p>To correlate the layers, under Segment layer which is the the outer circle drag and drop the category (which is the inner circle) from dimension into Detail.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qjyWV2hY8KE6CB2kU5sQdg.png" /></figure><p>Click on the detail icon and change it to color.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*T5x0YykxkZNCVbuKmgLU3g.png" /></figure><p>Move the Category color above the Segment color. So the Category and Segment will be color coordinated in the chart.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dOHO5ZQB8dGGSiJxtmoijw.png" /></figure><p>Step 5 : Let’s divide or draw a line between the circles. Create a new layer by Drag and drop ‘Point’ in the mask layer. Name this layer as ‘Border 1’.</p><p>Change the chart type to circle and color to white. Move Border 1 in between Category and Segment layers.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*a5zoyuMvYLRsAEHXRgl7BQ.png" /></figure><p>Now adjust the size of the ‘Border’ layer to make it look like a white line with the thickness that suits your chart.</p><p>Step 6: Repeat step 4 to create another layer named ‘Sub-category’. Change it to pie-chart and add the profit to the angle and sub-category to the color. Move this layer below the segment layer and adjust the size.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*A1-wBPmC3X7yAsaBJHf6eA.png" /></figure><p>Repeat step 5 to add a line between Segment and Subcategory circles.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_ydUzJIk2yJ7nTkzXMYbZQ.png" /></figure><p>You can add as many layers as needed and each layer can be formatted individually. Here I have added a new layer in the middle to show the total profit. For easy understanding the layers go from Inner circle to outer circle under Marks.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*m4xIB5tsfhhETHgANfeeFQ.png" /></figure><p>Step 7 : Remove the Map in the background.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AFIKS7csYlTcp7AtDxGmxA.png" /></figure><p>Let’s clear the lines and axis on the sheet. Right click the background and click ‘Format’ to remove the Grid lines and Zero lines.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*x2AIDM4dEJuBo0pnIdOYvQ.png" /></figure><p>Right click on the X and Y axis to remove the header.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*B7J4s_ravC3Nz-yVStOmdA.png" /></figure><p>Now we get a simple yet detailed Sunburst chart using a single calculated field. Have fun exploring more vizzes!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=eea73184c06b" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>