<?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: Before Selection and After Selection value Changes in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Before-Selection-and-After-Selection-value-Changes/m-p/768106#M272786</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Its hard to say without seeing your model. My suggestion is to look carefully at how your data has been constructed in the script. This may lead to unexpected results when you make selections (depending on the field you're selecting).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 23 Mar 2015 09:04:47 GMT</pubDate>
    <dc:creator>richard_chilvers</dc:creator>
    <dc:date>2015-03-23T09:04:47Z</dc:date>
    <item>
      <title>Before Selection and After Selection value Changes</title>
      <link>https://community.qlik.com/t5/QlikView/Before-Selection-and-After-Selection-value-Changes/m-p/768103#M272783</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;i have a prob, when calculating summations the values changes reason why i don't know, as i request help:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;before selection:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid rgb(0, 0, 0); width: 100%;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Teachers&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Students&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Visit&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Teacher A&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Student A&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Teacher A&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Student B&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;after selection&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Output:&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid rgb(0, 0, 0); width: 100%;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Teachers&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Students&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Visit&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Teacher A&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Student A&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Teacher A&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Student B&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can i resolve this on Student A?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Mar 2015 08:53:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Before-Selection-and-After-Selection-value-Changes/m-p/768103#M272783</guid>
      <dc:creator />
      <dc:date>2015-03-23T08:53:26Z</dc:date>
    </item>
    <item>
      <title>Re: Before Selection and After Selection value Changes</title>
      <link>https://community.qlik.com/t5/QlikView/Before-Selection-and-After-Selection-value-Changes/m-p/768104#M272784</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Without knowing your app, it would be wild guess. Try to share your sample app.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Mar 2015 08:56:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Before-Selection-and-After-Selection-value-Changes/m-p/768104#M272784</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2015-03-23T08:56:35Z</dc:date>
    </item>
    <item>
      <title>Re: Before Selection and After Selection value Changes</title>
      <link>https://community.qlik.com/t5/QlikView/Before-Selection-and-After-Selection-value-Changes/m-p/768105#M272785</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;Say you are calculating some expression Sum(Value)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then try like this = sum({&amp;lt;Teachers=, students=&amp;gt;}Value)&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, 23 Mar 2015 09:01:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Before-Selection-and-After-Selection-value-Changes/m-p/768105#M272785</guid>
      <dc:creator>sushil353</dc:creator>
      <dc:date>2015-03-23T09:01:50Z</dc:date>
    </item>
    <item>
      <title>Re: Before Selection and After Selection value Changes</title>
      <link>https://community.qlik.com/t5/QlikView/Before-Selection-and-After-Selection-value-Changes/m-p/768106#M272786</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Its hard to say without seeing your model. My suggestion is to look carefully at how your data has been constructed in the script. This may lead to unexpected results when you make selections (depending on the field you're selecting).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Mar 2015 09:04:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Before-Selection-and-After-Selection-value-Changes/m-p/768106#M272786</guid>
      <dc:creator>richard_chilvers</dc:creator>
      <dc:date>2015-03-23T09:04:47Z</dc:date>
    </item>
    <item>
      <title>Re: Before Selection and After Selection value Changes</title>
      <link>https://community.qlik.com/t5/QlikView/Before-Selection-and-After-Selection-value-Changes/m-p/768107#M272787</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you can use 2 solution &lt;/P&gt;&lt;P&gt;refer to super set if you dont at all want any selection to change this chart numbers&amp;nbsp; &lt;/P&gt;&lt;P&gt;you can add set analysis to your aggregate function &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=count( {1} visitid)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and if you want just want particular field selection should not change the chart numbers then &lt;/P&gt;&lt;P&gt;you can use as follows &lt;/P&gt;&lt;P&gt;=count( {&amp;lt;Field1=,Field2=&amp;gt;} visitid)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Mar 2015 10:11:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Before-Selection-and-After-Selection-value-Changes/m-p/768107#M272787</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-03-23T10:11:36Z</dc:date>
    </item>
    <item>
      <title>Re: Before Selection and After Selection value Changes</title>
      <link>https://community.qlik.com/t5/QlikView/Before-Selection-and-After-Selection-value-Changes/m-p/768108#M272788</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bhagirath,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is my code it dosen't seem to work:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=sum(aggr(count(DISTINCT SalesDate),CustomerCode))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Mar 2015 10:15:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Before-Selection-and-After-Selection-value-Changes/m-p/768108#M272788</guid>
      <dc:creator />
      <dc:date>2015-03-23T10:15:51Z</dc:date>
    </item>
    <item>
      <title>Re: Before Selection and After Selection value Changes</title>
      <link>https://community.qlik.com/t5/QlikView/Before-Selection-and-After-Selection-value-Changes/m-p/768109#M272789</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;=sum(aggr(count({1}DISTINCT SalesDate),CustomerCode))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can refer to the community link below for more details on Aggr functuion &lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/thread/38796"&gt;Aggr() function&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;regards,&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;Bhagirath&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Mar 2015 11:39:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Before-Selection-and-After-Selection-value-Changes/m-p/768109#M272789</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-03-23T11:39:01Z</dc:date>
    </item>
    <item>
      <title>Re: Before Selection and After Selection value Changes</title>
      <link>https://community.qlik.com/t5/QlikView/Before-Selection-and-After-Selection-value-Changes/m-p/768110#M272790</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What exactly do you mean by 'before selection' and 'after selection? What are you selecting?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Andy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Mar 2015 11:51:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Before-Selection-and-After-Selection-value-Changes/m-p/768110#M272790</guid>
      <dc:creator>awhitfield</dc:creator>
      <dc:date>2015-03-23T11:51:26Z</dc:date>
    </item>
    <item>
      <title>Re: Before Selection and After Selection value Changes</title>
      <link>https://community.qlik.com/t5/QlikView/Before-Selection-and-After-Selection-value-Changes/m-p/768111#M272791</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Andrew,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when trying to select on a Teacher.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the value on my Visits Changes as shown.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Mar 2015 11:54:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Before-Selection-and-After-Selection-value-Changes/m-p/768111#M272791</guid>
      <dc:creator />
      <dc:date>2015-03-23T11:54:12Z</dc:date>
    </item>
    <item>
      <title>Re: Before Selection and After Selection value Changes</title>
      <link>https://community.qlik.com/t5/QlikView/Before-Selection-and-After-Selection-value-Changes/m-p/768112#M272792</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you post your app please?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Andy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Mar 2015 11:55:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Before-Selection-and-After-Selection-value-Changes/m-p/768112#M272792</guid>
      <dc:creator>awhitfield</dc:creator>
      <dc:date>2015-03-23T11:55:53Z</dc:date>
    </item>
  </channel>
</rss>

