<?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 Add days in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Add-days/m-p/640929#M234818</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am currently creating a Pivot table where in we have a the &lt;STRONG&gt;"START Time"&lt;/STRONG&gt; in D/M/YYYY h:mm format and we have a field with &lt;STRONG&gt;"Due day"&lt;/STRONG&gt; value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to create a Measure &lt;STRONG&gt;"DUE DATE"&lt;/STRONG&gt;, which would be adding the number of days from &lt;STRONG&gt;"Due day"&lt;/STRONG&gt; to &lt;STRONG&gt;"START Time"&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am attaching the sample data along with the expected output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in Advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 21 May 2014 03:55:42 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-05-21T03:55:42Z</dc:date>
    <item>
      <title>Add days</title>
      <link>https://community.qlik.com/t5/QlikView/Add-days/m-p/640929#M234818</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am currently creating a Pivot table where in we have a the &lt;STRONG&gt;"START Time"&lt;/STRONG&gt; in D/M/YYYY h:mm format and we have a field with &lt;STRONG&gt;"Due day"&lt;/STRONG&gt; value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to create a Measure &lt;STRONG&gt;"DUE DATE"&lt;/STRONG&gt;, which would be adding the number of days from &lt;STRONG&gt;"Due day"&lt;/STRONG&gt; to &lt;STRONG&gt;"START Time"&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am attaching the sample data along with the expected output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in Advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 May 2014 03:55:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Add-days/m-p/640929#M234818</guid>
      <dc:creator />
      <dc:date>2014-05-21T03:55:42Z</dc:date>
    </item>
    <item>
      <title>Re: Add days</title>
      <link>https://community.qlik.com/t5/QlikView/Add-days/m-p/640930#M234819</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When I use &lt;/P&gt;&lt;P&gt;Date(START TIME (DD/MM/YYYY h:mm)+4) it gives me the answer&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However when I use&lt;/P&gt;&lt;P&gt;Date(START TIME (DD/MM/YYYY h:mm)+Due (in days)) it throws a '-' in the text box.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 May 2014 04:41:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Add-days/m-p/640930#M234819</guid>
      <dc:creator />
      <dc:date>2014-05-21T04:41:11Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Add days</title>
      <link>https://community.qlik.com/t5/QlikView/Add-days/m-p/640931#M234820</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;PFA.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 May 2014 04:45:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Add-days/m-p/640931#M234820</guid>
      <dc:creator />
      <dc:date>2014-05-21T04:45:25Z</dc:date>
    </item>
    <item>
      <title>Re: Add days</title>
      <link>https://community.qlik.com/t5/QlikView/Add-days/m-p/640932#M234821</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In text box it will give error, but will provide correct result when a single date is selected.&lt;/P&gt;&lt;P&gt;You can just sum up in script as well and generate a new field as &lt;/P&gt;&lt;P&gt;Load&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;Date(START TIME (DD/MM/YYYY h:mm)+Due (in days))&amp;nbsp; as Due_Date&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;from table_name;&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;Now you can use this field easily..&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;Nitin&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 May 2014 04:52:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Add-days/m-p/640932#M234821</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-05-21T04:52:36Z</dc:date>
    </item>
    <item>
      <title>Re: Add days</title>
      <link>https://community.qlik.com/t5/QlikView/Add-days/m-p/640933#M234822</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use Interval function.&lt;/P&gt;&lt;P&gt;But firstly it's better to round &lt;STRONG&gt;START Time and &lt;STRONG&gt;Due day &lt;/STRONG&gt;&lt;/STRONG&gt;to date with Floor function in the load script.&lt;/P&gt;&lt;P&gt;I thin than you can also calculate this difference with Floor(Due day)-Floor(START Time).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 May 2014 05:23:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Add-days/m-p/640933#M234822</guid>
      <dc:creator>SergeyMak</dc:creator>
      <dc:date>2014-05-21T05:23:02Z</dc:date>
    </item>
  </channel>
</rss>

