<?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: Single date variable between two dates in set analysis question in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Single-date-variable-between-two-dates-in-set-analysis-question/m-p/902891#M657489</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Max, &lt;/P&gt;&lt;P&gt;The vDateVariable is generated from a calendar object.&amp;nbsp; When I look at the value created it is a numeric value.&lt;/P&gt;&lt;P&gt;ie. 42127 which = 5/3/2015&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All formats I have tried give me an error.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 14 Aug 2015 20:53:49 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-08-14T20:53:49Z</dc:date>
    <item>
      <title>Single date variable between two dates in set analysis question</title>
      <link>https://community.qlik.com/t5/QlikView/Single-date-variable-between-two-dates-in-set-analysis-question/m-p/902886#M657484</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;All the samples of date range in set analysis I find show a similar format of a single date record between two date variables selected like here.&lt;/P&gt;&lt;P&gt;Sum({&amp;lt; CalendarDate = {'&amp;gt;=$(=Date(vStartDate))&amp;lt;=$(=Date(vEndDate))'} &amp;gt;} SalesAmount)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have Start and End record dates and need to have a single date variable range. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;Sum({&amp;lt; vDateVariable = {' &amp;gt;= (RecordStart)&amp;nbsp; &amp;lt; (RecordEnd) '} SalesAmount)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All the ways I have tried with the RecordStart and RecordEnd dates not recognize the columns once in the set.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Jun 2015 07:14:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Single-date-variable-between-two-dates-in-set-analysis-question/m-p/902886#M657484</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-06-03T07:14:32Z</dc:date>
    </item>
    <item>
      <title>Re: Single date variable between two dates in set analysis question</title>
      <link>https://community.qlik.com/t5/QlikView/Single-date-variable-between-two-dates-in-set-analysis-question/m-p/902887#M657485</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Assuming that RecordStart and Record End date are field, then you should write&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;Sum({&amp;lt; &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;RecordStart&lt;/SPAN&gt; = {"&amp;lt;=$(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;vDateVariable&lt;/SPAN&gt;)"},&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt; &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;RecordEnd={"&amp;gt;$&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;(&lt;SPAN&gt;vDateVariable&lt;/SPAN&gt;)"}&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; line-height: 1.5em;"&gt;&amp;gt;} SalesAmount)&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; line-height: 1.5em;"&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; line-height: 1.5em;"&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; line-height: 1.5em;"&gt;Celambarasan&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Jun 2015 07:19:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Single-date-variable-between-two-dates-in-set-analysis-question/m-p/902887#M657485</guid>
      <dc:creator>CELAMBARASAN</dc:creator>
      <dc:date>2015-06-03T07:19:44Z</dc:date>
    </item>
    <item>
      <title>Re: Single date variable between two dates in set analysis question</title>
      <link>https://community.qlik.com/t5/QlikView/Single-date-variable-between-two-dates-in-set-analysis-question/m-p/902888#M657486</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Darrin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try to add a = before it &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Sum({&amp;lt; vDateVariable = {' &amp;gt;= (=RecordStart)&amp;nbsp; &amp;lt; (=RecordEnd) '} SalesAmount)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; 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: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;The better way is to use the variable for comparing, comparing the the fields my not yield a correct result&amp;nbsp; &lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Jun 2015 07:21:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Single-date-variable-between-two-dates-in-set-analysis-question/m-p/902888#M657486</guid>
      <dc:creator>avinashelite</dc:creator>
      <dc:date>2015-06-03T07:21:22Z</dc:date>
    </item>
    <item>
      <title>Re: Single date variable between two dates in set analysis question</title>
      <link>https://community.qlik.com/t5/QlikView/Single-date-variable-between-two-dates-in-set-analysis-question/m-p/902889#M657487</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;what is is your expression for vDateVariable ??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum({&amp;lt; vDateVariable = {"&amp;gt;= $(=RecordStart)&amp;nbsp; &amp;lt; $(=RecordEnd)"} SalesAmount)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Jun 2015 07:34:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Single-date-variable-between-two-dates-in-set-analysis-question/m-p/902889#M657487</guid>
      <dc:creator>PrashantSangle</dc:creator>
      <dc:date>2015-06-03T07:34:56Z</dc:date>
    </item>
    <item>
      <title>Re: Single date variable between two dates in set analysis question</title>
      <link>https://community.qlik.com/t5/QlikView/Single-date-variable-between-two-dates-in-set-analysis-question/m-p/902890#M657488</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have tried every variation and return either 0 or null.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;I have a calendar object which places the numeric value for a date into the variable&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;STRONG&gt;&lt;EM&gt;vActiveDt&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From there I have tried the following. Both iterations below with and without wrapping the variable in Date()&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum({&amp;lt; FeatureStartDt = {"&amp;lt;=Date($(vActiveDt))"}, FeatureEndDt={"&amp;gt;Date($(vActiveDt))"}&amp;gt;} LOSCnt)&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Sum({&amp;lt; FeatureStartDt = {"&amp;lt;=$(vActiveDt)"}, FeatureEndDt={"&amp;gt;$(vActiveDt)"}&amp;gt;} LOSCnt)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum({&amp;lt; Date(vActiveDt) = {"&amp;gt;= $(=FeatureStartDt)&amp;nbsp; &amp;lt; $(=FeatureEndDt)"} LOSCnt)&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Sum({&amp;lt; vActiveDt = {"&amp;gt;= $(=FeatureStartDt)&amp;nbsp; &amp;lt; $(=FeatureEndDt)"} LOSCnt)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Jun 2015 03:08:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Single-date-variable-between-two-dates-in-set-analysis-question/m-p/902890#M657488</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-06-25T03:08:45Z</dc:date>
    </item>
    <item>
      <title>Re: Single date variable between two dates in set analysis question</title>
      <link>https://community.qlik.com/t5/QlikView/Single-date-variable-between-two-dates-in-set-analysis-question/m-p/902891#M657489</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Max, &lt;/P&gt;&lt;P&gt;The vDateVariable is generated from a calendar object.&amp;nbsp; When I look at the value created it is a numeric value.&lt;/P&gt;&lt;P&gt;ie. 42127 which = 5/3/2015&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All formats I have tried give me an error.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Aug 2015 20:53:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Single-date-variable-between-two-dates-in-set-analysis-question/m-p/902891#M657489</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-08-14T20:53:49Z</dc:date>
    </item>
    <item>
      <title>Re: Single date variable between two dates in set analysis question</title>
      <link>https://community.qlik.com/t5/QlikView/Single-date-variable-between-two-dates-in-set-analysis-question/m-p/902892#M657490</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have attached a sample of what I am working with and trying to do.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Aug 2015 21:21:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Single-date-variable-between-two-dates-in-set-analysis-question/m-p/902892#M657490</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-08-14T21:21:58Z</dc:date>
    </item>
    <item>
      <title>Re: Single date variable between two dates in set analysis question</title>
      <link>https://community.qlik.com/t5/QlikView/Single-date-variable-between-two-dates-in-set-analysis-question/m-p/902893#M657491</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;=count( {$ &amp;lt;pStartDt={"&amp;lt;=$(=date(vActiveDt))"},pEndDt={"&amp;gt;=$(=date(vActiveDt))"}&amp;gt;} %LOSKey)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PFA&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 16 Aug 2015 14:21:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Single-date-variable-between-two-dates-in-set-analysis-question/m-p/902893#M657491</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2015-08-16T14:21:46Z</dc:date>
    </item>
    <item>
      <title>Re: Single date variable between two dates in set analysis question</title>
      <link>https://community.qlik.com/t5/QlikView/Single-date-variable-between-two-dates-in-set-analysis-question/m-p/902894#M657492</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Massimo,&lt;/P&gt;&lt;P&gt;Thank you very much.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Aug 2015 18:43:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Single-date-variable-between-two-dates-in-set-analysis-question/m-p/902894#M657492</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-08-27T18:43:16Z</dc:date>
    </item>
    <item>
      <title>Re: Single date variable between two dates in set analysis question</title>
      <link>https://community.qlik.com/t5/QlikView/Single-date-variable-between-two-dates-in-set-analysis-question/m-p/1696803#M657493</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Maxgro,&lt;/P&gt;&lt;P&gt;As it would be adding a variable.&lt;BR /&gt;Variavel brings value.&lt;/P&gt;&lt;P&gt;Variable: vExpressao1&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum({&amp;lt;DATA={'&amp;gt;$(=&lt;SPAN&gt;Date(&lt;/SPAN&gt;vFromDate&lt;SPAN&gt;)&lt;/SPAN&gt;)&amp;lt;$(=Date(vToDate))'}&amp;gt;}vExpressao1)&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 26 Apr 2020 12:49:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Single-date-variable-between-two-dates-in-set-analysis-question/m-p/1696803#M657493</guid>
      <dc:creator>EmmaMark</dc:creator>
      <dc:date>2020-04-26T12:49:06Z</dc:date>
    </item>
  </channel>
</rss>

