<?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: Filter on Expression in table in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Filter-on-Expression-in-table/m-p/1038379#M16097</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The best option would be to create the category in the script and then you would have no issues in filtering out one or the other.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The other option is to create a calculated expression list box using the if statement.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 15 Feb 2016 16:38:58 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2016-02-15T16:38:58Z</dc:date>
    <item>
      <title>Filter on Expression in table</title>
      <link>https://community.qlik.com/t5/App-Development/Filter-on-Expression-in-table/m-p/1038378#M16096</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 have created a Metric from Sales metric as below:&lt;/P&gt;&lt;P&gt;=IF(sum(Sales)&amp;gt;10000,'Category-A', 'Category-B')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have used the above metric in a Table, where i want to have the ability to select or filter our the Categories as per the above expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, since the above categories are calculated as expression, i can neither select nor filter the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How, can i limit the straight table to show only a specific Category?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Diwakar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Feb 2016 16:34:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Filter-on-Expression-in-table/m-p/1038378#M16096</guid>
      <dc:creator>diwakarnahata</dc:creator>
      <dc:date>2016-02-15T16:34:19Z</dc:date>
    </item>
    <item>
      <title>Re: Filter on Expression in table</title>
      <link>https://community.qlik.com/t5/App-Development/Filter-on-Expression-in-table/m-p/1038379#M16097</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The best option would be to create the category in the script and then you would have no issues in filtering out one or the other.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The other option is to create a calculated expression list box using the if statement.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Feb 2016 16:38:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Filter-on-Expression-in-table/m-p/1038379#M16097</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-02-15T16:38:58Z</dc:date>
    </item>
    <item>
      <title>Re: Filter on Expression in table</title>
      <link>https://community.qlik.com/t5/App-Development/Filter-on-Expression-in-table/m-p/1038380#M16098</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;You can create a dimension on the loading script for this using the same logic and add it as column for your table or a listbox:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sales:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;IF(sum(Sales)&amp;gt;10000,'Category-A', 'Category-B') as Category,&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;other fields&amp;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;FROM ...;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will allow filtering by category.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cesar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Feb 2016 16:42:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Filter-on-Expression-in-table/m-p/1038380#M16098</guid>
      <dc:creator>cesaraccardi</dc:creator>
      <dc:date>2016-02-15T16:42:40Z</dc:date>
    </item>
    <item>
      <title>Re: Filter on Expression in table</title>
      <link>https://community.qlik.com/t5/App-Development/Filter-on-Expression-in-table/m-p/1038381#M16099</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What are the dimensions of your chart?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can create a list box field expression like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=&lt;STRONG&gt;Aggr&lt;/STRONG&gt;( IF(sum(Sales)&amp;gt;10000,'Category-A', 'Category-B'&lt;STRONG&gt;), &lt;EM&gt;YourDimensionFieldUsedInTheChart&lt;/EM&gt;)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Feb 2016 16:43:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Filter-on-Expression-in-table/m-p/1038381#M16099</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-02-15T16:43:41Z</dc:date>
    </item>
    <item>
      <title>Re: Filter on Expression in table</title>
      <link>https://community.qlik.com/t5/App-Development/Filter-on-Expression-in-table/m-p/1038382#M16100</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could also add a calculation condition to enforce the selection of Category, this way the table content won't be displayed until a Category is selected or the number of possible Categories is narrowed down to 1:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;GetPossibleCount(Category) = 1&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Feb 2016 16:46:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Filter-on-Expression-in-table/m-p/1038382#M16100</guid>
      <dc:creator>cesaraccardi</dc:creator>
      <dc:date>2016-02-15T16:46:30Z</dc:date>
    </item>
  </channel>
</rss>

