<?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: no result in expression in set analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/no-result-in-expression-in-set-analysis/m-p/1292309#M403873</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Awesome!! Please close this thread by marking the correct response if you got what you were looking for.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-14806"&gt;Qlik Community Tip: Marking Replies as Correct or Helpful&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 23 Nov 2016 10:30:26 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2016-11-23T10:30:26Z</dc:date>
    <item>
      <title>no result in expression in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/no-result-in-expression-in-set-analysis/m-p/1292306#M403870</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In my app I want to show 4 charts.&lt;/P&gt;&lt;P&gt;First displays results of a year chosen in a listbox&lt;/P&gt;&lt;P&gt;Second shows year + 1&lt;/P&gt;&lt;P&gt;third shows year +2&lt;/P&gt;&lt;P&gt;For the second ,third and fourth chart I use a variable that is a result of the chosen year (=getfieldselections(tbl.year)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;expression in the other charts&amp;nbsp; :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;=(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;((&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;aggr&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;max&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({&amp;lt;&lt;BR /&gt;tbl.year&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;$(=var_year+1)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;}&lt;BR /&gt; &amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;sales&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;),&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;%employee&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;))&lt;BR /&gt; &amp;gt;1000,&lt;BR /&gt; 1, 0 ) ) )&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;$(=var_year+1&lt;/EM&gt;&lt;/STRONG&gt;) can be +2 or +3&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;I don't get any results. even when I make a new variable with the expression getfieldselections(tbl.year)+1 I don't get results, allthough that variable shows the correct result in a textbox.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;when I use the calculated variable in other set analysis expressions I get correct results, so I assume it has something to do with the aggr(max part in my expression.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Can I use calculated variables with the aggr function or is there another way to make my charts kind of dynamic ? &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Nov 2016 14:47:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/no-result-in-expression-in-set-analysis/m-p/1292306#M403870</guid>
      <dc:creator>curiousfellow</dc:creator>
      <dc:date>2016-11-22T14:47:46Z</dc:date>
    </item>
    <item>
      <title>Re: no result in expression in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/no-result-in-expression-in-set-analysis/m-p/1292307#M403871</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be you need to add the set analysis to out aggregation also&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=(Sum(&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;SPAN style="color: #ff0000;"&gt;{&amp;lt;tbl.year={$(=var_year+1)}&amp;gt;}&lt;/SPAN&gt; &lt;/SPAN&gt;If((Aggr(Max({&amp;lt;tbl.year={$(=var_year+1)}&amp;gt;} sales),%employee))&amp;gt;1000, 1, 0)))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Nov 2016 15:33:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/no-result-in-expression-in-set-analysis/m-p/1292307#M403871</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-11-22T15:33:40Z</dc:date>
    </item>
    <item>
      <title>Re: no result in expression in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/no-result-in-expression-in-set-analysis/m-p/1292308#M403872</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you, seems to work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Nov 2016 07:47:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/no-result-in-expression-in-set-analysis/m-p/1292308#M403872</guid>
      <dc:creator>curiousfellow</dc:creator>
      <dc:date>2016-11-23T07:47:12Z</dc:date>
    </item>
    <item>
      <title>Re: no result in expression in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/no-result-in-expression-in-set-analysis/m-p/1292309#M403873</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Awesome!! Please close this thread by marking the correct response if you got what you were looking for.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-14806"&gt;Qlik Community Tip: Marking Replies as Correct or Helpful&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Nov 2016 10:30:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/no-result-in-expression-in-set-analysis/m-p/1292309#M403873</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-11-23T10:30:26Z</dc:date>
    </item>
  </channel>
</rss>

