<?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=4827</link>
    <description>Recent content in Tableau Community Forums</description>
    <language>en</language>
    <pubDate>Tue, 09 Oct 2012 12:52:02 GMT</pubDate>
    <generator>Jive Engage 8.0.5.0  (http://jivesoftware.com/products/)</generator>
    <dc:date>2012-10-09T12:52:02Z</dc:date>
    <dc:language>en</dc:language>
    <item>
      <title>negative value if statement</title>
      <link>https://community.tableau.com/thread/120555</link>
      <description>&lt;!-- [DocumentBodyStart:2d1d5c79-ee55-47bc-8e1d-b4fbc5a7dba1] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;Hi. Hopefully someone can help.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;#160;&lt;/p&gt;&lt;p&gt;I have the following calculated field to create a table which categorises records.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;#160;&lt;/p&gt;&lt;p&gt;If [Deadline Days] &amp;gt; 5 THEN "5+ Days to Deadline"&lt;/p&gt;&lt;p&gt;ELSEIF [Deadline Days] &amp;gt;4 Then "4 Days to Deadline"&lt;/p&gt;&lt;p&gt;ELSEIF [Deadline Days] &amp;gt;3 THEN "3 Days to Deadline"&lt;/p&gt;&lt;p&gt;ELSEIF [Deadline Days] &amp;gt;2 THEN "2 Days to Deadline"&lt;/p&gt;&lt;p&gt;ELSEIF [Deadline Days] &amp;gt;1 THEN "1 Days to Deadline"&lt;/p&gt;&lt;p&gt;ELSEIF [Deadline Days] &amp;gt;0 THEN "Less Than 1 Day to Deadline"&lt;/p&gt;&lt;p&gt;ELSEIF [Deadline Days] &amp;lt;0 Then "Deadline Passed Today"&lt;/p&gt;&lt;p&gt;ELSEIF [Deadline Days] &amp;lt;-1 Then "Deadline 1 Day Passed"&lt;/p&gt;&lt;p&gt;ELSEIF [Deadline Days] &amp;lt;-2 Then "Deadline 2 Days Passed"&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;The table that this creates is as follows&lt;/p&gt;&lt;table border="1" class="jiveBorder" style="border: 1px solid rgb(0, 0, 0); width: 100%;"&gt;&lt;thead&gt;&lt;tr&gt;&lt;th style="border:1px solid black;border: 1px solid rgb(0, 0, 0);padding: 2px;color: #ffffff;background-color: #6690bc;text-align: center;" valign="middle"&gt;&lt;strong&gt;Less than 1 Day to Deadline&lt;/strong&gt;&lt;/th&gt;&lt;th style="border:1px solid black;border: 1px solid rgb(0, 0, 0);padding: 2px;color: #ffffff;background-color: #6690bc;text-align: center;" valign="middle"&gt;&lt;strong&gt;1 Day to Deadline&lt;/strong&gt;&lt;/th&gt;&lt;th style="border:1px solid black;border: 1px solid rgb(0, 0, 0);padding: 2px;color: #ffffff;background-color: #6690bc;text-align: center;" valign="middle"&gt;&lt;strong&gt;&lt;strong&gt;2 Days to Deadline&lt;/strong&gt;&lt;/strong&gt;&lt;/th&gt;&lt;th style="border:1px solid black;border: 1px solid rgb(0, 0, 0);padding: 2px;color: #ffffff;background-color: #6690bc;text-align: center;" valign="middle"&gt;&lt;strong&gt;&lt;strong&gt;3 Days to Deadline&lt;/strong&gt;&lt;/strong&gt;&lt;/th&gt;&lt;th style="border:1px solid black;border: 1px solid rgb(0, 0, 0);padding: 2px;color: #ffffff;background-color: #6690bc;text-align: center;" valign="middle"&gt;&lt;strong&gt;&lt;strong&gt;5+ Days to Deadline&lt;/strong&gt;&lt;/strong&gt;&lt;/th&gt;&lt;th style="border:1px solid black;border: 1px solid rgb(0, 0, 0);padding: 2px;color: #ffffff;background-color: #6690bc;text-align: center;" valign="middle"&gt;&lt;strong&gt;&lt;strong&gt;Deadline passed today&lt;/strong&gt;&lt;/strong&gt;&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="border:1px solid black;border: 1px solid rgb(0, 0, 0);padding: 2px;"&gt;8&lt;/td&gt;&lt;td style="border:1px solid black;border: 1px solid rgb(0, 0, 0);padding: 2px;"&gt;9&lt;/td&gt;&lt;td style="border:1px solid black;border: 1px solid rgb(0, 0, 0);padding: 2px;"&gt;25&lt;/td&gt;&lt;td style="border:1px solid black;border: 1px solid rgb(0, 0, 0);padding: 2px;"&gt;33&lt;/td&gt;&lt;td style="border:1px solid black;border: 1px solid rgb(0, 0, 0);padding: 2px;"&gt;16&lt;/td&gt;&lt;td style="border:1px solid black;border: 1px solid rgb(0, 0, 0);padding: 2px;"&gt;350&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="border:1px solid black;border: 1px solid rgb(0, 0, 0);padding: 2px;"&gt;&lt;/td&gt;&lt;td style="border:1px solid black;border: 1px solid rgb(0, 0, 0);padding: 2px;"&gt;&lt;/td&gt;&lt;td style="border:1px solid black;border: 1px solid rgb(0, 0, 0);padding: 2px;"&gt;&lt;/td&gt;&lt;td style="border:1px solid black;border: 1px solid rgb(0, 0, 0);padding: 2px;"&gt;&lt;/td&gt;&lt;td style="border:1px solid black;border: 1px solid rgb(0, 0, 0);padding: 2px;"&gt;&lt;/td&gt;&lt;td style="border:1px solid black;border: 1px solid rgb(0, 0, 0);"&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;#160;&lt;/p&gt;&lt;p&gt;The problem I have is that it is lumping all remaining items in to the Deadline passed today category and ignoring the last to ELSEIF statements to reflect that there is data where the deadline days are -1.25, 2.25 etc. &lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;#160;&lt;/p&gt;&lt;p&gt;I am probably missing something obvious as to why it is ignoring the negative values ELSEIFs?&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;#160;&lt;/p&gt;&lt;p&gt;Any help would be appreciated.&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:2d1d5c79-ee55-47bc-8e1d-b4fbc5a7dba1] --&gt;</description>
      <category domain="https://community.tableau.com/tags#/?containerType=14&amp;container=2003">calculations</category>
      <category domain="https://community.tableau.com/tags#/?containerType=14&amp;container=2003">if</category>
      <category domain="https://community.tableau.com/tags#/?containerType=14&amp;container=2003">statement</category>
      <category domain="https://community.tableau.com/tags#/?containerType=14&amp;container=2003">values</category>
      <category domain="https://community.tableau.com/tags#/?containerType=14&amp;container=2003">negative</category>
      <category domain="https://community.tableau.com/tags#/?containerType=14&amp;container=2003">minus</category>
      <pubDate>Tue, 09 Oct 2012 12:52:02 GMT</pubDate>
      <author>tableaucommunity@tableau.com</author>
      <guid>https://community.tableau.com/thread/120555</guid>
      <dc:date>2012-10-09T12:52:02Z</dc:date>
      <clearspace:dateToText>6 years 9 months ago</clearspace:dateToText>
      <clearspace:replyCount>3</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Adding monthly targets</title>
      <link>https://community.tableau.com/thread/117579</link>
      <description>&lt;!-- [DocumentBodyStart:b36ec69b-8ab8-45d5-a50a-169989def042] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;Hi. I have a table view of months with a count of the numbers of transactions completed each month. The source data is made up of the list of records and it is just a count of these records on a monthly basis.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;#160;&lt;/p&gt;&lt;p&gt;I wanted to add in a monthly target to show on the table beside the actual number of transactions completed in that month. So for example I wanted to show for January the number of transactions (records) was 500 in January and then to show beside it that the target was 450. The targets are not in the source data so I thought that I might be able to do this by adding an excel datasource with a list of the months and the target next to each month. I did this but cant get it to appear on the table and linking month to month in both data sources does not seem to help.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;#160;&lt;/p&gt;&lt;p&gt;Am I missing something here. Is there a better way to do this?&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:b36ec69b-8ab8-45d5-a50a-169989def042] --&gt;</description>
      <category domain="https://community.tableau.com/tags#/?containerType=14&amp;container=2003">blending</category>
      <category domain="https://community.tableau.com/tags#/?containerType=14&amp;container=2003">targets</category>
      <pubDate>Fri, 04 May 2012 21:07:59 GMT</pubDate>
      <author>tableaucommunity@tableau.com</author>
      <guid>https://community.tableau.com/thread/117579</guid>
      <dc:date>2012-05-04T21:07:59Z</dc:date>
      <clearspace:dateToText>7 years 2 months ago</clearspace:dateToText>
      <clearspace:replyCount>1</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
  </channel>
</rss>

