<?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 Time Interval Creation in Qlik Sense in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Time-Interval-Creation-in-Qlik-Sense/m-p/1845134#M69927</link>
    <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;i am trying to achieve below result from the attached data. but my time interval is not working fine. Can anyone help to achieve this. 'Time Interval' is calculated the time values between 'Time Start' and 'Time Stop'.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Time interval&lt;/TD&gt;&lt;TD&gt;# of Items&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;7-8&lt;/TD&gt;&lt;TD&gt;19&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;8-9&lt;/TD&gt;&lt;TD&gt;30&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;9-10&lt;/TD&gt;&lt;TD&gt;20&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;10-11&lt;/TD&gt;&lt;TD&gt;17&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;</description>
    <pubDate>Tue, 30 Nov 2021 16:25:32 GMT</pubDate>
    <dc:creator>loganathan</dc:creator>
    <dc:date>2021-11-30T16:25:32Z</dc:date>
    <item>
      <title>Time Interval Creation in Qlik Sense</title>
      <link>https://community.qlik.com/t5/App-Development/Time-Interval-Creation-in-Qlik-Sense/m-p/1845134#M69927</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;i am trying to achieve below result from the attached data. but my time interval is not working fine. Can anyone help to achieve this. 'Time Interval' is calculated the time values between 'Time Start' and 'Time Stop'.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Time interval&lt;/TD&gt;&lt;TD&gt;# of Items&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;7-8&lt;/TD&gt;&lt;TD&gt;19&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;8-9&lt;/TD&gt;&lt;TD&gt;30&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;9-10&lt;/TD&gt;&lt;TD&gt;20&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;10-11&lt;/TD&gt;&lt;TD&gt;17&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;</description>
      <pubDate>Tue, 30 Nov 2021 16:25:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Time-Interval-Creation-in-Qlik-Sense/m-p/1845134#M69927</guid>
      <dc:creator>loganathan</dc:creator>
      <dc:date>2021-11-30T16:25:32Z</dc:date>
    </item>
    <item>
      <title>Re: Time Interval Creation in Qlik Sense</title>
      <link>https://community.qlik.com/t5/App-Development/Time-Interval-Creation-in-Qlik-Sense/m-p/1845183#M69929</link>
      <description>&lt;P&gt;if your interval is not created&amp;nbsp; correctly,&amp;nbsp; then it could be an issue with the interpretation of your time fields. Try this:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;interval(time#([Time Stop],'hh:mm')-time#([Time Start],'hh:mm'))&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Oct 2021 04:31:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Time-Interval-Creation-in-Qlik-Sense/m-p/1845183#M69929</guid>
      <dc:creator>Vegar</dc:creator>
      <dc:date>2021-10-12T04:31:32Z</dc:date>
    </item>
    <item>
      <title>Re: Time Interval Creation in Qlik Sense</title>
      <link>https://community.qlik.com/t5/App-Development/Time-Interval-Creation-in-Qlik-Sense/m-p/1845195#M69930</link>
      <description>&lt;P&gt;Hi Vegar,&lt;/P&gt;&lt;P&gt;thanks for your reply. I am using the below format&lt;/P&gt;&lt;P&gt;INTERVAL((Time#(Time([Time&amp;nbsp;&amp;nbsp;Stop], 'hh:mm'),'hh:mm')- Time#(Time("Time&amp;nbsp;&amp;nbsp;Start", 'hh:mm'),'hh:mm')) ,'mm') AS Interval,&lt;/P&gt;&lt;P&gt;still all the time interval is not properly calculating. Please advise&lt;/P&gt;</description>
      <pubDate>Tue, 12 Oct 2021 04:52:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Time-Interval-Creation-in-Qlik-Sense/m-p/1845195#M69930</guid>
      <dc:creator>loganathan</dc:creator>
      <dc:date>2021-10-12T04:52:28Z</dc:date>
    </item>
    <item>
      <title>Re: Time Interval Creation in Qlik Sense</title>
      <link>https://community.qlik.com/t5/App-Development/Time-Interval-Creation-in-Qlik-Sense/m-p/1845744#M69968</link>
      <description>&lt;P&gt;I think you have swapped the intepret time#() with the formating time() function. Try this:&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;INTERVAL( (Time(Time&lt;STRONG&gt;#&lt;/STRONG&gt;([Time&amp;nbsp;&amp;nbsp;Stop], 'hh:mm'),'hh:mm')- Time(Time&lt;STRONG&gt;#&lt;/STRONG&gt;("Time&amp;nbsp;&amp;nbsp;Start", 'hh:mm'),'hh:mm')) ,'mm') AS Interval,&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;OR just remove the Time() formating function, since you are going to reformat it to an interval.&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;INTERVAL( (Time&lt;STRONG&gt;#&lt;/STRONG&gt;([Time&amp;nbsp;&amp;nbsp;Stop], 'hh:mm')- Time&lt;STRONG&gt;#&lt;/STRONG&gt;("Time&amp;nbsp;&amp;nbsp;Start", 'hh:mm')) ,'mm') AS Interval,&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;If you still have issues with the calculation then please provide an sample/example in order for us to help you further.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Oct 2021 17:40:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Time-Interval-Creation-in-Qlik-Sense/m-p/1845744#M69968</guid>
      <dc:creator>Vegar</dc:creator>
      <dc:date>2021-10-12T17:40:33Z</dc:date>
    </item>
  </channel>
</rss>

