<?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: Date Difference in Dimension in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Date-Difference-in-Dimension/m-p/785188#M1026763</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;You could try with Aggr function and unique ID - OrderID/InvoiceID&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; font-size: 13px;"&gt;=Aggr(Ceil(Interval(Date#(PO_DATE, 'MM/DD/YYYY') - Date#(Invoice_DATE, 'MM/DD/YYYY'), 'DD' )), [OrderID/InvoiceID])&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&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; font-size: 13px;"&gt;But for the Best practices and performance, don't do any calculation in dimension instead create this field in script and make use of it in presentation.&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; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Feb 2015 06:07:15 GMT</pubDate>
    <dc:creator>CELAMBARASAN</dc:creator>
    <dc:date>2015-02-25T06:07:15Z</dc:date>
    <item>
      <title>Date Difference in Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Date-Difference-in-Dimension/m-p/785186#M1026761</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm new in Qlikview. I have two date fields..One is PO_DATE and another is INVOICE_DATE. I want to use difference between tow dates in "Dimensions" as a number (like 2., 3, 5 etc.) and in expression "Sum of Invoice Qty".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For Date between i have formula: =Ceil(Interval(Date#(PO_DATE, 'MM/DD/YYYY') - Date#(Invoice_DATE, 'MM/DD/YYYY'), 'DD' )). Can any one help me to show date difference number in "Dimension"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Masba&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Feb 2015 05:55:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-Difference-in-Dimension/m-p/785186#M1026761</guid>
      <dc:creator />
      <dc:date>2015-02-25T05:55:53Z</dc:date>
    </item>
    <item>
      <title>Re: Date Difference in Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Date-Difference-in-Dimension/m-p/785187#M1026762</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Masba,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This I have already suggested to you, once again check attachments.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;AS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Feb 2015 06:06:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-Difference-in-Dimension/m-p/785187#M1026762</guid>
      <dc:creator>amit_saini</dc:creator>
      <dc:date>2015-02-25T06:06:31Z</dc:date>
    </item>
    <item>
      <title>Re: Date Difference in Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Date-Difference-in-Dimension/m-p/785188#M1026763</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;You could try with Aggr function and unique ID - OrderID/InvoiceID&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; font-size: 13px;"&gt;=Aggr(Ceil(Interval(Date#(PO_DATE, 'MM/DD/YYYY') - Date#(Invoice_DATE, 'MM/DD/YYYY'), 'DD' )), [OrderID/InvoiceID])&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&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; font-size: 13px;"&gt;But for the Best practices and performance, don't do any calculation in dimension instead create this field in script and make use of it in presentation.&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; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Feb 2015 06:07:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-Difference-in-Dimension/m-p/785188#M1026763</guid>
      <dc:creator>CELAMBARASAN</dc:creator>
      <dc:date>2015-02-25T06:07:15Z</dc:date>
    </item>
  </channel>
</rss>

