<?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 Range in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Date-Range/m-p/1115184#M463260</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sure, try this:&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; font-size: 13.3333px;"&gt;&lt;STRONG&gt;vMindate = Date(Date#('3 Sep' &amp;amp; Year(&lt;SPAN style="color: #ff0000;"&gt;Only({Group2}&lt;/SPAN&gt;Date&lt;SPAN style="color: #ff0000;"&gt;)&lt;/SPAN&gt;), 'DD MMMyyyy'), 'D MMM')&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;vMindate = Date(Date#('3 Sep' &amp;amp; Year(&lt;SPAN style="color: #ff0000;"&gt;Max({Group2}&lt;/SPAN&gt;Date&lt;SPAN style="color: #ff0000;"&gt;)&lt;/SPAN&gt;), 'DD MMMyyyy'), 'D MMM')&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 21 Jul 2016 12:05:04 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2016-07-21T12:05:04Z</dc:date>
    <item>
      <title>Date Range</title>
      <link>https://community.qlik.com/t5/QlikView/Date-Range/m-p/1115179#M463255</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i had created two variables in variable overview &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vMaxdate =Date(Date#('3 Jan' &amp;amp; Year(Date), 'DD MMMyyyy'), 'D MMM') &lt;/P&gt;&lt;P&gt;vMindate = =Date(Max({Group2}Date),'D MMM')&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;expression :i tried two exp&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;=sum({&amp;lt;Date={"&amp;gt;=$(vMindate)&amp;lt;=$(vMaxdate)"},bid={1},set&amp;nbsp; = {P}, Type={1}&amp;gt;} value)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;or&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5em; font-size: 13.3333px;"&gt;=sum({Group2&amp;lt;Date={"&amp;gt;=$(vMindate)&amp;lt;=$(vMaxdate)"},bid={1},set&amp;nbsp; = {P}, Type={1}&amp;gt;} value)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;if i select &lt;/SPAN&gt;&lt;STRONG style="font-size: 10pt;"&gt;16 Jan&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt; from Date field from &lt;/SPAN&gt;calendar&lt;SPAN style="font-size: 10pt;"&gt; object whose Alternative State is Group2&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;then i can clear can see the below thing is happen &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;sum({&amp;lt;Date={"&amp;gt;=3 Jan&amp;lt;=16 Jan"},&lt;SPAN style="font-size: 13.3333px;"&gt;bid={1},set&amp;nbsp; = {P}, Type={1}&amp;gt;} value)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;which means my variables are carrying correct date values .&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;but unfortunately i am getting ZERO as output ,which shouldn't be ...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;so my concert is this a data flow problem ?. I mean is my Date in text format if so how can i make it in to numeric&amp;nbsp; &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;suppose data values are like&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Date&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;1 Jan&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;2 Jan&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;10 Jan&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;11 Jan&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;20 Jan&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&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;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;plz any help/.......&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;naveen&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jul 2016 10:44:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-Range/m-p/1115179#M463255</guid>
      <dc:creator>kunkumnaveen</dc:creator>
      <dc:date>2016-07-21T10:44:47Z</dc:date>
    </item>
    <item>
      <title>Re: Date Range</title>
      <link>https://community.qlik.com/t5/QlikView/Date-Range/m-p/1115180#M463256</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You are right, your date could be text. Why don't you do this kind of transformation in the script for Date field as well?&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;STRONG&gt;Date(Date#('3 Jan' &amp;amp; Year(&lt;SPAN style="color: #ff0000;"&gt;Today()&lt;/SPAN&gt;), 'DD MMMyyyy'), 'D MMM')&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or just this:&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Date(Date#('3 Jan', 'D MMM'), 'D MMM')&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jul 2016 10:49:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-Range/m-p/1115180#M463256</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-07-21T10:49:01Z</dc:date>
    </item>
    <item>
      <title>Re: Date Range</title>
      <link>https://community.qlik.com/t5/QlikView/Date-Range/m-p/1115181#M463257</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 about 14 tabs and i have not clue from where the Date filed is coming ,but i am sure there are multiple Date fields in&amp;nbsp; script because i can see a key type of icon over Date field ,so what i mean, is there any alternative way to convert Date field in to numeric at frond end &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jul 2016 10:54:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-Range/m-p/1115181#M463257</guid>
      <dc:creator>kunkumnaveen</dc:creator>
      <dc:date>2016-07-21T10:54:08Z</dc:date>
    </item>
    <item>
      <title>Re: Date Range</title>
      <link>https://community.qlik.com/t5/QlikView/Date-Range/m-p/1115182#M463258</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;AFAIK, you are not able to convert from text to numeric on the frontend. You can try giving a shot within the document properties -&amp;gt; Number Tab, but I doubt it will work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jul 2016 10:56:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-Range/m-p/1115182#M463258</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-07-21T10:56:38Z</dc:date>
    </item>
    <item>
      <title>Re: Date Range</title>
      <link>https://community.qlik.com/t5/QlikView/Date-Range/m-p/1115183#M463259</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i think i found something .can u plz tell me how can i write a &lt;STRONG&gt;vMindate &lt;/STRONG&gt;exp with group in it same as vMaxdate &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;vMindate=Date(Date#('3 Sep' &amp;amp; Year(Date), 'DD MMMyyyy'), 'D MMM')(where to fit group in this exp)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5em; color: #3d3d3d; font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;vMaxdate=Date(Max({&lt;STRONG&gt;Group2}&lt;/STRONG&gt;Date),'D MMM')&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jul 2016 11:53:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-Range/m-p/1115183#M463259</guid>
      <dc:creator>kunkumnaveen</dc:creator>
      <dc:date>2016-07-21T11:53:48Z</dc:date>
    </item>
    <item>
      <title>Re: Date Range</title>
      <link>https://community.qlik.com/t5/QlikView/Date-Range/m-p/1115184#M463260</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sure, try this:&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; font-size: 13.3333px;"&gt;&lt;STRONG&gt;vMindate = Date(Date#('3 Sep' &amp;amp; Year(&lt;SPAN style="color: #ff0000;"&gt;Only({Group2}&lt;/SPAN&gt;Date&lt;SPAN style="color: #ff0000;"&gt;)&lt;/SPAN&gt;), 'DD MMMyyyy'), 'D MMM')&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;vMindate = Date(Date#('3 Sep' &amp;amp; Year(&lt;SPAN style="color: #ff0000;"&gt;Max({Group2}&lt;/SPAN&gt;Date&lt;SPAN style="color: #ff0000;"&gt;)&lt;/SPAN&gt;), 'DD MMMyyyy'), 'D MMM')&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jul 2016 12:05:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-Range/m-p/1115184#M463260</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-07-21T12:05:04Z</dc:date>
    </item>
  </channel>
</rss>

