<?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: QlikView 12 Alternate states + variables + aggregation function in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/QlikView-12-Alternate-states-variables-aggregation-function/m-p/1394837#M423578</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gysbert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the fast reply. Can you also give me an explanation why we should use $(=$(variable)) in the 12.1 version instead of $(=variable) in the 11.2?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Timmy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 29 Nov 2017 13:40:15 GMT</pubDate>
    <dc:creator>timmy</dc:creator>
    <dc:date>2017-11-29T13:40:15Z</dc:date>
    <item>
      <title>QlikView 12 Alternate states + variables + aggregation function</title>
      <link>https://community.qlik.com/t5/QlikView/QlikView-12-Alternate-states-variables-aggregation-function/m-p/1394835#M423576</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;&lt;/P&gt;&lt;P&gt;Note: If is speak about an application, I speak about an QV application&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a small issue with an application when I open this application in 12.1.&lt;/P&gt;&lt;P&gt;I made an example application to explain my issue in more detail (see attachment).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First a few facts that are important to know:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;In the application I have a variable that contains a simple if + match function.&lt;/LI&gt;&lt;LI&gt;I also have an aggregation function that uses the outcome of the variable as an aggregation level (for a dynamic use of this aggregation function)&lt;/LI&gt;&lt;LI&gt;I also use this function in different/alternate states.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My issue is as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I use the application in the 12.1 version, I need to make a small change in my variable. I need to delete the '=' sign because an old bug in the 11.2 version is now fixed in the 12.1 version. Deleting the '=' sign will give me the possibility to use the variable in different states now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The issue start popping up when I use my aggregation function with the variable as dynamic aggregation level.&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;When I use this expression/calculation in a textbox (with changing the alternate states as needed), the formula works.&lt;/LI&gt;&lt;LI&gt;When I use the calculation in a chart expression, is doesn't work anymore.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I go back to the 11.2 QV version and add the '=' sign again, it suddenly works again &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My question:&lt;/P&gt;&lt;P&gt;Is this normal behavior or a bug in the 12.1 version?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Timmy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Nov 2017 12:51:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QlikView-12-Alternate-states-variables-aggregation-function/m-p/1394835#M423576</guid>
      <dc:creator>timmy</dc:creator>
      <dc:date>2017-11-29T12:51:03Z</dc:date>
    </item>
    <item>
      <title>Re: QlikView 12 Alternate states + variables + aggregation function</title>
      <link>https://community.qlik.com/t5/QlikView/QlikView-12-Alternate-states-variables-aggregation-function/m-p/1394836#M423577</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this expression in your chart: =Aggr(nodistinct Sum(Expression1),$(=$(vAggrLevel)))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then get rid of that expression and use this one instead: Sum(total &amp;lt;$(=$(vAggrLevel))&amp;gt; Expression1)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Nov 2017 13:05:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QlikView-12-Alternate-states-variables-aggregation-function/m-p/1394836#M423577</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2017-11-29T13:05:36Z</dc:date>
    </item>
    <item>
      <title>Re: QlikView 12 Alternate states + variables + aggregation function</title>
      <link>https://community.qlik.com/t5/QlikView/QlikView-12-Alternate-states-variables-aggregation-function/m-p/1394837#M423578</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gysbert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the fast reply. Can you also give me an explanation why we should use $(=$(variable)) in the 12.1 version instead of $(=variable) in the 11.2?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Timmy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Nov 2017 13:40:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QlikView-12-Alternate-states-variables-aggregation-function/m-p/1394837#M423578</guid>
      <dc:creator>timmy</dc:creator>
      <dc:date>2017-11-29T13:40:15Z</dc:date>
    </item>
  </channel>
</rss>

