<?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: expression when field value is equal to [&amp;lt;90] in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/expression-when-field-value-is-equal-to-lt-90/m-p/510732#M190814</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Carlos, but the returned value s/b 3% and with the {"&amp;lt;90"} it is 310,271,343,480%&lt;/P&gt;&lt;P&gt;Here is what I have:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;sum&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Metrics_CC&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = {'1'}&lt;BR /&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;.as_of_dt&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = {'$(vMaxDate)'}&lt;BR /&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;_Bucket&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;= {&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;"&amp;lt;90"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;}&lt;BR /&gt;&amp;gt;} Total CC)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;,'#,##0&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;%')&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 14 Jan 2014 15:50:59 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2014-01-14T15:50:59Z</dc:date>
    <item>
      <title>expression when field value is equal to [&lt;90]</title>
      <link>https://community.qlik.com/t5/QlikView/expression-when-field-value-is-equal-to-lt-90/m-p/510729#M190811</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, I am trying to write an expression to sum accounts that have a value of "&amp;lt;90" in a specific field. Using the following does not work: field = {'&amp;lt;90'}.&amp;nbsp; Have also tried {'chr(62)90'}.&amp;nbsp; Any suggestions?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jan 2014 15:34:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/expression-when-field-value-is-equal-to-lt-90/m-p/510729#M190811</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-01-14T15:34:12Z</dc:date>
    </item>
    <item>
      <title>Re: expression when field value is equal to [&lt;90]</title>
      <link>https://community.qlik.com/t5/QlikView/expression-when-field-value-is-equal-to-lt-90/m-p/510730#M190812</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Field = { " &amp;lt; 90 " }&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jan 2014 15:38:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/expression-when-field-value-is-equal-to-lt-90/m-p/510730#M190812</guid>
      <dc:creator>Carlos_Reyes</dc:creator>
      <dc:date>2014-01-14T15:38:37Z</dc:date>
    </item>
    <item>
      <title>Re: expression when field value is equal to [&lt;90]</title>
      <link>https://community.qlik.com/t5/QlikView/expression-when-field-value-is-equal-to-lt-90/m-p/510731#M190813</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can try if(field&amp;lt;90, true condition, false condition)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;Rajesh Vaswani&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jan 2014 15:42:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/expression-when-field-value-is-equal-to-lt-90/m-p/510731#M190813</guid>
      <dc:creator>rajeshvaswani77</dc:creator>
      <dc:date>2014-01-14T15:42:46Z</dc:date>
    </item>
    <item>
      <title>Re: expression when field value is equal to [&lt;90]</title>
      <link>https://community.qlik.com/t5/QlikView/expression-when-field-value-is-equal-to-lt-90/m-p/510732#M190814</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Carlos, but the returned value s/b 3% and with the {"&amp;lt;90"} it is 310,271,343,480%&lt;/P&gt;&lt;P&gt;Here is what I have:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;sum&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Metrics_CC&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = {'1'}&lt;BR /&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;.as_of_dt&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = {'$(vMaxDate)'}&lt;BR /&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;_Bucket&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;= {&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;"&amp;lt;90"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;}&lt;BR /&gt;&amp;gt;} Total CC)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;,'#,##0&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;%')&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jan 2014 15:50:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/expression-when-field-value-is-equal-to-lt-90/m-p/510732#M190814</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-01-14T15:50:59Z</dc:date>
    </item>
    <item>
      <title>Re: Re: expression when field value is equal to [&lt;90]</title>
      <link>https://community.qlik.com/t5/QlikView/expression-when-field-value-is-equal-to-lt-90/m-p/510733#M190815</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i see an additional bracket in your expression..&lt;/P&gt;&lt;P&gt;_Bucket &lt;SPAN style="color: #ff0000;"&gt;)&lt;/SPAN&gt;= {"&amp;lt;90"}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try this one..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=num(sum({&amp;lt;[Metrics_CC] = {'1'},[.as_of_dt] = {'$(vMaxDate)'},[_Bucket] = {"&amp;lt;90"}&amp;gt;} [Total CC]),'#,##0%')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jan 2014 15:59:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/expression-when-field-value-is-equal-to-lt-90/m-p/510733#M190815</guid>
      <dc:creator>phaneendra_kunc</dc:creator>
      <dc:date>2014-01-14T15:59:12Z</dc:date>
    </item>
    <item>
      <title>Re: expression when field value is equal to [&lt;90]</title>
      <link>https://community.qlik.com/t5/QlikView/expression-when-field-value-is-equal-to-lt-90/m-p/510734#M190816</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Mmmm... I think you have a problem in your Set Analysis. Assuming there is a field called " .as_of_dt ", then you have an error in " ,_Bucket ) ", you have to define or ignore the field Bucket, but it is incorrect to place the parenthesis " ) " just after the field name. Maybe try with :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum ({&amp;lt;Metrics_CC = {'1'},.as_of_dt = {'$(vMaxDate)'},_Bucket= {"&amp;lt;90"}&amp;gt;} Total CC)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If this works, then you can format the number using the num function, you cannot use sum to do that. &lt;/P&gt;&lt;P&gt;Try:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;num ( sum ({&amp;lt;Metrics_CC = {'1'},.as_of_dt = {'$(vMaxDate)'},_Bucket= {"&amp;lt;90"}&amp;gt;} Total CC), '#,##0%' )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jan 2014 15:59:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/expression-when-field-value-is-equal-to-lt-90/m-p/510734#M190816</guid>
      <dc:creator>Carlos_Reyes</dc:creator>
      <dc:date>2014-01-14T15:59:54Z</dc:date>
    </item>
    <item>
      <title>Re: expression when field value is equal to [&lt;90]</title>
      <link>https://community.qlik.com/t5/QlikView/expression-when-field-value-is-equal-to-lt-90/m-p/510735#M190817</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt; Sorry, my copy was not valid.&amp;nbsp; here is the actual.&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;='CTL' &amp;amp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;num&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;ca_credit.Metrics_BDS_CC&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = {'1'}&lt;BR /&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;ca_credit.as_of_dt&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = {'$(vMaxDate)'}&lt;BR /&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[LTC_Bucket]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = {&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;"&amp;gt;90"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;}&lt;BR /&gt;&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;ca_credit.TotalCrossComm&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)&lt;BR /&gt;/&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;( {&amp;lt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;ca_credit_fclty_1_prt_p.Metrics_BDS_CC&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = {'1'}&lt;BR /&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;ca_credit.as_of_dt&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = {&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;&lt;STRONG&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;$(vMaxDate)&lt;/EM&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;}&lt;BR /&gt;&amp;gt;} &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;ca_credit.TotalCrossComm&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)&lt;BR /&gt;,'#,##0%')&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jan 2014 16:13:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/expression-when-field-value-is-equal-to-lt-90/m-p/510735#M190817</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-01-14T16:13:09Z</dc:date>
    </item>
    <item>
      <title>Re: expression when field value is equal to [&lt;90]</title>
      <link>https://community.qlik.com/t5/QlikView/expression-when-field-value-is-equal-to-lt-90/m-p/510736#M190818</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The expression seems correct, just make sure that both sums return the correct number. &lt;/P&gt;&lt;P&gt;Check that vMaxDate is equally used in both Set Analysis formulas, in one field you use single quotes and in the other don't,&amp;nbsp; and... this is a big if, but weren't you looking for values &amp;lt; 90 ?, in your expression you're looking for values &amp;gt; 90.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jan 2014 16:19:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/expression-when-field-value-is-equal-to-lt-90/m-p/510736#M190818</guid>
      <dc:creator>Carlos_Reyes</dc:creator>
      <dc:date>2014-01-14T16:19:53Z</dc:date>
    </item>
    <item>
      <title>Re: expression when field value is equal to [&lt;90]</title>
      <link>https://community.qlik.com/t5/QlikView/expression-when-field-value-is-equal-to-lt-90/m-p/510737#M190819</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i dont see any issue with it except your second part of&amp;nbsp; the expression date is not in quotes..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what is the out put of "vMaxDate variable? may be a sample app will be helpful..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;='CTL' &amp;amp;num(sum({&amp;lt;ca_credit.Metrics_BDS_CC = {'1'},ca_credit.as_of_dt = {'$(vMaxDate)'},[LTC_Bucket] = {"&amp;gt;90"}&amp;gt;}ca_credit.TotalCrossComm)/&lt;/P&gt;&lt;P&gt;sum( {&amp;lt; ca_credit_fclty_1_prt_p.Metrics_BDS_CC = {'1'},ca_credit.as_of_dt = {'$(vMaxDate)'}&amp;gt;}ca_credit.TotalCrossComm)&lt;/P&gt;&lt;P&gt;,'#,##0%')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jan 2014 16:22:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/expression-when-field-value-is-equal-to-lt-90/m-p/510737#M190819</guid>
      <dc:creator>phaneendra_kunc</dc:creator>
      <dc:date>2014-01-14T16:22:06Z</dc:date>
    </item>
    <item>
      <title>Re: expression when field value is equal to [&lt;90]</title>
      <link>https://community.qlik.com/t5/QlikView/expression-when-field-value-is-equal-to-lt-90/m-p/510738#M190820</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for all of the suggestions.&amp;nbsp; I ended up having the field changed to " &amp;gt;90".&amp;nbsp; In otherwords added a space before the &amp;gt; sign.&amp;nbsp; This was a text field "&amp;gt;90" rather than a search of a numeric field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jan 2014 18:19:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/expression-when-field-value-is-equal-to-lt-90/m-p/510738#M190820</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-01-14T18:19:54Z</dc:date>
    </item>
  </channel>
</rss>

