<?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=19786</link>
    <description>Recent content in Tableau Community Forums</description>
    <language>en</language>
    <pubDate>Tue, 10 Dec 2013 13:46:34 GMT</pubDate>
    <generator>Jive Engage 8.0.5.0  (http://jivesoftware.com/products/)</generator>
    <dc:date>2013-12-10T13:46:34Z</dc:date>
    <dc:language>en</dc:language>
    <item>
      <title>Rolling up values to a higher level for calculation</title>
      <link>https://community.tableau.com/thread/136457</link>
      <description>&lt;!-- [DocumentBodyStart:20463bc9-c145-4215-8cc0-1d0756e8d04a] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;I'm having issues doing some analysis based on summed values.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;#160;&lt;/p&gt;&lt;p&gt;I've got two tables in my database - PHASE, which tracks project phases, including BUDGETED_HOURS, and HOURS, which is where people track hours associated with that phase.&amp;#160; So it's a many-to-one relationship.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;#160;&lt;/p&gt;&lt;p&gt;Each phase also belongs to a higher level category (like DESIGN or PROTOTYPE).&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;#160;&lt;/p&gt;&lt;p&gt;I want to total the hours for a phase and compare it with BUDGETED_HOURS to figure out a percentage of phases that are over budget for each category. So pct of phases in the DESIGN category that are over budget, etc.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;#160;&lt;/p&gt;&lt;p&gt;I have successfully created a table that has columns for Phase Type (category), Phase ID, Sum(Hours) for the Phase, Budget Hours for the Phase (using MAX(BUDGET_HOURS)) and on 'OVERBUDGET' calculated value which is either a 1 or a 0.&amp;#160; All of this works.&lt;/p&gt;&lt;p&gt;&lt;br/&gt;See the attached pic for what it looks like. &lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;#160;&lt;/p&gt;&lt;p&gt;When I try to take away the PHASE_ID column everything goes to pot.&amp;#160; I understand that Tableau is adding up all the hours, finding the budget, etc, for all the rows within the Project Type, and no longer breaking it by Phase_ID.&amp;#160; I've played with the table calcs to try to get it to reset accumulators based on Phase_ID, but I am baffled at how to make this work.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;#160;&lt;/p&gt;&lt;p&gt;Any suggestions?&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:20463bc9-c145-4215-8cc0-1d0756e8d04a] --&gt;</description>
      <pubDate>Tue, 10 Dec 2013 13:46:34 GMT</pubDate>
      <author>tableaucommunity@tableau.com</author>
      <guid>https://community.tableau.com/thread/136457</guid>
      <dc:date>2013-12-10T13:46:34Z</dc:date>
      <clearspace:dateToText>5 years 7 months ago</clearspace:dateToText>
      <clearspace:replyCount>10</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Overlaying spark charts</title>
      <link>https://community.tableau.com/thread/124009</link>
      <description>&lt;!-- [DocumentBodyStart:21efbe12-c490-41c7-8f38-5e19c99e5dc1] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;I've got a database table that records our daily sales. Two columns:&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;#160;&lt;/p&gt;&lt;p&gt;SalesDate&lt;/p&gt;&lt;p&gt;SalesDollars&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;#160;&lt;/p&gt;&lt;p&gt;I use this to generate a daily Dashboard report that shows a spark chart of our sales for the last 12 months. Works great, everyone loves it.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;#160;&lt;/p&gt;&lt;p&gt;Someone requested that I overlay the last 12 months and the prior 12 months as two spark charts on the same graph, so we can see trends and seasonality. So for example, today's chart would show data from 3/1/2012 - 2/28/2013 and 3/1/2011 - 2/28/2012 overlaid on each other. &lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;#160;&lt;/p&gt;&lt;p&gt;Ideally I'd like to be able to do three or more, as we have data back to 2009, but for now two lines will do.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;#160;&lt;/p&gt;&lt;p&gt;So far I have been stumped at how to do this.&amp;#160; Any suggestions?&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;#160;&lt;/p&gt;&lt;p&gt;Geoff&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:21efbe12-c490-41c7-8f38-5e19c99e5dc1] --&gt;</description>
      <pubDate>Fri, 01 Mar 2013 21:04:35 GMT</pubDate>
      <author>tableaucommunity@tableau.com</author>
      <guid>https://community.tableau.com/thread/124009</guid>
      <dc:date>2013-03-01T21:04:35Z</dc:date>
      <clearspace:dateToText>6 years 4 months ago</clearspace:dateToText>
      <clearspace:replyCount>2</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
  </channel>
</rss>

