<?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: How do I filter contents of a table and rank them at the same time? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-do-I-filter-contents-of-a-table-and-rank-them-at-the-same/m-p/474754#M1129782</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you post a .qvw, it will be easier for us to help you:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-1290"&gt;Preparing examples for Upload - Reduction and Data Scrambling&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 11 Dec 2013 19:14:29 GMT</pubDate>
    <dc:creator>Nicole-Smith</dc:creator>
    <dc:date>2013-12-11T19:14:29Z</dc:date>
    <item>
      <title>How do I filter contents of a table and rank them at the same time?</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-I-filter-contents-of-a-table-and-rank-them-at-the-same/m-p/474753#M1129781</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am quite new to QlikView and need help with setting up a table.&amp;nbsp; This may seem long, but I wanted to include as much detail to get a reasonable response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have 2 sheets.&amp;nbsp; The first sheet shows all my patient's details by year and month and number of visits to our hospital.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the second sheet I want three tables that only show patient's that were &lt;SPAN style="; color: #575757; text-decoration: underline;"&gt;&lt;STRONG&gt;admitted&lt;/STRONG&gt;&lt;/SPAN&gt; to our hospital (so fitler the data to only include admitted patients):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Listing of all admitted patients with count of number of total hospital visits (&lt;SPAN style="text-decoration: underline;"&gt;Got this&lt;/SPAN&gt;)&lt;/P&gt;&lt;P&gt;2) Listing of all admitted patients with count of only the number of hospital admission visits (&lt;SPAN style="text-decoration: underline;"&gt;cannot get this at all&lt;/SPAN&gt;)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -Issue: Total number of visits shown instead of just number of visits with admit status&lt;/P&gt;&lt;P&gt;3) Number 2 above, but that ranks only the top X patient's (i.e., top utilizers) (&lt;SPAN style="text-decoration: underline;"&gt;cannot figure this out&lt;/SPAN&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here are my fields (and possible necessary details):&lt;/P&gt;&lt;P&gt;1) Patient_Name&lt;/P&gt;&lt;P&gt;2) Patient_ID&lt;/P&gt;&lt;P&gt;3) Arrival_Date&lt;/P&gt;&lt;P&gt;4) Arrival_Year&lt;/P&gt;&lt;P&gt;5) Arrival_Month&lt;/P&gt;&lt;P&gt;6) Disposition&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -this here is where I would know if a patient was admitted or not, and would want to search this field to only include patient's that &lt;SPAN style="text-decoration: underline;"&gt;&lt;EM&gt;contain&lt;/EM&gt;&lt;/SPAN&gt; the text "Admit" as the word Admit might or might not be the first word in the field.&lt;/P&gt;&lt;P&gt;7) Visits_Flag&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -currently this is an expression that counts the number of visits: Sum(Flag)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My tables 2 and 3 are currently straight tables with two dimensions and two Calculated Dimensions-&lt;/P&gt;&lt;P&gt;Calculated Dimensions:&lt;/P&gt;&lt;P&gt;1) &lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;If&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;WildMatch&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Disposition&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,'*Admit*'),&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Disposition&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;2) &lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Aggr&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;If&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Rank&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(Visits_&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Flag&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;),4)&amp;lt;=100,&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Patient_ID&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;),&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Arrival_Year&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Patient_ID&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;I do not know if this is correct and I cannot seem to get the correct number of visits with admit status and rank them.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Help is greatly appreciated.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Dec 2013 18:01:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-I-filter-contents-of-a-table-and-rank-them-at-the-same/m-p/474753#M1129781</guid>
      <dc:creator />
      <dc:date>2013-12-11T18:01:14Z</dc:date>
    </item>
    <item>
      <title>Re: How do I filter contents of a table and rank them at the same time?</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-I-filter-contents-of-a-table-and-rank-them-at-the-same/m-p/474754#M1129782</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you post a .qvw, it will be easier for us to help you:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-1290"&gt;Preparing examples for Upload - Reduction and Data Scrambling&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Dec 2013 19:14:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-I-filter-contents-of-a-table-and-rank-them-at-the-same/m-p/474754#M1129782</guid>
      <dc:creator>Nicole-Smith</dc:creator>
      <dc:date>2013-12-11T19:14:29Z</dc:date>
    </item>
    <item>
      <title>Re: How do I filter contents of a table and rank them at the same time?</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-I-filter-contents-of-a-table-and-rank-them-at-the-same/m-p/474755#M1129783</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See the attached.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Dec 2013 19:49:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-I-filter-contents-of-a-table-and-rank-them-at-the-same/m-p/474755#M1129783</guid>
      <dc:creator>Nicole-Smith</dc:creator>
      <dc:date>2013-12-11T19:49:24Z</dc:date>
    </item>
    <item>
      <title>Re: How do I filter contents of a table and rank them at the same time?</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-I-filter-contents-of-a-table-and-rank-them-at-the-same/m-p/474756#M1129784</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for the response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I may not be understanding what this is supposed to do, but it is not working for me.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Dec 2013 12:00:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-I-filter-contents-of-a-table-and-rank-them-at-the-same/m-p/474756#M1129784</guid>
      <dc:creator />
      <dc:date>2013-12-13T12:00:08Z</dc:date>
    </item>
  </channel>
</rss>

