<?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 field as filter in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Expression-field-as-filter/m-p/395762#M491014</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;just create the same logic in the script instead of doing it in the list box hope that solves your problem. for example if (Target&amp;gt;[Reality] , 'NO', 'YES') as DISP_FLAG.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 11 Sep 2012 14:07:32 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2012-09-11T14:07:32Z</dc:date>
    <item>
      <title>Expression field as filter</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-field-as-filter/m-p/395761#M491013</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hallo my friends,&lt;/P&gt;&lt;P&gt;im QV beginner and i need your good advice:&lt;/P&gt;&lt;P&gt;My example:&lt;/P&gt;&lt;P&gt;In datasheet i have these columns (department,sure name...text,target and reality...numeric value)&lt;/P&gt;&lt;P&gt;Then there´s built a classic table in QV with all named fields. Now i want to create a filter condition above this table - i create a new listbox - a new displayed field by expression = If ([target]&amp;gt;[reality],&lt;SPAN style="font-size: 10pt;"&gt;'NO&lt;SPAN style="font-size: 10pt;"&gt;',&lt;SPAN style="font-size: 10pt;"&gt;'YES&lt;SPAN style="font-size: 10pt;"&gt;')&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt; ....then i expected,that when i select for example YES,a table shows me all rows,where´s condition satisfied. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;But it doesn´t work,because a table shows me only the first row with name in sequence and as i wrote,i need to see all rows by the chosen condition&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;There must be something wrong in my expression;-)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Thanks a lot for your help&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Jarda&lt;/SPAN&gt;&lt;/P&gt;&lt;P&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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Sep 2012 14:00:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-field-as-filter/m-p/395761#M491013</guid>
      <dc:creator />
      <dc:date>2012-09-11T14:00:36Z</dc:date>
    </item>
    <item>
      <title>Re: Expression field as filter</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-field-as-filter/m-p/395762#M491014</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;just create the same logic in the script instead of doing it in the list box hope that solves your problem. for example if (Target&amp;gt;[Reality] , 'NO', 'YES') as DISP_FLAG.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Sep 2012 14:07:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-field-as-filter/m-p/395762#M491014</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-09-11T14:07:32Z</dc:date>
    </item>
    <item>
      <title>Re: Expression field as filter</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-field-as-filter/m-p/395763#M491015</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;I suggest that you add a status value to your model to indicate your condition.&lt;/P&gt;&lt;P&gt;In the script, in the LOAD statement for the table, add the line:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If(target &amp;gt; reality, 'No', 'Yes') As MetTarget,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After reloading the table, you can add a list box for MetTarget that will contain Yes and No values, and it should also select the rows accordingly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Sep 2012 14:13:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-field-as-filter/m-p/395763#M491015</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2012-09-11T14:13:52Z</dc:date>
    </item>
    <item>
      <title>Re: Expression field as filter</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-field-as-filter/m-p/395764#M491019</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt; Thanks guys,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;according to your advices it´s better,a table shows me all rows. But now i tried it use practicly and when i write this function the table loads me incorrect rows. It´´s simply formula to compare two sums parameters and then follows conrete action. I don´t know why it doesn´t work,there must be a mistake in spots,because when i reduce formula to one parameter vs. second parameter = it works correctly&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Thanks a lot guys:-)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;SPAN style=": ; color: #0000ff; font-size: 8pt;"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;If &lt;/P&gt;&lt;SPAN style="font-size: 8pt;"&gt;((&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Mobilní volání]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;+&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Internet v mobilu]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;+&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Internet domů]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;+(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;CDMA&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)+&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Car control]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;+&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Klapka zam.(GSM brána + klapka)]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)&amp;gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Limit na car control]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;+&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Limit na CDMA]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;+&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Limit na internet domů]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;+&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Limit na internet v mobilu]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;+&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Limit na klapku (pevná+gsm brána)]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;+&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Limit na mobilní volání]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;),'Limit v celkové sumě překročen', 'Limit v celkové sumě nepřekročen')&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;MetTarget &lt;/SPAN&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Sep 2012 08:42:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-field-as-filter/m-p/395764#M491019</guid>
      <dc:creator />
      <dc:date>2012-09-12T08:42:45Z</dc:date>
    </item>
  </channel>
</rss>

