<?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: Substracting two Dates in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Substracting-two-Dates/m-p/556615#M687654</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;chart dimension is insurer.&lt;/P&gt;&lt;P&gt;I have 7 insurer.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 11 Dec 2013 05:51:05 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-12-11T05:51:05Z</dc:date>
    <item>
      <title>Substracting two Dates</title>
      <link>https://community.qlik.com/t5/QlikView/Substracting-two-Dates/m-p/556610#M687645</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;I want to substract two dates. And the output should be &lt;SPAN style="font-size: 14pt;"&gt;&lt;STRONG&gt;Number of Days. &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; I want to display it in a bar graph against dimension.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I used this as my expression&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 14pt;"&gt;=interval(DateSent-DateReceived,'DD')&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But i am getting No data to display.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It shows only when i select any field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Help me with this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards&lt;/P&gt;&lt;P&gt;Keerthi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Dec 2013 05:09:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Substracting-two-Dates/m-p/556610#M687645</guid>
      <dc:creator />
      <dc:date>2013-12-11T05:09:48Z</dc:date>
    </item>
    <item>
      <title>Re: Substracting two Dates</title>
      <link>https://community.qlik.com/t5/QlikView/Substracting-two-Dates/m-p/556611#M687646</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;To get the date difference in days, just subtract the first date from the second.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=DateSent-DateReceived&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You could round this with Round(), Floor() or Ceil() according to your requirements.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Dec 2013 05:13:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Substracting-two-Dates/m-p/556611#M687646</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2013-12-11T05:13:57Z</dc:date>
    </item>
    <item>
      <title>Re: Substracting two Dates</title>
      <link>https://community.qlik.com/t5/QlikView/Substracting-two-Dates/m-p/556612#M687649</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am getting substracted date only when i select date received.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it should be displayed against a dimension in a chart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to do that ??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Dec 2013 05:35:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Substracting-two-Dates/m-p/556612#M687649</guid>
      <dc:creator />
      <dc:date>2013-12-11T05:35:18Z</dc:date>
    </item>
    <item>
      <title>Re: Substracting two Dates</title>
      <link>https://community.qlik.com/t5/QlikView/Substracting-two-Dates/m-p/556613#M687650</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;If there are multiple records for the dimension then you don't get data, try using&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;=Ceil(Max(DateSent)-&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Max&lt;/SPAN&gt;(DateReceived))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&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;"&gt;Hope it helps you.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&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;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Jagan.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Dec 2013 05:45:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Substracting-two-Dates/m-p/556613#M687650</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2013-12-11T05:45:26Z</dc:date>
    </item>
    <item>
      <title>Re: Substracting two Dates</title>
      <link>https://community.qlik.com/t5/QlikView/Substracting-two-Dates/m-p/556614#M687653</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is the chart dimension? If the dates are not distinct per dimension line, you will to apply an aggregation function like Min() or Max().&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Dec 2013 05:49:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Substracting-two-Dates/m-p/556614#M687653</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2013-12-11T05:49:33Z</dc:date>
    </item>
    <item>
      <title>Re: Substracting two Dates</title>
      <link>https://community.qlik.com/t5/QlikView/Substracting-two-Dates/m-p/556615#M687654</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;chart dimension is insurer.&lt;/P&gt;&lt;P&gt;I have 7 insurer.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Dec 2013 05:51:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Substracting-two-Dates/m-p/556615#M687654</guid>
      <dc:creator />
      <dc:date>2013-12-11T05:51:05Z</dc:date>
    </item>
    <item>
      <title>Re: Substracting two Dates</title>
      <link>https://community.qlik.com/t5/QlikView/Substracting-two-Dates/m-p/556616#M687655</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;STRONG style="font-size: 14pt;"&gt;=interval(num(DateSent)-num(DateReceived),'DD')&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Dec 2013 06:16:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Substracting-two-Dates/m-p/556616#M687655</guid>
      <dc:creator />
      <dc:date>2013-12-11T06:16:50Z</dc:date>
    </item>
  </channel>
</rss>

