<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:clearspace="http://www.jivesoftware.com/xmlns/jive/rss" version="2.0">
  <channel>
    <title>Content in Tableau Community Forums</title>
    <link>/profile-content.jspa?filterID=contentstatus[published]&amp;targetUser=35797</link>
    <description>Recent content in Tableau Community Forums</description>
    <language>en</language>
    <pubDate>Tue, 29 Apr 2014 14:01:36 GMT</pubDate>
    <generator>Jive Engage 8.0.5.0  (http://jivesoftware.com/products/)</generator>
    <dc:date>2014-04-29T14:01:36Z</dc:date>
    <dc:language>en</dc:language>
    <item>
      <title>Running total does not work when I hide months for a vlaue that does not exist in the month</title>
      <link>https://community.tableau.com/thread/141864</link>
      <description>&lt;!-- [DocumentBodyStart:a45b2e81-6e00-4d9f-a1ae-3aea9c1ed22f] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;Hi,&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;#160;&lt;/p&gt;&lt;p&gt;Firstly, sorry about the confusing heading.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;#160;&lt;/p&gt;&lt;p&gt;Essentially what I am doing is filtering for the current month (hiding really, using "LOOKUP(MIN([Date]),0)") trying to return the top 20 Sales folk based on the running total Sales for the year for that person.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;#160;&lt;/p&gt;&lt;p&gt;So for example:&lt;/p&gt;&lt;p&gt;Salesman A had sales of $1000 in Jan, $1500 in Feb, $500 in Mar and nothing in Apr (there is absolutely no data for Salesman A in April); giving a year-to-date total of $3000.&lt;/p&gt;&lt;p&gt;Salesman B had sales of $300 in Jan, $500 in Feb, $200 in Mar and $500 in Apr; giving a year-to-date total of $1500.&lt;/p&gt;&lt;p&gt;When I filter (hide) to only see April I only get running total data for Salesman B, even though the ranking still works; i.e. Salesman B is ranked 2nd.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;#160;&lt;/p&gt;&lt;p&gt;If I remove the filter (hide) on April, I get the running total for Salesman A of $3000 in April month but as soon as I put on the filter on it gets dropped.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;#160;&lt;/p&gt;&lt;p&gt;I've tried using the IFNULL function on the Sales field but no luck.&lt;/p&gt;&lt;p&gt;The formula I tried was:&lt;/p&gt;&lt;p&gt;IFNULL(LOOKUP(RUNNING_SUM(SUM([Cal Year Sales])),0), LOOKUP(RUNNING_SUM(SUM([Cal Year Sales])),-1)&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;#160;&lt;/p&gt;&lt;p&gt;Any ideas on how to hide months but still return the running total even if there is no data for the month your filtering on?&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:a45b2e81-6e00-4d9f-a1ae-3aea9c1ed22f] --&gt;</description>
      <pubDate>Tue, 29 Apr 2014 14:01:36 GMT</pubDate>
      <author>tableaucommunity@tableau.com</author>
      <guid>https://community.tableau.com/thread/141864</guid>
      <dc:date>2014-04-29T14:01:36Z</dc:date>
      <clearspace:dateToText>5 years 2 months ago</clearspace:dateToText>
      <clearspace:replyCount>4</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
  </channel>
</rss>

