<?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 Interval difference -0:00 instead of 0:00 in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Interval-difference-0-00-instead-of-0-00/m-p/1448222#M433751</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 have 2 time expressions A and B. Sometimes the time difference can be less than zero, but when the difference is zero, I am getting -0:00 instead of 0:00 and when I export the data to excel, I get #####. A and B expression values come from crazy scripting(SQL and QlikView programming mix) so I was thinking if I can modify the C expression on the chart itself to get 0:00 instead of -0:00. C is a expression where I am just doing B-A and have set it to interval: h:mm format. Can someone please help if you know of a solution? I tried IF(B-A = "-0:00", "0:00",B-A), but that still gives -0:00. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/confused.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid rgb(0, 0, 0); border-image: none; width: 100%;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;A&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;B&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;C&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;10/17/2017 11:28&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;10/17/2017 11:28&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;-0:00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 09 Nov 2017 16:52:24 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-11-09T16:52:24Z</dc:date>
    <item>
      <title>Interval difference -0:00 instead of 0:00</title>
      <link>https://community.qlik.com/t5/QlikView/Interval-difference-0-00-instead-of-0-00/m-p/1448222#M433751</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 have 2 time expressions A and B. Sometimes the time difference can be less than zero, but when the difference is zero, I am getting -0:00 instead of 0:00 and when I export the data to excel, I get #####. A and B expression values come from crazy scripting(SQL and QlikView programming mix) so I was thinking if I can modify the C expression on the chart itself to get 0:00 instead of -0:00. C is a expression where I am just doing B-A and have set it to interval: h:mm format. Can someone please help if you know of a solution? I tried IF(B-A = "-0:00", "0:00",B-A), but that still gives -0:00. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/confused.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid rgb(0, 0, 0); border-image: none; width: 100%;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;A&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;B&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;C&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;10/17/2017 11:28&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;10/17/2017 11:28&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;-0:00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Nov 2017 16:52:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Interval-difference-0-00-instead-of-0-00/m-p/1448222#M433751</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-11-09T16:52:24Z</dc:date>
    </item>
    <item>
      <title>Re: Interval difference -0:00 instead of 0:00</title>
      <link>https://community.qlik.com/t5/QlikView/Interval-difference-0-00-instead-of-0-00/m-p/1448223#M433752</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why don't you try Round() function?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Nov 2017 16:53:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Interval-difference-0-00-instead-of-0-00/m-p/1448223#M433752</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-11-09T16:53:51Z</dc:date>
    </item>
    <item>
      <title>Re: Interval difference -0:00 instead of 0:00</title>
      <link>https://community.qlik.com/t5/QlikView/Interval-difference-0-00-instead-of-0-00/m-p/1448224#M433753</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I haven't used round function in QlikView yet. Do you think with round function I will still be able to get the negative time difference? Also, will it still consider the seconds difference? Time difference on this application is so important for improvement so I can't even ignore the seconds differences.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Nov 2017 17:47:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Interval-difference-0-00-instead-of-0-00/m-p/1448224#M433753</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-11-09T17:47:18Z</dc:date>
    </item>
    <item>
      <title>Re: Interval difference -0:00 instead of 0:00</title>
      <link>https://community.qlik.com/t5/QlikView/Interval-difference-0-00-instead-of-0-00/m-p/1448225#M433754</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I mean this is how I would check something like this... I have not tested this, but if your are checking for seconds, then try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(Round(B-A, 1/86400) = 0, '0.00', B-A)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for minutes&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;If(Round(B-A, 1/1440) = 0, '0.00', B-A)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Nov 2017 17:50:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Interval-difference-0-00-instead-of-0-00/m-p/1448225#M433754</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-11-09T17:50:02Z</dc:date>
    </item>
    <item>
      <title>Re: Interval difference -0:00 instead of 0:00</title>
      <link>https://community.qlik.com/t5/QlikView/Interval-difference-0-00-instead-of-0-00/m-p/1448226#M433755</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Amazing as always. Is there anything on QlikView that you can't solve? haha thanks again Sunny. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Nov 2017 18:26:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Interval-difference-0-00-instead-of-0-00/m-p/1448226#M433755</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-11-09T18:26:09Z</dc:date>
    </item>
  </channel>
</rss>

