<?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: Using Variable for complete Set Analysis without error in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Using-Variable-for-complete-Set-Analysis-without-error/m-p/1008295#M342337</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The syntax checker does not expand variables and check the resulting code, so it might and will e.g. use the red squiggles to denote a problem where in fact there isn't one. I don't know a way to get around this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please read also&lt;/P&gt;&lt;P&gt;&lt;A href="http://qlikviewcookbook.com/2015/05/sr11-error-handling-changes/" title="http://qlikviewcookbook.com/2015/05/sr11-error-handling-changes/"&gt;SR11 Error Handling Changes | Qlikview Cookbook&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 23 Sep 2015 09:32:50 GMT</pubDate>
    <dc:creator>swuehl</dc:creator>
    <dc:date>2015-09-23T09:32:50Z</dc:date>
    <item>
      <title>Using Variable for complete Set Analysis without error</title>
      <link>https://community.qlik.com/t5/QlikView/Using-Variable-for-complete-Set-Analysis-without-error/m-p/1008293#M342335</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;currently I am working on a problem which a lot of people might have:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My application includes a lot of different filters for the time-dimension (Year,Quarter,Month, Week, Day, Weekday, ...).&lt;/P&gt;&lt;P&gt;For a year-to-date - analysis I am doing sth. like:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Sum({&amp;lt;Date={'&amp;gt;=$(vMaxDateYearBeginning)&amp;lt;=$(vMaxDate)'}&amp;gt;} Income)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My problem now is:&lt;/P&gt;&lt;P&gt;If users select a year (e.g. 2015), the year-to-date kpi for maxYear-1 is null because in my set analysis I have to add all the time-filters as follows:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Year=,Quarter=, ...&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As these filters might get more in future, I want to create a variable called vSetAnalysisYTD, vSetAnalysisYTDLastYear,... in order to change the variable later and not every formula.&lt;/P&gt;&lt;P&gt;But when I use these variables in a formula, an issue is recognized by Qlikview because it looks like:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Sum({&amp;lt;$(vSetAnalysisYTD)&amp;gt;} Income)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there an easy way to tell Qlikview that this is a possible way (as this formula works)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for any idea!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Sep 2015 08:58:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-Variable-for-complete-Set-Analysis-without-error/m-p/1008293#M342335</guid>
      <dc:creator>richters</dc:creator>
      <dc:date>2015-09-23T08:58:07Z</dc:date>
    </item>
    <item>
      <title>Re: Using Variable for complete Set Analysis without error</title>
      <link>https://community.qlik.com/t5/QlikView/Using-Variable-for-complete-Set-Analysis-without-error/m-p/1008294#M342336</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm afraid I don't understand the problem. Can you post a small qlikview document that demonstrates the problem?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Sep 2015 09:28:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-Variable-for-complete-Set-Analysis-without-error/m-p/1008294#M342336</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2015-09-23T09:28:11Z</dc:date>
    </item>
    <item>
      <title>Re: Using Variable for complete Set Analysis without error</title>
      <link>https://community.qlik.com/t5/QlikView/Using-Variable-for-complete-Set-Analysis-without-error/m-p/1008295#M342337</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The syntax checker does not expand variables and check the resulting code, so it might and will e.g. use the red squiggles to denote a problem where in fact there isn't one. I don't know a way to get around this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please read also&lt;/P&gt;&lt;P&gt;&lt;A href="http://qlikviewcookbook.com/2015/05/sr11-error-handling-changes/" title="http://qlikviewcookbook.com/2015/05/sr11-error-handling-changes/"&gt;SR11 Error Handling Changes | Qlikview Cookbook&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Sep 2015 09:32:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-Variable-for-complete-Set-Analysis-without-error/m-p/1008295#M342337</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-09-23T09:32:50Z</dc:date>
    </item>
    <item>
      <title>Re: Using Variable for complete Set Analysis without error</title>
      <link>https://community.qlik.com/t5/QlikView/Using-Variable-for-complete-Set-Analysis-without-error/m-p/1008296#M342338</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;here is a very simple application. The editor in the textbox shows a mistake where actually there is non. Is there any solution (create the variable on another way,...)?&lt;/P&gt;&lt;P&gt;Problem is that I am not really able to check complicated formulas if I write them like this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Sep 2015 09:55:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-Variable-for-complete-Set-Analysis-without-error/m-p/1008296#M342338</guid>
      <dc:creator>richters</dc:creator>
      <dc:date>2015-09-23T09:55:40Z</dc:date>
    </item>
    <item>
      <title>Re: Using Variable for complete Set Analysis without error</title>
      <link>https://community.qlik.com/t5/QlikView/Using-Variable-for-complete-Set-Analysis-without-error/m-p/1008297#M342339</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ah, that. Well, Stefan answered your question above. The syntax editor doesn't resolve the expansion of the variables. That's often not possible since the variables will only get 'real' values at run time.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Sep 2015 10:06:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-Variable-for-complete-Set-Analysis-without-error/m-p/1008297#M342339</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2015-09-23T10:06:50Z</dc:date>
    </item>
    <item>
      <title>Re: Using Variable for complete Set Analysis without error</title>
      <link>https://community.qlik.com/t5/QlikView/Using-Variable-for-complete-Set-Analysis-without-error/m-p/1008298#M342340</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No, the only problem is to check long formulas if they are really incorrect. Any solution for this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Sep 2015 10:10:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-Variable-for-complete-Set-Analysis-without-error/m-p/1008298#M342340</guid>
      <dc:creator>richters</dc:creator>
      <dc:date>2015-09-23T10:10:48Z</dc:date>
    </item>
    <item>
      <title>Re: Using Variable for complete Set Analysis without error</title>
      <link>https://community.qlik.com/t5/QlikView/Using-Variable-for-complete-Set-Analysis-without-error/m-p/1008299#M342341</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Test, test and test. First hardcode your set modifiers and test your set analysis expressions. Then use variables with hardcoded variables and test your expressions. Then test the expressions in your variables to make sure the variables with get the correct values. As said, the syntax checker cannot resolve dollar expension of the variables.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Sep 2015 10:23:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-Variable-for-complete-Set-Analysis-without-error/m-p/1008299#M342341</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2015-09-23T10:23:26Z</dc:date>
    </item>
    <item>
      <title>Re: Using Variable for complete Set Analysis without error</title>
      <link>https://community.qlik.com/t5/QlikView/Using-Variable-for-complete-Set-Analysis-without-error/m-p/1008300#M342342</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's what I expected and "feared". Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Sep 2015 10:48:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-Variable-for-complete-Set-Analysis-without-error/m-p/1008300#M342342</guid>
      <dc:creator>richters</dc:creator>
      <dc:date>2015-09-23T10:48:54Z</dc:date>
    </item>
  </channel>
</rss>

