<?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: Re: If Statement Issue in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/If-Statement-Issue/m-p/580438#M1104376</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 your suggestion, while I didn't use it in this instance, I did use it in a case where I wanted to show the list price in a table for the Current Forecast without requiring the user to select the Current Forecast..&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;aggr&lt;SPAN style="color: #0000ff;"&gt;(&lt;SPAN style="color: #0000ff;"&gt;only&lt;/SPAN&gt;({&amp;lt;&lt;SPAN style="color: #800000;"&gt;ForecastVersion&lt;/SPAN&gt;={&lt;STRONG&gt;&lt;EM style="color: #808080;"&gt;$(vCurrent_Forecast)&lt;/EM&gt;&lt;/STRONG&gt;}&amp;gt;} &lt;SPAN style="color: #800000;"&gt;[List Price]&lt;/SPAN&gt;), &lt;SPAN style="color: #800000;"&gt;[List Price]&lt;/SPAN&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #666699;"&gt;However, I don't fully understand how this works, and can't find a good explanation onlline.. Could I ask you to explain the Aggr(Only(... part of the expression please?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #666699;"&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #666699;"&gt;john&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 01 Apr 2014 08:21:46 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-04-01T08:21:46Z</dc:date>
    <item>
      <title>If Statement Issue</title>
      <link>https://community.qlik.com/t5/QlikView/If-Statement-Issue/m-p/580434#M1104372</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 am trying to implement a Conditional statement based on the following criteria..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a list box called Technology. Each technology can be either a Product_Type WRT or TTL. So depending on the technology selected it will be either WRT or TTL. I have some rows in a table that I want to appear depending on whether the technology is WRT or TTL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried using&lt;SPAN style="font-size: 10pt;"&gt; =&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;SPAN style="color: #0000ff;"&gt;GetFieldSelections&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;Product_Type&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;)&lt;/SPAN&gt; = 'WRT' &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;as the conditional experssion&amp;nbsp; - however this does not work unless I display the Produt_Type list box and actively select 'WRT', which I don't want the user to have to do. How can I test which product type group a&amp;nbsp; technology is in to enable the condition?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;Many Thanks&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;John&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Mar 2014 13:59:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-Statement-Issue/m-p/580434#M1104372</guid>
      <dc:creator />
      <dc:date>2014-03-31T13:59:55Z</dc:date>
    </item>
    <item>
      <title>Re: If Statement Issue</title>
      <link>https://community.qlik.com/t5/QlikView/If-Statement-Issue/m-p/580435#M1104373</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try: aggr(only({&amp;lt;Product_Type={'WRT'}&amp;gt;} Technology), Technology) &lt;/P&gt;&lt;P&gt;or: if(Product_Type='WRT',Technology)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Mar 2014 14:02:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-Statement-Issue/m-p/580435#M1104373</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2014-03-31T14:02:38Z</dc:date>
    </item>
    <item>
      <title>Re: If Statement Issue</title>
      <link>https://community.qlik.com/t5/QlikView/If-Statement-Issue/m-p/580436#M1104374</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;IF(ISNULL(Only(Product_Type)), condition1, condition2)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Mar 2014 14:05:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-Statement-Issue/m-p/580436#M1104374</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-03-31T14:05:32Z</dc:date>
    </item>
    <item>
      <title>Re: If Statement Issue</title>
      <link>https://community.qlik.com/t5/QlikView/If-Statement-Issue/m-p/580437#M1104375</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;&amp;nbsp; Hi Michael&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;I modified yoiur suggestion as follows and it works perfectly&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Only &lt;SPAN style="color: #0000ff;"&gt;(&lt;SPAN style="color: #800000;"&gt;Product_Type&lt;/SPAN&gt;)= 'IIC' &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Mar 2014 15:36:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-Statement-Issue/m-p/580437#M1104375</guid>
      <dc:creator />
      <dc:date>2014-03-31T15:36:37Z</dc:date>
    </item>
    <item>
      <title>Re: Re: If Statement Issue</title>
      <link>https://community.qlik.com/t5/QlikView/If-Statement-Issue/m-p/580438#M1104376</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 your suggestion, while I didn't use it in this instance, I did use it in a case where I wanted to show the list price in a table for the Current Forecast without requiring the user to select the Current Forecast..&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;aggr&lt;SPAN style="color: #0000ff;"&gt;(&lt;SPAN style="color: #0000ff;"&gt;only&lt;/SPAN&gt;({&amp;lt;&lt;SPAN style="color: #800000;"&gt;ForecastVersion&lt;/SPAN&gt;={&lt;STRONG&gt;&lt;EM style="color: #808080;"&gt;$(vCurrent_Forecast)&lt;/EM&gt;&lt;/STRONG&gt;}&amp;gt;} &lt;SPAN style="color: #800000;"&gt;[List Price]&lt;/SPAN&gt;), &lt;SPAN style="color: #800000;"&gt;[List Price]&lt;/SPAN&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #666699;"&gt;However, I don't fully understand how this works, and can't find a good explanation onlline.. Could I ask you to explain the Aggr(Only(... part of the expression please?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #666699;"&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #666699;"&gt;john&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Apr 2014 08:21:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-Statement-Issue/m-p/580438#M1104376</guid>
      <dc:creator />
      <dc:date>2014-04-01T08:21:46Z</dc:date>
    </item>
    <item>
      <title>Re: If Statement Issue</title>
      <link>https://community.qlik.com/t5/QlikView/If-Statement-Issue/m-p/580439#M1104377</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if(isnull(Only(Product_Type)), condition1, condition2)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Apr 2014 10:31:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-Statement-Issue/m-p/580439#M1104377</guid>
      <dc:creator>arjunkrishnan</dc:creator>
      <dc:date>2014-04-01T10:31:45Z</dc:date>
    </item>
  </channel>
</rss>

