<?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 Flag date differences in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Flag-date-differences/m-p/118825#M18306</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;good day,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please find attached data with required results.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have no idea how to populate the pivot table in qlikview to get my desired results.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 08 Aug 2018 12:14:21 GMT</pubDate>
    <dc:creator>ranibosch</dc:creator>
    <dc:date>2018-08-08T12:14:21Z</dc:date>
    <item>
      <title>Flag date differences</title>
      <link>https://community.qlik.com/t5/QlikView/Flag-date-differences/m-p/118825#M18306</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;good day,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please find attached data with required results.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have no idea how to populate the pivot table in qlikview to get my desired results.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Aug 2018 12:14:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Flag-date-differences/m-p/118825#M18306</guid>
      <dc:creator>ranibosch</dc:creator>
      <dc:date>2018-08-08T12:14:21Z</dc:date>
    </item>
    <item>
      <title>Re: Flag date differences</title>
      <link>https://community.qlik.com/t5/QlikView/Flag-date-differences/m-p/118826#M18307</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;you can try this on the script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(len(trim(close_date))&amp;lt;&amp;gt;0, close_date - open_date) as Difference_days_open_vs_close_date,&lt;/P&gt;&lt;P&gt;if(len(trim(close_date))=0,Date(today()) - open_date) as &lt;SPAN style="font-size: 13.3333px;"&gt;Difference_days_open_vs_today_date,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;PS: make sure your Open_date and Close_date are already evaluated as dates with the correct format, otherwise you will need to use Date#() and Date() functions&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Aug 2018 12:28:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Flag-date-differences/m-p/118826#M18307</guid>
      <dc:creator>YoussefBelloum</dc:creator>
      <dc:date>2018-08-08T12:28:02Z</dc:date>
    </item>
  </channel>
</rss>

