<?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: Sum of Time Measure in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Sum-of-Time-Measure/m-p/633463#M1086983</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Try like this for minutes&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Load&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;*,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Num(Interval(&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;ShiftEndTime&lt;/SPAN&gt; - &lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;ShiftStartTime&lt;/SPAN&gt;, 'm')) AS Minutes&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;FROM DataSource;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Now use this expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;=Sum(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Minutes&lt;/SPAN&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Regards,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 30 May 2014 09:37:38 GMT</pubDate>
    <dc:creator>jagan</dc:creator>
    <dc:date>2014-05-30T09:37:38Z</dc:date>
    <item>
      <title>Sum of Time Measure</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-of-Time-Measure/m-p/633454#M1086974</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am having #ShiftStartTime/#ShiftEndTime of a Employee say XYZ.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to show total no. of hours of XYZ from this time measure. I am using sum(#ShiftEndTime-#ShiftStartTime) but its not working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can some body suggest to me what I can do in this case?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Balraj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 May 2014 08:46:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-of-Time-Measure/m-p/633454#M1086974</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-05-30T08:46:29Z</dc:date>
    </item>
    <item>
      <title>Re: Sum of Time Measure</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-of-Time-Measure/m-p/633455#M1086975</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What exact result gives your expression?&lt;/P&gt;&lt;P&gt;'-' or '0,12312' or smth else.&lt;/P&gt;&lt;P&gt;Try&lt;/P&gt;&lt;P&gt;Interval( &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12.727272033691406px;"&gt;sum(#ShiftEndTime-#ShiftStartTime) &lt;/SPAN&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Andrei&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 May 2014 08:50:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-of-Time-Measure/m-p/633455#M1086975</guid>
      <dc:creator>crusader_</dc:creator>
      <dc:date>2014-05-30T08:50:37Z</dc:date>
    </item>
    <item>
      <title>Re: Sum of Time Measure</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-of-Time-Measure/m-p/633456#M1086976</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;*,&lt;/P&gt;&lt;P&gt;Num(Interval(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;ShiftEndTime&lt;/SPAN&gt; - &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;ShiftStartTime&lt;/SPAN&gt;, 'h')) AS Hours&lt;/P&gt;&lt;P&gt;FROM DataSource;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now use this expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Sum(Hours)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 May 2014 08:55:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-of-Time-Measure/m-p/633456#M1086976</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2014-05-30T08:55:19Z</dc:date>
    </item>
    <item>
      <title>Re: Sum of Time Measure</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-of-Time-Measure/m-p/633457#M1086977</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Andrei,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Its not working, still its giving 1 with your expression else 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Balraj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 May 2014 08:55:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-of-Time-Measure/m-p/633457#M1086977</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-05-30T08:55:28Z</dc:date>
    </item>
    <item>
      <title>Re: Sum of Time Measure</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-of-Time-Measure/m-p/633458#M1086978</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is the time format in &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;#ShiftEndTime and #ShiftStartTime&lt;/SPAN&gt;?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 May 2014 09:00:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-of-Time-Measure/m-p/633458#M1086978</guid>
      <dc:creator>anbu1984</dc:creator>
      <dc:date>2014-05-30T09:00:08Z</dc:date>
    </item>
    <item>
      <title>Re: Sum of Time Measure</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-of-Time-Measure/m-p/633459#M1086979</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It depends on what you actually have in these two fields (the underlying value, not the displayed value). If they are normal date/time/timestamp fields, then the time portion is a fraction of a day. To get the interval in hours (not just display in hours), use &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12.222222328186035px; line-height: 1.5em;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12.222222328186035px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; (#ShiftEndTime-#ShiftStartTime) * 24&amp;nbsp;&amp;nbsp; (in hours)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12.222222328186035px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; (#ShiftEndTime-#ShiftStartTime) * 1440 (in minutes 1440 = 24*60)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12.222222328186035px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12.222222328186035px;"&gt;To &lt;EM&gt;display&lt;/EM&gt; in hh:mm (the underlying value does &lt;EM&gt;not&lt;/EM&gt; change, just the display format) use:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12.222222328186035px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12.222222328186035px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; interval((#ShiftEndTime-#ShiftStartTime) * 24, 'hh:mm')&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12.222222328186035px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12.222222328186035px;"&gt;HTH&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12.222222328186035px;"&gt;Jonathan&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12.222222328186035px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12.222222328186035px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 May 2014 09:01:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-of-Time-Measure/m-p/633459#M1086979</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2014-05-30T09:01:39Z</dc:date>
    </item>
    <item>
      <title>Re: Sum of Time Measure</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-of-Time-Measure/m-p/633460#M1086980</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you share a qvw sample?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Andrei&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 May 2014 09:06:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-of-Time-Measure/m-p/633460#M1086980</guid>
      <dc:creator>crusader_</dc:creator>
      <dc:date>2014-05-30T09:06:01Z</dc:date>
    </item>
    <item>
      <title>Re: Sum of Time Measure</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-of-Time-Measure/m-p/633461#M1086981</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Jagan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Will it work for minutes?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Balraj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 May 2014 09:20:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-of-Time-Measure/m-p/633461#M1086981</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-05-30T09:20:05Z</dc:date>
    </item>
    <item>
      <title>Re: Sum of Time Measure</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-of-Time-Measure/m-p/633462#M1086982</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jonathan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Time is into 24 hr format, but your expression is not working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Balraj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 May 2014 09:20:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-of-Time-Measure/m-p/633462#M1086982</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-05-30T09:20:42Z</dc:date>
    </item>
    <item>
      <title>Re: Sum of Time Measure</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-of-Time-Measure/m-p/633463#M1086983</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Try like this for minutes&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Load&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;*,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Num(Interval(&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;ShiftEndTime&lt;/SPAN&gt; - &lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;ShiftStartTime&lt;/SPAN&gt;, 'm')) AS Minutes&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;FROM DataSource;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Now use this expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;=Sum(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Minutes&lt;/SPAN&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Regards,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 May 2014 09:37:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-of-Time-Measure/m-p/633463#M1086983</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2014-05-30T09:37:38Z</dc:date>
    </item>
  </channel>
</rss>

