<?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=24572</link>
    <description>Recent content in Tableau Community Forums</description>
    <language>en</language>
    <pubDate>Fri, 06 Sep 2013 14:39:07 GMT</pubDate>
    <generator>Jive Engage 8.0.5.0  (http://jivesoftware.com/products/)</generator>
    <dc:date>2013-09-06T14:39:07Z</dc:date>
    <dc:language>en</dc:language>
    <item>
      <title>Calculated Field using Grand Totals...</title>
      <link>https://community.tableau.com/thread/130563</link>
      <description>&lt;!-- [DocumentBodyStart:ae1d527b-687a-43fa-aa3b-d70ba7dfc7d8] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;&lt;span style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;I currently am creating a stacked bar visualization with 5 different measure values, all being calculated fields between several data connections - from Excel sheets that have static information, to a relationship database, Salesforce.com and an Essbase live connection. The relationship database we receive data refreshes every morning. The data in the system can be tricky when it comes to sales totals by invoices. The relationship database reports data by individual line items versus having invoice totals and there is no work around for the data source as this information is checked daily by leadership and needs to be as live as possible with little human involvement. &lt;/span&gt;&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;#160;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;I need to be able to filter down in a calculated field by product line number as well as if the grand total of an invoice is less than a certain amount; I need it to complete another equation to figure out a run rate.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;I can&amp;#8217;t send my Tableau workbook, but here is an example to hopefully help layout what I&amp;#8217;m trying to do.&lt;/span&gt;&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;#160;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family: Arial, sans-serif; font-size: 10pt;"&gt;In this example: Grand Total is 223,582 and if I was looking at trying to figure out the run rate based on &lt;/span&gt;&lt;span style="font-family: Arial, sans-serif;"&gt;invoices&lt;/span&gt;&lt;span style="font-family: Arial, sans-serif; font-size: 10pt;"&gt; less than 25,000. Of the 223,582 grand total, 92,164 were under 25K based on the grand totals of each individual invoice. &lt;span style="font-family: Arial, sans-serif; font-size: small;"&gt; 67 days in the quarter have past and I have 24 left ((92,164/67 )* 24). &lt;/span&gt; &amp;#8211; the run rate number would be: 33,013.97. I&amp;#8217;m trying to get to that number. I attached a picture of the quick table I put together based on Invoice number. I cannot filter on invoice number since they are ever changing. See pic 1 attached.&lt;/span&gt;&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;#160;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;I can currently complete this on the individual line items and the equation would look like something:&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;IF ([pl_prod_line] = 'A100' or &lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;[pl_prod_line] = 'A110' or &lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;[pl_prod_line] = 'A112' or &lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;[pl_prod_line] = 'A114' or &lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;[pl_prod_line] = 'A116' or &lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;[pl_prod_line] = 'A212' or &lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;[pl_prod_line] = 'A310') And &lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;[current_qtr]=[fis_qtr] AND [Ext Amt]&amp;lt;25000 THEN &lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;([Ext Amt]/(IF (TODAY() &amp;lt; #9/30/2013#)THEN (DATEPART('dayofyear',today()-1 ))-181 ELSE (DATEPART('dayofyear',today()-1 )-272)END))&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;*(IF (TODAY() &amp;lt; #9/30/2013#)THEN 272-DATEPART('dayofyear',today()-1 )ELSE 365-DATEPART('dayofyear',today()-1 )END) &lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;ELSE 0 End&lt;/span&gt;&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;#160;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;But that gets me a run rate total of 39,844 since it is only filtering out line items greater than 25K, not invoice totals. If I would apply this equation to each segment, it would skew it greatly. See pic 2 attached.&lt;/span&gt;&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;#160;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;Long story short, is there a way to grand total separate line items in a calculated field by invoice and still be able to add criteria like prod&lt;/span&gt;&lt;span style="font-family: Arial, sans-serif; font-size: 10pt; line-height: 1.5em;"&gt;uct line etc?&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family: Arial, sans-serif; font-size: 10pt; line-height: 1.5em;"&gt;&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family: Arial, sans-serif; font-size: 10pt; line-height: 1.5em;"&gt;&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;a href="https://community.tableau.com/servlet/JiveServlet/showImage/2-225773-9796/Invoice+by+Product+Line+Grand+Total+Sample+pic+1.png"&gt;&lt;img alt="Invoice by Product Line Grand Total Sample pic 1.png" class="jive-image" height="734" src="https://community.tableau.com/servlet/JiveServlet/downloadImage/2-225773-9796/Invoice+by+Product+Line+Grand+Total+Sample+pic+1.png" style="font-size: 10pt; line-height: 1.5em; font-family: Arial, sans-serif; width: 620px; height: 473px;" width="962"/&gt;&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family: Arial, sans-serif; font-size: 10pt; line-height: 1.5em;"&gt;&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family: Arial, sans-serif; font-size: 10pt; line-height: 1.5em;"&gt;&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family: Arial, sans-serif; font-size: 10pt; line-height: 1.5em;"&gt;&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;a href="https://community.tableau.com/servlet/JiveServlet/showImage/2-225773-9800/Product+line+run+rate+example+pic+2.png"&gt;&lt;img alt="Product line run rate example pic 2.png" class="jive-image" height="609" src="https://community.tableau.com/servlet/JiveServlet/downloadImage/2-225773-9800/Product+line+run+rate+example+pic+2.png" style="font-size: 10pt; line-height: 1.5em; font-family: Arial, sans-serif; width: 620px; height: 429px;" width="880"/&gt;&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family: Arial, sans-serif; font-size: 10pt; line-height: 1.5em;"&gt;&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:ae1d527b-687a-43fa-aa3b-d70ba7dfc7d8] --&gt;</description>
      <category domain="https://community.tableau.com/tags#/?containerType=14&amp;container=2003">grand_totals</category>
      <category domain="https://community.tableau.com/tags#/?containerType=14&amp;container=2003">calculated_fields;</category>
      <pubDate>Fri, 06 Sep 2013 14:39:07 GMT</pubDate>
      <author>tableaucommunity@tableau.com</author>
      <guid>https://community.tableau.com/thread/130563</guid>
      <dc:date>2013-09-06T14:39:07Z</dc:date>
      <clearspace:dateToText>5 years 10 months ago</clearspace:dateToText>
      <clearspace:replyCount>2</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>We are having issues with posting a workbook that has connections to an Essbase server.</title>
      <link>https://community.tableau.com/thread/130254</link>
      <description>&lt;!-- [DocumentBodyStart:e394b584-b1ad-4484-89d1-b7a4303ce1b1] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;We are having issues with posting a workbook that has connections to an Essbase server. The workbook on the desktop works perfectly fine on the desktop, but once we post to the server, it starts to throw error messages like: "Already Connected to Server" or "The call to the function EssMdxExectueQuery failed".&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;p style="min-height: 8pt; padding: 0px;"&gt;&amp;#160;&lt;/p&gt;&lt;p&gt;Pictures of errors attached:&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;#160;&lt;/p&gt;&lt;p&gt;&lt;a href="https://community.tableau.com/servlet/JiveServlet/showImage/2-224459-9511/Error+2.png"&gt;&lt;img alt="Error 2.png" class="jive-image" height="291" src="https://community.tableau.com/servlet/JiveServlet/downloadImage/2-224459-9511/Error+2.png" style="" width="415"/&gt;&lt;/a&gt;&lt;a href="https://community.tableau.com/servlet/JiveServlet/showImage/2-224459-9512/Error+1.png"&gt;&lt;img alt="Error 1.png" class="jive-image" height="272" src="https://community.tableau.com/servlet/JiveServlet/downloadImage/2-224459-9512/Error+1.png" style="" width="375"/&gt;&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:e394b584-b1ad-4484-89d1-b7a4303ce1b1] --&gt;</description>
      <category domain="https://community.tableau.com/tags#/?containerType=14&amp;container=2003">tableau</category>
      <category domain="https://community.tableau.com/tags#/?containerType=14&amp;container=2003">server</category>
      <category domain="https://community.tableau.com/tags#/?containerType=14&amp;container=2003">essbase</category>
      <pubDate>Fri, 06 Sep 2013 12:31:39 GMT</pubDate>
      <author>tableaucommunity@tableau.com</author>
      <guid>https://community.tableau.com/thread/130254</guid>
      <dc:date>2013-09-06T12:31:39Z</dc:date>
      <clearspace:dateToText>5 years 10 months ago</clearspace:dateToText>
      <clearspace:replyCount>2</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
  </channel>
</rss>

