<?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 Variable greater than or less than variable in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Variable-greater-than-or-less-than-variable/m-p/1746221#M506261</link>
    <description>&lt;P&gt;I have a pivot table with a single expression. The requirement is to allow the user to filter the data in the pivot table based on two variables.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Variable 1: will be less than or greater than ( &amp;gt; or &amp;lt;)&lt;/P&gt;&lt;P&gt;Variable2: some integer&lt;/P&gt;&lt;P&gt;I would like to be able to have the user select &amp;lt; or &amp;gt; and enter a value and have the pivot table only show lines that fall within the variable range.&amp;nbsp;&lt;/P&gt;&lt;P&gt;My current expression doesn't respond at all.&amp;nbsp;=if(sum( Planned) - sum( Actual) &amp;amp; $(Variable1) &amp;amp; $(Variable2),&lt;BR /&gt;sum(Planned) - sum(Actual),null())&lt;/P&gt;&lt;P&gt;Any guidance would be appreciated.&lt;/P&gt;</description>
    <pubDate>Wed, 23 Sep 2020 02:54:50 GMT</pubDate>
    <dc:creator>nrwlafhus</dc:creator>
    <dc:date>2020-09-23T02:54:50Z</dc:date>
    <item>
      <title>Variable greater than or less than variable</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-greater-than-or-less-than-variable/m-p/1746221#M506261</link>
      <description>&lt;P&gt;I have a pivot table with a single expression. The requirement is to allow the user to filter the data in the pivot table based on two variables.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Variable 1: will be less than or greater than ( &amp;gt; or &amp;lt;)&lt;/P&gt;&lt;P&gt;Variable2: some integer&lt;/P&gt;&lt;P&gt;I would like to be able to have the user select &amp;lt; or &amp;gt; and enter a value and have the pivot table only show lines that fall within the variable range.&amp;nbsp;&lt;/P&gt;&lt;P&gt;My current expression doesn't respond at all.&amp;nbsp;=if(sum( Planned) - sum( Actual) &amp;amp; $(Variable1) &amp;amp; $(Variable2),&lt;BR /&gt;sum(Planned) - sum(Actual),null())&lt;/P&gt;&lt;P&gt;Any guidance would be appreciated.&lt;/P&gt;</description>
      <pubDate>Wed, 23 Sep 2020 02:54:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-greater-than-or-less-than-variable/m-p/1746221#M506261</guid>
      <dc:creator>nrwlafhus</dc:creator>
      <dc:date>2020-09-23T02:54:50Z</dc:date>
    </item>
    <item>
      <title>Re: Variable greater than or less than variable</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-greater-than-or-less-than-variable/m-p/1746233#M506262</link>
      <description>&lt;P&gt;Try removing the &amp;amp; signs like this :&lt;/P&gt;&lt;P&gt;&amp;nbsp;=if(sum(Planned) - sum( Actual)&amp;nbsp; $(Variable1) $(Variable2),&lt;SPAN&gt;sum(Planned) - sum(Actual),null())&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Sep 2020 04:05:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-greater-than-or-less-than-variable/m-p/1746233#M506262</guid>
      <dc:creator>Vegar</dc:creator>
      <dc:date>2020-09-23T04:05:46Z</dc:date>
    </item>
    <item>
      <title>Re: Variable greater than or less than variable</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-greater-than-or-less-than-variable/m-p/1748620#M506263</link>
      <description>&lt;P&gt;That worked! Thanks. How come when I use that expression the syntax checker doesn't accept it but it still works?&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 18:41:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-greater-than-or-less-than-variable/m-p/1748620#M506263</guid>
      <dc:creator>nrwlafhus</dc:creator>
      <dc:date>2020-09-30T18:41:58Z</dc:date>
    </item>
  </channel>
</rss>

