<?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=3798</link>
    <description>Recent content in Tableau Community Forums</description>
    <language>en</language>
    <pubDate>Wed, 22 Feb 2012 18:08:04 GMT</pubDate>
    <generator>Jive Engage 8.0.5.0  (http://jivesoftware.com/products/)</generator>
    <dc:date>2012-02-22T18:08:04Z</dc:date>
    <dc:language>en</dc:language>
    <item>
      <title>How to get around the non-aggregate/aggreate mix in an IF statement</title>
      <link>https://community.tableau.com/thread/116418</link>
      <description>&lt;!-- [DocumentBodyStart:b9a8d332-22c0-4a68-9fea-6241ba6ee871] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;I have several categories of products and I need to calculate metrics using different criteria for each.&amp;#160; For example, I calculate the metric for Cat Toys like this:&lt;/p&gt;&lt;p&gt;(sum([QTD Actuals])/sum([Full Quarter Target Growth]))*.3&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;#160;&lt;/p&gt;&lt;p&gt;and the statement looks like:&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;#160;&lt;/p&gt;&lt;p&gt;IF [Product Category]= "Cat Toys" THEN&lt;/p&gt;&lt;p&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160; (sum([QTD Actuals])/sum([Full Quarter Target Growth]))*.3&lt;/p&gt;&lt;p&gt;ELSEIF [Product Category]= "Dog Toys" THEN&lt;/p&gt;&lt;p&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160; (sum([QTD Actuals])/sum([Full Quarter Target Growth]))*.5&lt;/p&gt;&lt;p&gt;END&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;#160;&lt;/p&gt;&lt;p&gt;This calcuation yields the 'cannot mix aggregate and non-aggregate comparisons or results' error.&amp;#160; What is the best way to handle this error?&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;#160;&lt;/p&gt;&lt;p&gt;Thanks!&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:b9a8d332-22c0-4a68-9fea-6241ba6ee871] --&gt;</description>
      <pubDate>Wed, 22 Feb 2012 18:08:04 GMT</pubDate>
      <author>tableaucommunity@tableau.com</author>
      <guid>https://community.tableau.com/thread/116418</guid>
      <dc:date>2012-02-22T18:08:04Z</dc:date>
      <clearspace:dateToText>7 years 4 months ago</clearspace:dateToText>
      <clearspace:replyCount>2</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Filtering and Layout Containers</title>
      <link>https://community.tableau.com/thread/116295</link>
      <description>&lt;!-- [DocumentBodyStart:e94fec9e-ec1a-4abd-b222-340e8f7b4bf5] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;A few months ago we had our trusty Tableau consultant out and he was able to build out a dashboard that had multiple charts in one layout container.&amp;#160; &lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;#160;&lt;/p&gt;&lt;p&gt;Our company is broken up into regions, branches and managers.&amp;#160; At the bottom of this dashboard is a 13-month line chart showing the % of happy customers, by month.&amp;#160; When there were no filters applied to the dashboard, the line chart showed the metric for the entire company.&amp;#160; When I selected the North Central region, the chart showed the metric for just the selected region.&amp;#160; When I then selected a manager, the chart showed the metric for the selected manager in the selected region.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;#160;&lt;/p&gt;&lt;p&gt;I wasn't around when this was built out, but the way a co-worker explained it was that there were mulitple chars in the layout container, they just were 'squished' (his word) when the relevent filter was not applied.&amp;#160; I'd like to try and figure this one out before I go running to mama for help.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;#160;&lt;/p&gt;&lt;p&gt;Thoughts?&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;#160;&lt;/p&gt;&lt;p&gt;Thank you!&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:e94fec9e-ec1a-4abd-b222-340e8f7b4bf5] --&gt;</description>
      <pubDate>Wed, 15 Feb 2012 19:24:04 GMT</pubDate>
      <author>tableaucommunity@tableau.com</author>
      <guid>https://community.tableau.com/thread/116295</guid>
      <dc:date>2012-02-15T19:24:04Z</dc:date>
      <clearspace:dateToText>7 years 4 months ago</clearspace:dateToText>
      <clearspace:replyCount>5</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
  </channel>
</rss>

