<?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: Dont see Variable result unless i select a row in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Dont-see-Variable-result-unless-i-select-a-row/m-p/868480#M303728</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's hard to help you without knowing the field names used as dimensions and the definition of the variables used in your above expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It may be easier if you upload your sample QVW to this thread (upload is available in advanced editor).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In general, each field in your expression should be either embedded in an aggregation function, or should be a field used in a dimension. If there's no unambiguous evaluation of the expression, it will return NULL (not zero, and I currenctly don't understand why your above expression should return zero).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 21 Jun 2015 17:36:19 GMT</pubDate>
    <dc:creator>swuehl</dc:creator>
    <dc:date>2015-06-21T17:36:19Z</dc:date>
    <item>
      <title>Dont see Variable result unless i select a row</title>
      <link>https://community.qlik.com/t5/QlikView/Dont-see-Variable-result-unless-i-select-a-row/m-p/868477#M303725</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I everybody,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Today i have spécial problem with qlikview, i explain :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i add fews variables in my qvw, and i use one as expression in a straight table, but the problem is that i see the result of the ''Variable'' only when i Select a row. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To &lt;SPAN lang="en"&gt;summarize, i have a two columns straight table i have i have allways "0" in my second columns( who containt my variable) unless i select one row of the table &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Somebody have a solution??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 21 Jun 2015 17:09:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dont-see-Variable-result-unless-i-select-a-row/m-p/868477#M303725</guid>
      <dc:creator />
      <dc:date>2015-06-21T17:09:04Z</dc:date>
    </item>
    <item>
      <title>Re: Dont see Variable result unless i select a row</title>
      <link>https://community.qlik.com/t5/QlikView/Dont-see-Variable-result-unless-i-select-a-row/m-p/868478#M303726</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What's the definition of your variable? And which dimensions are used in your chart?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 21 Jun 2015 17:11:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dont-see-Variable-result-unless-i-select-a-row/m-p/868478#M303726</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-06-21T17:11:01Z</dc:date>
    </item>
    <item>
      <title>Re: Dont see Variable result unless i select a row</title>
      <link>https://community.qlik.com/t5/QlikView/Dont-see-Variable-result-unless-i-select-a-row/m-p/868479#M303727</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;here is the definition of my variable : &lt;/P&gt;&lt;P&gt;if($(#DSnbD)='Oui','Oui',if($(#DSCB)='Oui','Oui',if($(#DSEND)='Oui','Oui',if($(#DSnbD)='Non' and&amp;nbsp; $(#DSCB)='Non' and $(#DSEND)='Non','Non',if($(#DSnbD)='NC','Non')))))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and my dimension is just i field of my excel files, and for each dimension i need the result of my varible. But it's allways "0" unless i select one row &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 21 Jun 2015 17:29:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dont-see-Variable-result-unless-i-select-a-row/m-p/868479#M303727</guid>
      <dc:creator />
      <dc:date>2015-06-21T17:29:56Z</dc:date>
    </item>
    <item>
      <title>Re: Dont see Variable result unless i select a row</title>
      <link>https://community.qlik.com/t5/QlikView/Dont-see-Variable-result-unless-i-select-a-row/m-p/868480#M303728</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's hard to help you without knowing the field names used as dimensions and the definition of the variables used in your above expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It may be easier if you upload your sample QVW to this thread (upload is available in advanced editor).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In general, each field in your expression should be either embedded in an aggregation function, or should be a field used in a dimension. If there's no unambiguous evaluation of the expression, it will return NULL (not zero, and I currenctly don't understand why your above expression should return zero).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 21 Jun 2015 17:36:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dont-see-Variable-result-unless-i-select-a-row/m-p/868480#M303728</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-06-21T17:36:19Z</dc:date>
    </item>
    <item>
      <title>Re: Dont see Variable result unless i select a row</title>
      <link>https://community.qlik.com/t5/QlikView/Dont-see-Variable-result-unless-i-select-a-row/m-p/868481#M303729</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks you very much for your helps,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is my straight table the field ''EEEE'' is the one who containt my variable and it allways show zero before i selcted a row &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture2.PNG" class="jive-image image-1" height="92" src="https://community.qlik.com/legacyfs/online/90189_Capture2.PNG" style="height: 92px; width: 750.526315789474px;" width="751" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now what happen when i selelect a row i get the result on field ''EEEE'' like u can see :&lt;/P&gt;&lt;P&gt;and the ''EEEE' containt my variable : &lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-2" height="84" src="https://community.qlik.com/legacyfs/online/90190_Capture.PNG" style="height: 84px; width: 733.521126760563px;" width="734" /&gt;&lt;/P&gt;&lt;P&gt;i would like to share the qvw with you but my company wnt all confidencial, hope u w'ill understand. Thanks a lot ;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 21 Jun 2015 18:01:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dont-see-Variable-result-unless-i-select-a-row/m-p/868481#M303729</guid>
      <dc:creator />
      <dc:date>2015-06-21T18:01:40Z</dc:date>
    </item>
    <item>
      <title>Re: Dont see Variable result unless i select a row</title>
      <link>https://community.qlik.com/t5/QlikView/Dont-see-Variable-result-unless-i-select-a-row/m-p/868482#M303730</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, I understand that you can't upload your original QVW.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I still understand how your expression you posted above:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;if($(#DSnbD)='Oui','Oui',if($(#DSCB)='Oui','Oui',if($(#DSEND)='Oui','Oui',if($(#DSnbD)='Non' and&amp;nbsp; $(#DSCB)='Non' and $(#DSEND)='Non','Non',if($(#DSnbD)='NC','Non')))))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; 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: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;should return zero or 1. I may miss something, but possible return values are 'Oui' or 'Non', right?&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 21 Jun 2015 18:04:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dont-see-Variable-result-unless-i-select-a-row/m-p/868482#M303730</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-06-21T18:04:55Z</dc:date>
    </item>
    <item>
      <title>Re: Dont see Variable result unless i select a row</title>
      <link>https://community.qlik.com/t5/QlikView/Dont-see-Variable-result-unless-i-select-a-row/m-p/868483#M303731</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;in fact my variable depend on other variable and the result is the number of ''Oui'' of a other variable, you understand more now?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 21 Jun 2015 18:13:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dont-see-Variable-result-unless-i-select-a-row/m-p/868483#M303731</guid>
      <dc:creator />
      <dc:date>2015-06-21T18:13:35Z</dc:date>
    </item>
    <item>
      <title>Re: Dont see Variable result unless i select a row</title>
      <link>https://community.qlik.com/t5/QlikView/Dont-see-Variable-result-unless-i-select-a-row/m-p/868484#M303732</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, so there is probably a COUNT() function involved somewhere. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As I said it's almost impossible to help without a minimum if information provided. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would assume that you evaluate fields not embedded in an aggregation function and that this can't be evaluated correctly until you limit the context in a way that there is only one possible return value left, e.g. by a selection in field ZZZZ.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;see also:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/3779"&gt;Use Aggregation Functions!&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/3235"&gt;It’s all Aggregations&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 21 Jun 2015 18:21:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dont-see-Variable-result-unless-i-select-a-row/m-p/868484#M303732</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-06-21T18:21:54Z</dc:date>
    </item>
    <item>
      <title>Re: Dont see Variable result unless i select a row</title>
      <link>https://community.qlik.com/t5/QlikView/Dont-see-Variable-result-unless-i-select-a-row/m-p/868485#M303733</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes i have the count function, what do you mean by use of aggregation??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 21 Jun 2015 18:26:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dont-see-Variable-result-unless-i-select-a-row/m-p/868485#M303733</guid>
      <dc:creator />
      <dc:date>2015-06-21T18:26:19Z</dc:date>
    </item>
    <item>
      <title>Re: Dont see Variable result unless i select a row</title>
      <link>https://community.qlik.com/t5/QlikView/Dont-see-Variable-result-unless-i-select-a-row/m-p/868486#M303734</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is more details, i review my sintat and my varible return ''Oui'' or ''Non'' and the 'EEEE' fields containt : count({&amp;lt;Poche={"=$(#POC)='Oui'"&amp;gt;} Poche) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And $(#POC) is my variable , and poche is that field from my excel wicch containt 'Oui' or 'Non' &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 21 Jun 2015 18:33:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dont-see-Variable-result-unless-i-select-a-row/m-p/868486#M303734</guid>
      <dc:creator />
      <dc:date>2015-06-21T18:33:39Z</dc:date>
    </item>
    <item>
      <title>Re: Dont see Variable result unless i select a row</title>
      <link>https://community.qlik.com/t5/QlikView/Dont-see-Variable-result-unless-i-select-a-row/m-p/868487#M303735</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In an input box, what does your variable show when nothing is selected?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How is your variable defined?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 21 Jun 2015 18:51:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dont-see-Variable-result-unless-i-select-a-row/m-p/868487#M303735</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-06-21T18:51:24Z</dc:date>
    </item>
    <item>
      <title>Re: Dont see Variable result unless i select a row</title>
      <link>https://community.qlik.com/t5/QlikView/Dont-see-Variable-result-unless-i-select-a-row/m-p/868488#M303736</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My variable always show ''0'', its seem like qlikview make the calcul of my variable only when i select a row &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 21 Jun 2015 18:58:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dont-see-Variable-result-unless-i-select-a-row/m-p/868488#M303736</guid>
      <dc:creator />
      <dc:date>2015-06-21T18:58:28Z</dc:date>
    </item>
    <item>
      <title>Re: Dont see Variable result unless i select a row</title>
      <link>https://community.qlik.com/t5/QlikView/Dont-see-Variable-result-unless-i-select-a-row/m-p/868489#M303737</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No, I rather think that your are missing proper aggregation. See the blogs I referenced above for more details.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think I can't add anything more with the information provided.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 21 Jun 2015 19:03:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dont-see-Variable-result-unless-i-select-a-row/m-p/868489#M303737</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-06-21T19:03:22Z</dc:date>
    </item>
  </channel>
</rss>

