<?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: set analysis with variable in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/set-analysis-with-variable/m-p/533601#M199301</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;you add date() in the variables:&lt;/P&gt;&lt;P&gt;VStartDate1--&amp;gt;&amp;nbsp; =&lt;STRONG&gt;date&lt;/STRONG&gt;(AddYears(min(Date),-1))&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 19 Jan 2014 22:03:00 GMT</pubDate>
    <dc:creator>antoniotiman</dc:creator>
    <dc:date>2014-01-19T22:03:00Z</dc:date>
    <item>
      <title>set analysis with variable</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-with-variable/m-p/533596#M199296</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i have a problem with my expresion:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum({$&amp;lt;Year=,Month=,&amp;nbsp; Date={"&amp;gt;=$(VStartDate1)&amp;lt;$(VEndDate1)"}&amp;gt;}Complain)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;VStartDate1--&amp;gt;&amp;nbsp; =(AddYears(min(Date),-1))&lt;/P&gt;&lt;P&gt;VEndDate1--&amp;gt; =(AddYears(max(Date),-1))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;why its not working (giving the wrong number) &lt;/P&gt;&lt;P&gt;maybe i need to take off the '=' &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tnx&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 19 Jan 2014 11:53:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-with-variable/m-p/533596#M199296</guid>
      <dc:creator>adiarnon</dc:creator>
      <dc:date>2014-01-19T11:53:55Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis with variable</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-with-variable/m-p/533597#M199297</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What do you mean with 'wrong number', could you post a small sample application and your requested results?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In general, I would start with checking if the dollar sign expanded variables are expanded correct and in the required format (format of field Date). Paste your expression in a straight table (no dimension required), then hover over the expression label, you should see the expression with variables expanded.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 19 Jan 2014 12:06:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-with-variable/m-p/533597#M199297</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2014-01-19T12:06:28Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis with variable</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-with-variable/m-p/533598#M199298</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;if&amp;nbsp; in the variable i put &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px;"&gt;VStartDate1&lt;/SPAN&gt;--&amp;gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px;"&gt;(AddYears(min(Date),-1))&lt;/SPAN&gt; without = before&lt;/P&gt;&lt;P&gt;and im adding a text box with =$(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px;"&gt;VStartDate1&lt;/SPAN&gt;) i get 01/01/2014&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and if in the variable i put &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px;"&gt;VStartDate1&lt;/SPAN&gt;--&amp;gt;=&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px;"&gt;(AddYears(min(Date),-1))&lt;/SPAN&gt; with&amp;nbsp; = before&lt;/P&gt;&lt;P&gt;and im adding a text box with =$(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px;"&gt;VStartDate1&lt;/SPAN&gt;) i get 0.088.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;witch i should choose and how can i put in the setanalysis?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 19 Jan 2014 12:19:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-with-variable/m-p/533598#M199298</guid>
      <dc:creator>adiarnon</dc:creator>
      <dc:date>2014-01-19T12:19:02Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis with variable</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-with-variable/m-p/533599#M199299</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try an equal sign before your variable definition, then enclose the variable expansion in single quotes:&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;"&gt;Sum({$&amp;lt;Year=,Month=,&amp;nbsp; Date={"&amp;gt;='$(VStartDate1)'&amp;lt;'$(VEndDate1)'"}&amp;gt;}Complain)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&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;"&gt;or instead, use the num() function in your variable definitions (also with equal sign before the expression):&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&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;"&gt;=num&lt;SPAN style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;(AddYears(min(Date),-1))&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 19 Jan 2014 12:22:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-with-variable/m-p/533599#M199299</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2014-01-19T12:22:38Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis with variable</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-with-variable/m-p/533600#M199300</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;its not working....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 19 Jan 2014 12:40:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-with-variable/m-p/533600#M199300</guid>
      <dc:creator>adiarnon</dc:creator>
      <dc:date>2014-01-19T12:40:19Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis with variable</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-with-variable/m-p/533601#M199301</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;you add date() in the variables:&lt;/P&gt;&lt;P&gt;VStartDate1--&amp;gt;&amp;nbsp; =&lt;STRONG&gt;date&lt;/STRONG&gt;(AddYears(min(Date),-1))&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 19 Jan 2014 22:03:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-with-variable/m-p/533601#M199301</guid>
      <dc:creator>antoniotiman</dc:creator>
      <dc:date>2014-01-19T22:03:00Z</dc:date>
    </item>
    <item>
      <title>Re: Re: set analysis with variable</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-with-variable/m-p/533602#M199302</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;this is th file,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;STRONG&gt;sheet 7&lt;/STRONG&gt; with text box of the variables and the set analysis problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tnx&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Jan 2014 08:56:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-with-variable/m-p/533602#M199302</guid>
      <dc:creator>adiarnon</dc:creator>
      <dc:date>2014-01-20T08:56:51Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis with variable</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-with-variable/m-p/533603#M199303</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I connot open the document. Denied access.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Jan 2014 10:02:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-with-variable/m-p/533603#M199303</guid>
      <dc:creator>antoniotiman</dc:creator>
      <dc:date>2014-01-20T10:02:50Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis with variable</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-with-variable/m-p/533604#M199304</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You try to replace $ with 1&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Jan 2014 10:24:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-with-variable/m-p/533604#M199304</guid>
      <dc:creator>antoniotiman</dc:creator>
      <dc:date>2014-01-20T10:24:06Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis with variable</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-with-variable/m-p/533605#M199305</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can i do somthing to change it?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Jan 2014 10:25:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-with-variable/m-p/533605#M199305</guid>
      <dc:creator>adiarnon</dc:creator>
      <dc:date>2014-01-20T10:25:50Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis with variable</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-with-variable/m-p/533606#M199306</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sum({&lt;STRONG&gt;1&amp;lt;.....,Date={.....&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Jan 2014 10:31:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-with-variable/m-p/533606#M199306</guid>
      <dc:creator>antoniotiman</dc:creator>
      <dc:date>2014-01-20T10:31:41Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis with variable</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-with-variable/m-p/533607#M199307</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;not working....&lt;/P&gt;&lt;P&gt;i think i try every possible syntax&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Jan 2014 10:33:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-with-variable/m-p/533607#M199307</guid>
      <dc:creator>adiarnon</dc:creator>
      <dc:date>2014-01-20T10:33:35Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis with variable</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-with-variable/m-p/533608#M199308</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;Make sure that your Date field and the calculated variable format is same...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH,&lt;/P&gt;&lt;P&gt;Sushil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Jan 2014 10:45:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-with-variable/m-p/533608#M199308</guid>
      <dc:creator>sushil353</dc:creator>
      <dc:date>2014-01-20T10:45:31Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis with variable</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-with-variable/m-p/533609#M199309</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;my&lt;/P&gt;&lt;P&gt;sum({1&amp;lt;Pdv=P(Pdv),NData={"&amp;lt;=$(maxdata)&amp;gt;=$(mindata)"}&amp;gt;} sales)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Jan 2014 10:52:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-with-variable/m-p/533609#M199309</guid>
      <dc:creator>antoniotiman</dc:creator>
      <dc:date>2014-01-20T10:52:41Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis with variable</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-with-variable/m-p/533610#M199310</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i added a field of num(Date) and i entered it in the set analysis and it worked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tnx evryone!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Jan 2014 11:42:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-with-variable/m-p/533610#M199310</guid>
      <dc:creator>adiarnon</dc:creator>
      <dc:date>2014-01-20T11:42:11Z</dc:date>
    </item>
  </channel>
</rss>

