<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to calculate the time  difference from the same column values . in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-calculate-the-time-difference-from-the-same-column-values/m-p/628628#M679260</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Each Product line have different AU_Time.&lt;/P&gt;&lt;P&gt;Like in column:&lt;/P&gt;&lt;P&gt;Product Line&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ,AU_Time ,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Status&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" height="96" style="width: 288px; height: 67px;" width="288"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl64" height="20" width="98"&gt;Eclipse&lt;/TD&gt;&lt;TD class="xl64" width="135"&gt;2014-01-28 21:53:51&lt;/TD&gt;&lt;TD width="64"&gt;Closed&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="20"&gt;Eclipse&lt;/TD&gt;&lt;TD class="xl64"&gt;2014-01-28 21:53:51&lt;/TD&gt;&lt;TD&gt;ReTest&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="20"&gt;Eclipse&lt;/TD&gt;&lt;TD class="xl64"&gt;2014-01-28 21:53:51&lt;/TD&gt;&lt;TD&gt;Closed&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="20"&gt;Eclipse&lt;/TD&gt;&lt;TD class="xl64"&gt;2014-01-28 22:28:28&lt;/TD&gt;&lt;TD&gt;Closed&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need calculate first deffrnc with AU_Time foreach row.&lt;/P&gt;&lt;P&gt;(2014-01-28 21:53:51 - 2014-01- 28 21:53:51) in hours =12hrs. .&lt;/P&gt;&lt;P&gt;then will say that Eclipse was in closed status for 12 hours.&lt;/P&gt;&lt;P&gt;then next we will calculate (2014-01-28 21:53:51 - 2014-01-28 21:53:51)in hrs =0hrs so the status will be retest .&lt;/P&gt;&lt;P&gt;Eclipse remain in retest status for 0 hrs.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 27 May 2014 06:11:52 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-05-27T06:11:52Z</dc:date>
    <item>
      <title>How to calculate the time  difference from the same column values .</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-calculate-the-time-difference-from-the-same-column-values/m-p/628625#M679257</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;I want to calculate the Time difference of the values from the AU_TIME.&lt;/P&gt;&lt;P&gt;Then check the status for how much time the status was there .&lt;/P&gt;&lt;P&gt;I have attached the excel file also please check .&lt;/P&gt;&lt;P&gt;Thanks .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 May 2014 04:38:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-calculate-the-time-difference-from-the-same-column-values/m-p/628625#M679257</guid>
      <dc:creator />
      <dc:date>2014-05-27T04:38:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate the time  difference from the same column values .</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-calculate-the-time-difference-from-the-same-column-values/m-p/628626#M679258</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;These two timestamps 1/28/2014&amp;nbsp; 9:53:51 PM, 2014-01-28 21:53:51 are same values in different format. Can you explain how you calculate Closed status time?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 May 2014 05:16:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-calculate-the-time-difference-from-the-same-column-values/m-p/628626#M679258</guid>
      <dc:creator>anbu1984</dc:creator>
      <dc:date>2014-05-27T05:16:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate the time  difference from the same column values .</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-calculate-the-time-difference-from-the-same-column-values/m-p/628627#M679259</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;with what should we compare the AU_TIME?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 May 2014 05:55:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-calculate-the-time-difference-from-the-same-column-values/m-p/628627#M679259</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-05-27T05:55:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate the time  difference from the same column values .</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-calculate-the-time-difference-from-the-same-column-values/m-p/628628#M679260</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Each Product line have different AU_Time.&lt;/P&gt;&lt;P&gt;Like in column:&lt;/P&gt;&lt;P&gt;Product Line&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ,AU_Time ,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Status&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" height="96" style="width: 288px; height: 67px;" width="288"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl64" height="20" width="98"&gt;Eclipse&lt;/TD&gt;&lt;TD class="xl64" width="135"&gt;2014-01-28 21:53:51&lt;/TD&gt;&lt;TD width="64"&gt;Closed&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="20"&gt;Eclipse&lt;/TD&gt;&lt;TD class="xl64"&gt;2014-01-28 21:53:51&lt;/TD&gt;&lt;TD&gt;ReTest&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="20"&gt;Eclipse&lt;/TD&gt;&lt;TD class="xl64"&gt;2014-01-28 21:53:51&lt;/TD&gt;&lt;TD&gt;Closed&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="20"&gt;Eclipse&lt;/TD&gt;&lt;TD class="xl64"&gt;2014-01-28 22:28:28&lt;/TD&gt;&lt;TD&gt;Closed&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need calculate first deffrnc with AU_Time foreach row.&lt;/P&gt;&lt;P&gt;(2014-01-28 21:53:51 - 2014-01- 28 21:53:51) in hours =12hrs. .&lt;/P&gt;&lt;P&gt;then will say that Eclipse was in closed status for 12 hours.&lt;/P&gt;&lt;P&gt;then next we will calculate (2014-01-28 21:53:51 - 2014-01-28 21:53:51)in hrs =0hrs so the status will be retest .&lt;/P&gt;&lt;P&gt;Eclipse remain in retest status for 0 hrs.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 May 2014 06:11:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-calculate-the-time-difference-from-the-same-column-values/m-p/628628#M679260</guid>
      <dc:creator />
      <dc:date>2014-05-27T06:11:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate the time  difference from the same column values .</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-calculate-the-time-difference-from-the-same-column-values/m-p/628629#M679261</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Status is given already in the table no need to calculate it&amp;nbsp; these three columns are provided already.you need to calculate like:&lt;/P&gt;&lt;P&gt;Each Product line have different AU_Time.&lt;/P&gt;&lt;P&gt;Like in column:&lt;/P&gt;&lt;P&gt;Product Line&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ,AU_Time ,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Status&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" height="96" width="288"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl64" height="20" style="border: 0px solid black;" width="98"&gt;Eclipse&lt;/TD&gt;&lt;TD class="xl64" style="border: 0px solid black;" width="135"&gt;2014-01-28 21:53:51&lt;/TD&gt;&lt;TD style="border: 0px solid black;" width="64"&gt;Closed&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="20" style="border: 0px solid black;"&gt;Eclipse&lt;/TD&gt;&lt;TD class="xl64" style="border: 0px solid black;"&gt;2014-01-28 21:53:51&lt;/TD&gt;&lt;TD style="border: 0px solid black;"&gt;ReTest&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="20" style="border: 0px solid black;"&gt;Eclipse&lt;/TD&gt;&lt;TD class="xl64" style="border: 0px solid black;"&gt;2014-01-28 21:53:51&lt;/TD&gt;&lt;TD style="border: 0px solid black;"&gt;Closed&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="20" style="border: 0px solid black;"&gt;Eclipse&lt;/TD&gt;&lt;TD class="xl64" style="border: 0px solid black;"&gt;2014-01-28 22:28:28&lt;/TD&gt;&lt;TD style="border: 0px solid black;"&gt;Closed&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need calculate first deffrnc with AU_Time foreach row.&lt;/P&gt;&lt;P&gt;(2014-01-28 21:53:51 - 2014-01- 28 21:53:51) in hours =12hrs. .&lt;/P&gt;&lt;P&gt;then will say that Eclipse was in closed status for 12 hours.&lt;/P&gt;&lt;P&gt;then next we will calculate (2014-01-28 21:53:51 - 2014-01-28 21:53:51)in hrs =0hrs so the status will be retest .&lt;/P&gt;&lt;P&gt;Eclipse remain in retest status for 0 hrs.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 May 2014 06:17:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-calculate-the-time-difference-from-the-same-column-values/m-p/628629#M679261</guid>
      <dc:creator />
      <dc:date>2014-05-27T06:17:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate the time  difference from the same column values .</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-calculate-the-time-difference-from-the-same-column-values/m-p/628630#M679262</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Try this,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First of all fetch hour from given time stamp in back end script using:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;example&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;Main:&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;LOAD [Product Line], &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AU_TIME, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Hour(AU_TIME) as hour,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Status&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;&lt;C&gt;&lt;/C&gt;&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is Sheet1);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in chart add dimension AU_TIME as dimension &amp;amp; add below expression:-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=hour-Above(hour)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 May 2014 06:28:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-calculate-the-time-difference-from-the-same-column-values/m-p/628630#M679262</guid>
      <dc:creator />
      <dc:date>2014-05-27T06:28:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate the time  difference from the same column values .</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-calculate-the-time-difference-from-the-same-column-values/m-p/628631#M679263</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Shweta ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; I am able to get the difference in time now.But how to calculate the status time .for eg&lt;/P&gt;&lt;P&gt;Product Line&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ,AU_Time ,&amp;nbsp;&amp;nbsp; Differnce&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Status&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" height="96" width="288"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl64" height="20" style="border: 0px solid black;" width="98"&gt;Eclipse&lt;/TD&gt;&lt;TD class="xl64" style="border: 0px solid black;" width="135"&gt;22&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ,&amp;nbsp;&amp;nbsp; 0&lt;/TD&gt;&lt;TD style="border: 0px solid black;" width="64"&gt;Closed&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="20" style="border: 0px solid black;"&gt;Eclipse&lt;/TD&gt;&lt;TD class="xl64" style="border: 0px solid black;"&gt;32&amp;nbsp;&amp;nbsp; ,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 10&amp;nbsp;&amp;nbsp; &lt;/TD&gt;&lt;TD style="border: 0px solid black;"&gt;ReTest&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;The Product Line Eclipse was in Status Closed For 10 hours .&lt;/P&gt;&lt;P&gt;Same steps for other entries also &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 May 2014 06:40:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-calculate-the-time-difference-from-the-same-column-values/m-p/628631#M679263</guid>
      <dc:creator />
      <dc:date>2014-05-27T06:40:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate the time  difference from the same column values .</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-calculate-the-time-difference-from-the-same-column-values/m-p/628632#M679264</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;tell me your logic&amp;nbsp; i mean on which basis&amp;nbsp; you want to calculate status&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 May 2014 06:52:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-calculate-the-time-difference-from-the-same-column-values/m-p/628632#M679264</guid>
      <dc:creator />
      <dc:date>2014-05-27T06:52:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate the time  difference from the same column values .</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-calculate-the-time-difference-from-the-same-column-values/m-p/628633#M679265</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Status is already in the column i just need to calculate the time taken by each status.&lt;/P&gt;&lt;P&gt;The difference is the difference between AU_Time&amp;nbsp; . then we will check that Status was closed for 10 hours .then it changed to Retest&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 May 2014 07:51:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-calculate-the-time-difference-from-the-same-column-values/m-p/628633#M679265</guid>
      <dc:creator />
      <dc:date>2014-05-27T07:51:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate the time  difference from the same column values .</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-calculate-the-time-difference-from-the-same-column-values/m-p/628634#M679266</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Add one more expression:-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If(column(1)=10,'Closed','Reset') &amp;amp; name this expression as Status&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Note:-&lt;/STRONG&gt;Where column(1) is column no of difference &lt;STRONG&gt;i.e hour-above(hour)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 May 2014 09:23:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-calculate-the-time-difference-from-the-same-column-values/m-p/628634#M679266</guid>
      <dc:creator />
      <dc:date>2014-05-27T09:23:11Z</dc:date>
    </item>
  </channel>
</rss>

