<?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: how to filter date? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/how-to-filter-date/m-p/1010425#M950923</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;for first day of the month (only the 1sr) you can use that calulated dimension&lt;/P&gt;&lt;P&gt;&lt;EM&gt;=if(Day(repdate)=1, repdate)&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 30 Nov 2015 18:55:53 GMT</pubDate>
    <dc:creator>maxgro</dc:creator>
    <dc:date>2015-11-30T18:55:53Z</dc:date>
    <item>
      <title>how to filter date?</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-filter-date/m-p/1010421#M950919</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I got requirement to create 2 charts .where the dimension 'Reporting Date' in one chart it should contain the first day of every month,in another chart the same dimension 'Reporting Date' should contain all the dates.&lt;/P&gt;&lt;P&gt;How can i achieve it in same data model,plz help me to solve this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;shruthi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Nov 2015 17:58:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-filter-date/m-p/1010421#M950919</guid>
      <dc:creator>shruthibk</dc:creator>
      <dc:date>2015-11-30T17:58:29Z</dc:date>
    </item>
    <item>
      <title>Re: how to filter date?</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-filter-date/m-p/1010422#M950920</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you have a field in your data model with all the dates ?&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you do and the field is called DateField&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1st chart dimension:&amp;nbsp; DateField&lt;/P&gt;&lt;P&gt;2nd chart dimension:&amp;nbsp; MonthStart(DateField)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note that the 2nd chart will bucket every measure value from that month and report it under the first day of the month. Do you want that ?&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Otherwise i would suggest a monthstart() boolean flag in your data model&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;load&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DateField&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if( DateField=MonthStart(DateField), 1, 0 ) as MonthStartFlag&lt;/P&gt;&lt;P&gt;from &amp;lt;&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then you can restrict the rows in your 2nd chart using&amp;nbsp; MonthStartFlag = 1 in set analysis or conditional null suppression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum( {&amp;lt;MonthStartFlag={0}&amp;gt;}&amp;nbsp; Sales)&amp;nbsp; &lt;/P&gt;&lt;P&gt;sum ( if (MonthStartFlag=0 , Sales) ) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;etc...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Nov 2015 18:20:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-filter-date/m-p/1010422#M950920</guid>
      <dc:creator>JonnyPoole</dc:creator>
      <dc:date>2015-11-30T18:20:55Z</dc:date>
    </item>
    <item>
      <title>Re: how to filter date?</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-filter-date/m-p/1010423#M950921</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi i need to show reporting date in dash board as well like in one dashboard all the reporting dates,in another dashboard only the 1st date of every month&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Nov 2015 18:27:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-filter-date/m-p/1010423#M950921</guid>
      <dc:creator>shruthibk</dc:creator>
      <dc:date>2015-11-30T18:27:09Z</dc:date>
    </item>
    <item>
      <title>Re: how to filter date?</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-filter-date/m-p/1010424#M950922</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;like i need to provide the reporting date as filter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Nov 2015 18:29:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-filter-date/m-p/1010424#M950922</guid>
      <dc:creator>shruthibk</dc:creator>
      <dc:date>2015-11-30T18:29:31Z</dc:date>
    </item>
    <item>
      <title>Re: how to filter date?</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-filter-date/m-p/1010425#M950923</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;for first day of the month (only the 1sr) you can use that calulated dimension&lt;/P&gt;&lt;P&gt;&lt;EM&gt;=if(Day(repdate)=1, repdate)&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Nov 2015 18:55:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-filter-date/m-p/1010425#M950923</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2015-11-30T18:55:53Z</dc:date>
    </item>
    <item>
      <title>Re: how to filter date?</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-filter-date/m-p/1010426#M950924</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi my requirement is like i need to show the filtered date in list box for ex.&lt;/P&gt;&lt;P&gt;Reporting date&lt;/P&gt;&lt;P&gt;01/01/10&lt;/P&gt;&lt;P&gt;02/01/10&lt;/P&gt;&lt;P&gt;03/01/10&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it is first day of every month date&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Dec 2015 03:39:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-filter-date/m-p/1010426#M950924</guid>
      <dc:creator>shruthibk</dc:creator>
      <dc:date>2015-12-01T03:39:06Z</dc:date>
    </item>
    <item>
      <title>Re: how to filter date?</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-filter-date/m-p/1010427#M950925</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi thanks this is working fine and my last requirement is i need to show rolling month of 12 months data for 1st day of every month can i go with this approach&lt;/P&gt;&lt;P&gt;sum({&amp;lt;Reporting date={'&amp;lt;=date(monthstart(max(Reporting date))),'MMM YYYY'),&amp;gt;=date(addmonths(monthstart(max(Reporting date)),-12),'MMM YYYY')'&amp;gt;}sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is this the right approach?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Dec 2015 03:50:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-filter-date/m-p/1010427#M950925</guid>
      <dc:creator>shruthibk</dc:creator>
      <dc:date>2015-12-01T03:50:25Z</dc:date>
    </item>
    <item>
      <title>Re: how to filter date?</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-filter-date/m-p/1010428#M950926</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Shruti,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try like this:&lt;/P&gt;&lt;P&gt;1. For first date of month.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;first create a field in script:&lt;/P&gt;&lt;P&gt;month(Reporting Date) as Month&lt;/P&gt;&lt;P&gt;Create a calculated dimension&lt;/P&gt;&lt;P&gt;if(Reporting Date=min(total&amp;lt;Month&amp;gt; Reporting Date),Reporting Date)&lt;/P&gt;&lt;P&gt;Exp:&lt;/P&gt;&lt;P&gt;sum(Sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. For all dates:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dimension:&lt;/P&gt;&lt;P&gt;Reporting Date&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Exp:&lt;/P&gt;&lt;P&gt;sum(sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;KC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Dec 2015 04:57:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-filter-date/m-p/1010428#M950926</guid>
      <dc:creator>jyothish8807</dc:creator>
      <dc:date>2015-12-01T04:57:27Z</dc:date>
    </item>
    <item>
      <title>Re: how to filter date?</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-filter-date/m-p/1010429#M950927</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi but this will not give rolling 12 months data right&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Dec 2015 07:26:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-filter-date/m-p/1010429#M950927</guid>
      <dc:creator>shruthibk</dc:creator>
      <dc:date>2015-12-01T07:26:37Z</dc:date>
    </item>
    <item>
      <title>Re: how to filter date?</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-filter-date/m-p/1010430#M950928</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Shruti,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For rolling 12 months, you need to modify your expression and use the same dimension if the requirement is same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;KC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Dec 2015 09:19:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-filter-date/m-p/1010430#M950928</guid>
      <dc:creator>jyothish8807</dc:creator>
      <dc:date>2015-12-01T09:19:29Z</dc:date>
    </item>
  </channel>
</rss>

