<?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 How to search based on an expression? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-search-based-on-an-expression/m-p/192472#M54120</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey All,&lt;/P&gt;&lt;P&gt;I am trying to use the search option to filter to the top 100 based on a rank expression. So I have a Description column, and a NS$ Rank Column that is sorted ascending. The NS$ Rank column is searchable and I can type in &amp;gt;=100 and it filters to only the descriptions ranked 1-100. I now need to know how I can do this in a macro. Since it isn't a "Field" it is an expression I am having troubles trying to figure it out. Any suggestions or advice on how I could use the search function to limit this column to just the Top 100 would be great.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Austin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 28 Jan 2011 21:47:59 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-01-28T21:47:59Z</dc:date>
    <item>
      <title>How to search based on an expression?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-search-based-on-an-expression/m-p/192472#M54120</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey All,&lt;/P&gt;&lt;P&gt;I am trying to use the search option to filter to the top 100 based on a rank expression. So I have a Description column, and a NS$ Rank Column that is sorted ascending. The NS$ Rank column is searchable and I can type in &amp;gt;=100 and it filters to only the descriptions ranked 1-100. I now need to know how I can do this in a macro. Since it isn't a "Field" it is an expression I am having troubles trying to figure it out. Any suggestions or advice on how I could use the search function to limit this column to just the Top 100 would be great.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Austin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Jan 2011 21:47:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-search-based-on-an-expression/m-p/192472#M54120</guid>
      <dc:creator />
      <dc:date>2011-01-28T21:47:59Z</dc:date>
    </item>
    <item>
      <title>How to search based on an expression?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-search-based-on-an-expression/m-p/192473#M54121</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you want to show this data in a chart, say like the top 10/20 etc..If yes, in that case if you have entered a column as dimension then in chart properties -&amp;gt; Presentation -&amp;gt; Check the Max Visible Number (1-100) check box and enter the no of bars that you want to see.&lt;/P&gt;&lt;P&gt;Similarly if you want to sort either asc/desc select the appropriate in Sort tab.&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 29 Jan 2011 08:46:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-search-based-on-an-expression/m-p/192473#M54121</guid>
      <dc:creator />
      <dc:date>2011-01-29T08:46:47Z</dc:date>
    </item>
    <item>
      <title>How to search based on an expression?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-search-based-on-an-expression/m-p/192474#M54122</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to get it to do Top 100 in a straight table. The only problem I have if I do the Max Visible is that the total row sums up all the records and not just the Top 100. So that is why I am trying to use the Searchable field on the column and put &amp;lt;=100, so that it will give me the top 100 and the total row will only be the total for these 100 records. I still have yet to figure out the syntax for this if anyone has any suggestions.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Austin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Jan 2011 14:43:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-search-based-on-an-expression/m-p/192474#M54122</guid>
      <dc:creator />
      <dc:date>2011-01-31T14:43:04Z</dc:date>
    </item>
    <item>
      <title>How to search based on an expression?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-search-based-on-an-expression/m-p/192475#M54123</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If i understand you right, just use this formula:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;Example: =aggr(if(rank(sum(Revenue))&amp;lt;=100 or rank(-sum(Revenue))&amp;lt;=100,Customer),Customer)&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Jan 2011 16:37:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-search-based-on-an-expression/m-p/192475#M54123</guid>
      <dc:creator />
      <dc:date>2011-01-31T16:37:45Z</dc:date>
    </item>
    <item>
      <title>How to search based on an expression?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-search-based-on-an-expression/m-p/192476#M54124</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think this is the path that I want to go down, but how would I put this into a macro? I want to be able to sort different columns this way before I export the table. I am not sure if this makes sense or not. I want to use the magnifying glass function in a macro to sort the column &amp;gt;=100. Since I am such a beginner at this the exact syntax would be helpful.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Austin&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Feb 2011 16:14:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-search-based-on-an-expression/m-p/192476#M54124</guid>
      <dc:creator />
      <dc:date>2011-02-01T16:14:25Z</dc:date>
    </item>
  </channel>
</rss>

