<?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 function in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/date-function/m-p/983260#M979808</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 use two expression and add them, just like below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;Date = {"$(=Max(Date))"}&amp;gt;}Sales)&lt;/P&gt;&lt;P&gt;+&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Sum({&amp;lt;Date = {"$(=Max(Date)-6)"}&amp;gt;}Sales)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Kaushik Solanki&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 24 Aug 2015 18:13:28 GMT</pubDate>
    <dc:creator>kaushiknsolanki</dc:creator>
    <dc:date>2015-08-24T18:13:28Z</dc:date>
    <item>
      <title>date function</title>
      <link>https://community.qlik.com/t5/QlikView/date-function/m-p/983259#M979807</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Hi experts,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp; I have one date field in my data.and some id,sales of data is there.&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;here if I select any date it has to go 7 days back. &lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;here the data in date field is 01/01/2015 to 20/01/2015&amp;nbsp; for example&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;if I select 07/01/2015 it has to show 01/01/2015 and 07/01/2015 of both dates data.&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;same way if I select 01/01/2015 it has to show 25/12/2014&amp;nbsp; and 01/01/2015 of both dates data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;I have some ideas but those ideas are not giving proper result.&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;any ideas.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Aug 2015 18:09:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/date-function/m-p/983259#M979807</guid>
      <dc:creator>maniram23</dc:creator>
      <dc:date>2015-08-24T18:09:41Z</dc:date>
    </item>
    <item>
      <title>Re: date function</title>
      <link>https://community.qlik.com/t5/QlikView/date-function/m-p/983260#M979808</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 use two expression and add them, just like below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;Date = {"$(=Max(Date))"}&amp;gt;}Sales)&lt;/P&gt;&lt;P&gt;+&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Sum({&amp;lt;Date = {"$(=Max(Date)-6)"}&amp;gt;}Sales)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Kaushik Solanki&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Aug 2015 18:13:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/date-function/m-p/983260#M979808</guid>
      <dc:creator>kaushiknsolanki</dc:creator>
      <dc:date>2015-08-24T18:13:28Z</dc:date>
    </item>
    <item>
      <title>Re: date function</title>
      <link>https://community.qlik.com/t5/QlikView/date-function/m-p/983261#M979809</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you post a sample document?&lt;/P&gt;&lt;P&gt;ans just simply try debugging date +7 to see if you are getting the correct date?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Aug 2015 18:14:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/date-function/m-p/983261#M979809</guid>
      <dc:creator />
      <dc:date>2015-08-24T18:14:26Z</dc:date>
    </item>
    <item>
      <title>Re: date function</title>
      <link>https://community.qlik.com/t5/QlikView/date-function/m-p/983262#M979810</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use set analysis for this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example, create a straight table chart with dimension id and then two expressions:&lt;/P&gt;&lt;P&gt;=sum(sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=sum({&amp;lt;datefield = {"$(=Date(max(datefield)-6,'DD/MM/YYYY'))"}&amp;gt;} sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;replace id, datefield and sales with your appropriate field names. You may need to adjust the Date() format code to match your format of datefield.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Aug 2015 18:16:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/date-function/m-p/983262#M979810</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-08-24T18:16:46Z</dc:date>
    </item>
    <item>
      <title>Re: date function</title>
      <link>https://community.qlik.com/t5/QlikView/date-function/m-p/983263#M979811</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;wan to show only for both dates or for all 7 days back. If it is for only both dates then you can go for what kaushik has suggested. If you want for all 7 Days then use below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;Date = {"&amp;gt;=$(=Max(Date)-6)&amp;lt;=$(=Max(Date))"}&amp;gt;}Sales)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Aug 2015 18:18:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/date-function/m-p/983263#M979811</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2015-08-24T18:18:39Z</dc:date>
    </item>
  </channel>
</rss>

