<?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 Why Set Analysis with variable Increas result instead Decreas. in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Why-Set-Analysis-with-variable-Increas-result-instead-Decreas/m-p/1046647#M351810</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi to all&amp;nbsp; , i have a text box tht calculate something like this :&amp;nbsp; &lt;SPAN style="color: #008000;"&gt; sum (&amp;nbsp;&amp;nbsp;&amp;nbsp; {$&amp;lt;Subject={1},[status]={3}&amp;gt;}&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;amount&lt;/STRONG&gt; )&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;and i have a variable like this : &lt;STRONG&gt;vY&lt;/STRONG&gt; = &lt;SPAN style="color: #008000;"&gt;if (&amp;nbsp; type38=1 or type39=1 , amount , 0&amp;nbsp; )&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;when i replace&amp;nbsp; &lt;STRONG style="color: #008000; font-size: 13.3333px;"&gt;amount&lt;/STRONG&gt;&lt;SPAN style="color: #008000; font-size: 13.3333px;"&gt;&amp;nbsp; &lt;/SPAN&gt; with&amp;nbsp; $(&lt;STRONG&gt;vY&lt;/STRONG&gt;)&amp;nbsp;&amp;nbsp; i expect to see that the result will Decreas Significantly BUT instead i see Increas ,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;what could be the problem ??&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;i exported the data to another model - and its work OK !?&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008000;"&gt;&lt;SPAN style="color: #000000;"&gt;thanks&lt;/SPAN&gt; .&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 17 Apr 2016 08:59:47 GMT</pubDate>
    <dc:creator>yanivvl0</dc:creator>
    <dc:date>2016-04-17T08:59:47Z</dc:date>
    <item>
      <title>Why Set Analysis with variable Increas result instead Decreas.</title>
      <link>https://community.qlik.com/t5/QlikView/Why-Set-Analysis-with-variable-Increas-result-instead-Decreas/m-p/1046647#M351810</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi to all&amp;nbsp; , i have a text box tht calculate something like this :&amp;nbsp; &lt;SPAN style="color: #008000;"&gt; sum (&amp;nbsp;&amp;nbsp;&amp;nbsp; {$&amp;lt;Subject={1},[status]={3}&amp;gt;}&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;amount&lt;/STRONG&gt; )&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;and i have a variable like this : &lt;STRONG&gt;vY&lt;/STRONG&gt; = &lt;SPAN style="color: #008000;"&gt;if (&amp;nbsp; type38=1 or type39=1 , amount , 0&amp;nbsp; )&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;when i replace&amp;nbsp; &lt;STRONG style="color: #008000; font-size: 13.3333px;"&gt;amount&lt;/STRONG&gt;&lt;SPAN style="color: #008000; font-size: 13.3333px;"&gt;&amp;nbsp; &lt;/SPAN&gt; with&amp;nbsp; $(&lt;STRONG&gt;vY&lt;/STRONG&gt;)&amp;nbsp;&amp;nbsp; i expect to see that the result will Decreas Significantly BUT instead i see Increas ,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;what could be the problem ??&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;i exported the data to another model - and its work OK !?&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008000;"&gt;&lt;SPAN style="color: #000000;"&gt;thanks&lt;/SPAN&gt; .&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 17 Apr 2016 08:59:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Why-Set-Analysis-with-variable-Increas-result-instead-Decreas/m-p/1046647#M351810</guid>
      <dc:creator>yanivvl0</dc:creator>
      <dc:date>2016-04-17T08:59:47Z</dc:date>
    </item>
    <item>
      <title>Re: Why Set Analysis with variable Increas result instead Decreas.</title>
      <link>https://community.qlik.com/t5/QlikView/Why-Set-Analysis-with-variable-Increas-result-instead-Decreas/m-p/1046648#M351811</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is hard to tell with out looking at your datamodel. Can you post a sample app.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 17 Apr 2016 09:46:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Why-Set-Analysis-with-variable-Increas-result-instead-Decreas/m-p/1046648#M351811</guid>
      <dc:creator>phaneendra_kunc</dc:creator>
      <dc:date>2016-04-17T09:46:13Z</dc:date>
    </item>
    <item>
      <title>Re: Why Set Analysis with variable Increas result instead Decreas.</title>
      <link>https://community.qlik.com/t5/QlikView/Why-Set-Analysis-with-variable-Increas-result-instead-Decreas/m-p/1046649#M351812</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi &lt;STRONG style="font-size: 11.7px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;A href="https://community.qlik.com/people/phaneendra.kunche"&gt;phaneendra.kunche&lt;/A&gt;&amp;nbsp; ,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 11.7px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;it is a complicate model and sensitive data , so its a bit difficult to&amp;nbsp; show it .&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 11.7px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Anyway, I gave up ... - I solved the problem in the script . &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 11.7px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - thanks! &lt;/STRONG&gt;&lt;SPAN class="short_text" lang="en" style="font-size: 24px; color: #222222; padding: 8px; background-color: #f5f5f5;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Apr 2016 06:17:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Why-Set-Analysis-with-variable-Increas-result-instead-Decreas/m-p/1046649#M351812</guid>
      <dc:creator>yanivvl0</dc:creator>
      <dc:date>2016-04-18T06:17:38Z</dc:date>
    </item>
    <item>
      <title>Re: Why Set Analysis with variable Increas result instead Decreas.</title>
      <link>https://community.qlik.com/t5/QlikView/Why-Set-Analysis-with-variable-Increas-result-instead-Decreas/m-p/1046650#M351813</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;may be repetition of data? cross joining ? etc&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Apr 2016 06:23:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Why-Set-Analysis-with-variable-Increas-result-instead-Decreas/m-p/1046650#M351813</guid>
      <dc:creator>sujeetsingh</dc:creator>
      <dc:date>2016-04-18T06:23:41Z</dc:date>
    </item>
    <item>
      <title>Re: Why Set Analysis with variable Increas result instead Decreas.</title>
      <link>https://community.qlik.com/t5/QlikView/Why-Set-Analysis-with-variable-Increas-result-instead-Decreas/m-p/1046651#M351814</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Yaniv&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;If the data works on another model, you are probably changing the '&lt;/SPAN&gt;&lt;EM style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;STRONG&gt;vY&lt;/STRONG&gt;&lt;/EM&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;' variable somewhere else in your script&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Maybe put a trace on that variable to see if it has the expected value after the load.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Apr 2016 06:31:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Why-Set-Analysis-with-variable-Increas-result-instead-Decreas/m-p/1046651#M351814</guid>
      <dc:creator />
      <dc:date>2016-04-18T06:31:38Z</dc:date>
    </item>
    <item>
      <title>Re: Why Set Analysis with variable Increas result instead Decreas.</title>
      <link>https://community.qlik.com/t5/QlikView/Why-Set-Analysis-with-variable-Increas-result-instead-Decreas/m-p/1046652#M351815</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the expression of vY, remove the preceding '=' &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Apr 2016 09:10:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Why-Set-Analysis-with-variable-Increas-result-instead-Decreas/m-p/1046652#M351815</guid>
      <dc:creator>luciancotea</dc:creator>
      <dc:date>2016-04-18T09:10:34Z</dc:date>
    </item>
    <item>
      <title>Re: Why Set Analysis with variable Increas result instead Decreas.</title>
      <link>https://community.qlik.com/t5/QlikView/Why-Set-Analysis-with-variable-Increas-result-instead-Decreas/m-p/1046653#M351816</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;[Assuming your variable expands to&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;sum (&amp;nbsp;&amp;nbsp;&amp;nbsp; {$&amp;lt;Subject={1},[status]={3}&amp;gt;}&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #008000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;if (&amp;nbsp; type38=1 or type39=1 , amount , 0&amp;nbsp; )&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #008000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008000; 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: #008000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;it's often a good idea to simplify the expression first, e.g. test with a hard coded expression to eliminate an issue with variable dollar sign expansion&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is the relation of fields type38,type39 and amount? Do these fields reside in the same table or in different tables?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If they reside in different tables, QV may need to do a temporary join of tables to make the record-level comparison possible, this may duplicate your amounts in comparison to the first version.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Apr 2016 09:25:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Why-Set-Analysis-with-variable-Increas-result-instead-Decreas/m-p/1046653#M351816</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-04-18T09:25:52Z</dc:date>
    </item>
  </channel>
</rss>

