<?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=45544</link>
    <description>Recent content in Tableau Community Forums</description>
    <language>en</language>
    <pubDate>Mon, 03 Nov 2014 20:04:31 GMT</pubDate>
    <generator>Jive Engage 8.0.5.0  (http://jivesoftware.com/products/)</generator>
    <dc:date>2014-11-03T20:04:31Z</dc:date>
    <dc:language>en</dc:language>
    <item>
      <title>counting results of a calculation</title>
      <link>https://community.tableau.com/thread/151130</link>
      <description>&lt;!-- [DocumentBodyStart:6e530d78-537f-4886-b802-8d85b6197f70] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;I apologize if this has been posted before, but I haven't been able to find anything that actually answers this...&lt;/p&gt;&lt;p&gt;I am looking for a way to calculate a first day resolution based on a ticket's open and closed dates.&lt;/p&gt;&lt;p&gt;I can use the DATEDIFF forumula to caculate the difference between the two dates.&lt;/p&gt;&lt;p&gt;What I need is to count how many results come back as 0. This will tell me the total number of tickets that have no difference between the two dates, which would be the total number of tickets that were resolved the same day they were opened.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;#160;&lt;/p&gt;&lt;p&gt;The next step would be to calculate out the percentage of total tickets that were resolved same day.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;#160;&lt;/p&gt;&lt;p&gt;In Excel it's really simple, but I can't seem to figure out how to do a similar count in Tableau.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;#160;&lt;/p&gt;&lt;p&gt;The attached Excel has sample data, as well as the calculations. If Tableau only has the tickets with open and close dates (nothing else) is this possible to calculate out?&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:6e530d78-537f-4886-b802-8d85b6197f70] --&gt;</description>
      <pubDate>Mon, 03 Nov 2014 20:04:31 GMT</pubDate>
      <author>tableaucommunity@tableau.com</author>
      <guid>https://community.tableau.com/thread/151130</guid>
      <dc:date>2014-11-03T20:04:31Z</dc:date>
      <clearspace:dateToText>4 years 8 months ago</clearspace:dateToText>
      <clearspace:replyCount>1</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>calculated field for evaluating SLA stats</title>
      <link>https://community.tableau.com/thread/149889</link>
      <description>&lt;!-- [DocumentBodyStart:f85832b4-2e33-484a-afe4-9947a9a3d0bb] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;New to Tableau and LOVE it so far! I am thrilled with all it can do. I'm hoping I can get some assistance, and I apologize if this has been posted somewhere else.&lt;/p&gt;&lt;p&gt;I have setup a chart that shows priority level, a ticket number, the created date/time and the resolved date/time for the ticket. I have a calculated field setup that provides me with the hours between the open and closed times. The code I am using for that is below and retuns all time in hours&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;#160;&lt;/p&gt;&lt;p&gt;DATEDIFF("minute",[Resolved],[Created])*-1/60&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;#160;&lt;/p&gt;&lt;p&gt;What I need to do now is figure out if that duration exceeds, meets or misses our SLA for each of our 4 different priority types.&lt;/p&gt;&lt;p&gt;&lt;span style="font-size: 10pt;"&gt;Priority levels are 1-4&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size: 10pt;"&gt;SLA for each: &lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size: 10pt;"&gt;P1 - 1-4 hours&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size: 10pt;"&gt;P2 - 1-16 hours&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size: 10pt;"&gt;P3 - 1-40 hours&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size: 10pt;"&gt;P4 - 1-80 hours&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;"&gt;I am able to do this with a calculated field for each scenario individually&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;"&gt;Example: IF [Duration]&amp;lt;1 THEN "Exceeds" END will add Exceeds to all the SLAs that are less than 1, which notes we exceeded our SLA level for that issue.&amp;#160; This is okay, but it makes the chart look crazy and requires a ton of filtering to see what is needed&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;"&gt;What I don't know how to do is combine all those lines of code to just have 1 column on the chart show SLA Status, which would be either Exceeds, Meets, or Misses. &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;"&gt;It does get a bit more complicated. P1 and P2 clocks don't have a pause on them, the ticket age is exacatly what the difference is between open and close. &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;"&gt;P3 and P4 tickets are only worked during normal business hours - Monday-Thursday 7:30am-10pm, Friday 7:30am to 10:30pm, Saturday 8am to 7pm, closed Sunday. It would be fantastic to find a way to calculate a P3 and 4 only based on true business hours. &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;"&gt;I don't know if Tableau can do all of that, so I would settle for just treating all Priority levels the same. &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;"&gt;Any help is apprecaited. Let me know if I need to post a workbook, I would have to change it up a bit first though. &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;"&gt;Thanks in advance for your help!&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:f85832b4-2e33-484a-afe4-9947a9a3d0bb] --&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">dates</category>
      <category domain="https://community.tableau.com/tags#/?containerType=14&amp;container=2003">calculation</category>
      <pubDate>Thu, 09 Oct 2014 04:02:36 GMT</pubDate>
      <author>tableaucommunity@tableau.com</author>
      <guid>https://community.tableau.com/thread/149889</guid>
      <dc:date>2014-10-09T04:02:36Z</dc:date>
      <clearspace:dateToText>4 years 9 months ago</clearspace:dateToText>
      <clearspace:replyCount>1</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
  </channel>
</rss>

