<?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: Limiting results based on two values in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Limiting-results-based-on-two-values/m-p/326967#M120312</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;You can use two modifiers in the set analysis of your expression, something like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code"&gt;&lt;P&gt;Count({&amp;lt; Field1 = P(FieldInListbox1) &amp;gt; + &amp;lt; Field2 = P(FieldInListbox2) &amp;gt;} PatientID)&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Not knowing your model better it's difficult for me to go further.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/people/mabaeyens" style="font-size: 12px; outline-style: none; padding-top: 1px; padding-bottom: 1px; padding-left: 17px; color: #007fc0; zoom: 1; text-decoration: underline; background-position: no-repeat no-repeat;"&gt;Miguel Angel Baeyens&lt;/A&gt;&lt;/P&gt;&lt;P&gt;BI Consultant&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://www.grupocomex.com/" style="font-size: 12px; outline-style: none; color: #007fc0;"&gt;Comex Grupo Ibérica&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 28 Jun 2011 13:49:00 GMT</pubDate>
    <dc:creator>Miguel_Angel_Baeyens</dc:creator>
    <dc:date>2011-06-28T13:49:00Z</dc:date>
    <item>
      <title>Limiting results based on two values</title>
      <link>https://community.qlik.com/t5/QlikView/Limiting-results-based-on-two-values/m-p/326964#M120309</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a table that contains the medications that patients are on.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to give the end user the option to find patients that are on multiple medications. Meaning I want them to select from List 1 say "Aspirin" and in List 2 they choose "Ibuprofen". I want a table to then display those patients that are on both Aspirin and Ibuprofen.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jun 2011 13:02:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Limiting-results-based-on-two-values/m-p/326964#M120309</guid>
      <dc:creator />
      <dc:date>2011-06-28T13:02:35Z</dc:date>
    </item>
    <item>
      <title>Re: Limiting results based on two values</title>
      <link>https://community.qlik.com/t5/QlikView/Limiting-results-based-on-two-values/m-p/326965#M120310</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;One way of implementing this is using And-mode listbox.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have attached an example. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jun 2011 13:24:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Limiting-results-based-on-two-values/m-p/326965#M120310</guid>
      <dc:creator>nagaiank</dc:creator>
      <dc:date>2011-06-28T13:24:27Z</dc:date>
    </item>
    <item>
      <title>Re: Limiting results based on two values</title>
      <link>https://community.qlik.com/t5/QlikView/Limiting-results-based-on-two-values/m-p/326966#M120311</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I never even noticed the AND for the list box.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I should have been more specific I'm using 2 list boxes because there are multiple choices they will make in each. Like "Aspirin 500 MG" "Aspirin TABLETS" as well as generics etc so no string partial or anything. So it would be more like ANY of the selections in List Box 1 AND then ANY of the selections in List Box 2. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jun 2011 13:43:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Limiting-results-based-on-two-values/m-p/326966#M120311</guid>
      <dc:creator />
      <dc:date>2011-06-28T13:43:34Z</dc:date>
    </item>
    <item>
      <title>Re: Limiting results based on two values</title>
      <link>https://community.qlik.com/t5/QlikView/Limiting-results-based-on-two-values/m-p/326967#M120312</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;You can use two modifiers in the set analysis of your expression, something like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code"&gt;&lt;P&gt;Count({&amp;lt; Field1 = P(FieldInListbox1) &amp;gt; + &amp;lt; Field2 = P(FieldInListbox2) &amp;gt;} PatientID)&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Not knowing your model better it's difficult for me to go further.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/people/mabaeyens" style="font-size: 12px; outline-style: none; padding-top: 1px; padding-bottom: 1px; padding-left: 17px; color: #007fc0; zoom: 1; text-decoration: underline; background-position: no-repeat no-repeat;"&gt;Miguel Angel Baeyens&lt;/A&gt;&lt;/P&gt;&lt;P&gt;BI Consultant&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://www.grupocomex.com/" style="font-size: 12px; outline-style: none; color: #007fc0;"&gt;Comex Grupo Ibérica&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jun 2011 13:49:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Limiting-results-based-on-two-values/m-p/326967#M120312</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2011-06-28T13:49:00Z</dc:date>
    </item>
  </channel>
</rss>

