<?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: Filtering a column based on other columns through Expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Filtering-a-column-based-on-other-columns-through-Expression/m-p/1132560#M893148</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will try it out that way and get back to you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tej&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 04 Aug 2016 20:29:16 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-08-04T20:29:16Z</dc:date>
    <item>
      <title>Filtering a column based on other columns through Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Filtering-a-column-based-on-other-columns-through-Expression/m-p/1132554#M893142</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Qlik Community,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a question about an expression I am trying to figure out to try and accomplish the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the data set below. My goal is to provide an expression so that if 'Date' and/or 'Code' differs for any one PatientID, then &lt;STRONG&gt;&lt;EM&gt;ONLY &lt;/EM&gt;&lt;/STRONG&gt;display those 'PatientIDs'.&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 202px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD height="20" style="border: 0px black; border-image: none;" width="74"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;PatientID&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="border: 0px black; border-image: none;" width="64"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;Date&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="border: 0px black; border-image: none;" width="64"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;Code&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20" style="border: 0px black; border-image: none;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;5708&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" style="border: 0px black; border-image: none;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;7/1/2016&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" style="border: 0px black; border-image: none;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;1&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20" style="border: 0px black; border-image: none;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;5708&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" style="border: 0px black; border-image: none;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;8/4/2016&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" style="border: 0px black; border-image: none;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;1&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20" style="border: 0px black; border-image: none;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;1285&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" style="border: 0px black; border-image: none;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;7/2/2016&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" style="border: 0px black; border-image: none;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;2&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20" style="border: 0px black; border-image: none;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;1285&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" style="border: 0px black; border-image: none;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;7/2/2016&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" style="border: 0px black; border-image: none;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;3&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20" style="border: 0px black; border-image: none;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;2120&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" style="border: 0px black; border-image: none;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;7/3/2016&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" style="border: 0px black; border-image: none;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;3&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20" style="border: 0px black; border-image: none;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;8462&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" style="border: 0px black; border-image: none;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;7/4/2016&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" style="border: 0px black; border-image: none;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;4&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20" style="border: 0px black; border-image: none;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;8462&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" style="border: 0px black; border-image: none;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;8/1/2016&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" style="border: 0px black; border-image: none;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;8&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20" style="border: 0px black; border-image: none;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;3002&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" style="border: 0px black; border-image: none;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;7/5/2016&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" style="border: 0px black; border-image: none;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;5&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20" style="border: 0px black; border-image: none;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;1098&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" style="border: 0px black; border-image: none;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;7/6/2016&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" style="border: 0px black; border-image: none;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;6&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So with the data set above:&lt;/P&gt;&lt;P&gt;1. PatientID# 5708 &lt;EM&gt;&lt;STRONG&gt;would&lt;/STRONG&gt;&lt;/EM&gt; be displayed since there are two &lt;EM&gt;different&lt;/EM&gt; 'Date' records for the &lt;EM&gt;same &lt;/EM&gt;PatientID.&lt;/P&gt;&lt;P&gt;2. PatientID# 1285&lt;STRONG&gt;&lt;EM&gt; would &lt;/EM&gt;&lt;/STRONG&gt;be displayed since there are two &lt;EM&gt;different &lt;/EM&gt;"Code' records for the &lt;EM&gt;same &lt;/EM&gt;PatientID.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. PatientID# 8462 &lt;EM&gt;&lt;STRONG&gt;WOULD NOT&lt;/STRONG&gt;&lt;/EM&gt; be displayed since even though it has 2 records, neither 'Date' nor 'Code' is repeated for that record.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As for the rest of the records, they should ideally not even show up on my straight table chart since there is nothing wrong with them (including 8642 since nothing is wrong with it).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Overall, if 'Date' and/or 'Code' differs for one PatientID, then I would like that PatientID to show up on my straight table chart. If 'Date' and 'Code' do not differ, then I do not want that record to appear on my chart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know this can be accomplished and have made some strides towards accomplishing this, using this expression: &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;aggr&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;NODISTINCT&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;count&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Date&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;),&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;PatientID&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Code&lt;/SPAN&gt;&lt;SPAN&gt;)&amp;gt;1,1,0). &lt;SPAN style="font-size: 10pt;"&gt;But this, however, still shows me the some records like 1098 in the chart above which is just a single record without anything wrong with it and the 8642 example where there is nothing wrong with the record according my condition, but it still shows up in my table. &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Thanks in advance! This would be great help for me! &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Best Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Tej&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filtering-a-column-based-on-other-columns-through-Expression/m-p/1132554#M893142</guid>
      <dc:creator />
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering a column based on other columns through Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Filtering-a-column-based-on-other-columns-through-Expression/m-p/1132555#M893143</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tej,&lt;/P&gt;&lt;P&gt;Try Calculated Dimension&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;SPAN style="color: #0000ff;"&gt;Aggr&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;DISTINCT&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;If&lt;/SPAN&gt;((&lt;SPAN style="color: #0000ff;"&gt;MinString&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;Date&lt;/SPAN&gt;) = &lt;SPAN style="color: #0000ff;"&gt;MaxString&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;Date&lt;/SPAN&gt;) &lt;SPAN style="color: #0000ff;"&gt;and&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;Count&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;Date&lt;/SPAN&gt;) &amp;gt; 1) &lt;SPAN style="color: #0000ff;"&gt;or&lt;/SPAN&gt; (&lt;SPAN style="color: #0000ff;"&gt;MinString&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;Code&lt;/SPAN&gt;) = &lt;SPAN style="color: #0000ff;"&gt;MaxString&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;Code&lt;/SPAN&gt;) &lt;SPAN style="color: #0000ff;"&gt;and&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;Count&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;Code&lt;/SPAN&gt;) &amp;gt; 1),&lt;SPAN style="color: #800000;"&gt;PatientID&lt;/SPAN&gt;),&lt;SPAN style="color: #800000;"&gt;PatientID&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;)&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;check "Suppres when value is Null"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;This works within your Data sample, I'm not sure within Your Data&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;IMG class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/133662_pastedImage_1.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Antonio&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Aug 2016 16:32:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filtering-a-column-based-on-other-columns-through-Expression/m-p/1132555#M893143</guid>
      <dc:creator>antoniotiman</dc:creator>
      <dc:date>2016-08-04T16:32:03Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering a column based on other columns through Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Filtering-a-column-based-on-other-columns-through-Expression/m-p/1132556#M893144</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be create a straight table like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dimensions&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;PatientID&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Date&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Code&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expression:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=If(Count(TOTAL &amp;lt;Date&amp;gt; Date) &amp;gt; 1 or Count(TOTAL &amp;lt;Code&amp;gt; Code) &amp;gt; 1, 1)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/133660_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expression can be hidden from the presentation tab&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Aug 2016 16:34:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filtering-a-column-based-on-other-columns-through-Expression/m-p/1132556#M893144</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-08-04T16:34:27Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering a column based on other columns through Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Filtering-a-column-based-on-other-columns-through-Expression/m-p/1132557#M893145</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Antonio,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for yur reply. I tried applying the calculated dimension who gave me to the exact data source that I provided in the example above, but I am not getting the results that you received when I entered it. I made sure I put the formula in the calculated dimension area and clicked the suppress when value is null option and nothing would show up on the table. Is it maybe because of what I am using for my dimensions?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know, if you can, why I am not receiving the same reults as you did in your reponse.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tej&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Aug 2016 19:08:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filtering-a-column-based-on-other-columns-through-Expression/m-p/1132557#M893145</guid>
      <dc:creator />
      <dc:date>2016-08-04T19:08:12Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering a column based on other columns through Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Filtering-a-column-based-on-other-columns-through-Expression/m-p/1132558#M893146</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See attachment&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Aug 2016 20:02:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filtering-a-column-based-on-other-columns-through-Expression/m-p/1132558#M893146</guid>
      <dc:creator>antoniotiman</dc:creator>
      <dc:date>2016-08-04T20:02:44Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering a column based on other columns through Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Filtering-a-column-based-on-other-columns-through-Expression/m-p/1132559#M893147</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Antonio,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunately, I am using a personal edition of Qlikview until next week so I am unable to open files that are not created by me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry for the inconvenience. if it is not too much to ask, could you walk me through the steps you did to get the table in the way you did? that woul dbe very helpful to me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tej&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Aug 2016 20:27:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filtering-a-column-based-on-other-columns-through-Expression/m-p/1132559#M893147</guid>
      <dc:creator />
      <dc:date>2016-08-04T20:27:16Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering a column based on other columns through Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Filtering-a-column-based-on-other-columns-through-Expression/m-p/1132560#M893148</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will try it out that way and get back to you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tej&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Aug 2016 20:29:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filtering-a-column-based-on-other-columns-through-Expression/m-p/1132560#M893148</guid>
      <dc:creator />
      <dc:date>2016-08-04T20:29:16Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering a column based on other columns through Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Filtering-a-column-based-on-other-columns-through-Expression/m-p/1132561#M893149</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was able to get my table to look like the yours in the example. Once question I have though is why the patient ID 2120 shows up in the data set when that Patient ID does not have any variation in 'Date' and/or 'Code' as mentioned above?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know at your earliest convenience.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tej&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Aug 2016 20:34:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filtering-a-column-based-on-other-columns-through-Expression/m-p/1132561#M893149</guid>
      <dc:creator />
      <dc:date>2016-08-04T20:34:07Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering a column based on other columns through Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Filtering-a-column-based-on-other-columns-through-Expression/m-p/1132562#M893150</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Apologize, I mis-interpreted the requirement. Try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=If((Count(DISTINCT TOTAL &amp;lt;PatientID&amp;gt; Date) = 1 or Count(DISTINCT TOTAL &amp;lt;PatientID&amp;gt; Code) = 1) and Count(TOTAL &amp;lt;PatientID&amp;gt; PatientID) = 2, 1)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/133689_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Aug 2016 21:09:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filtering-a-column-based-on-other-columns-through-Expression/m-p/1132562#M893150</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-08-04T21:09:22Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering a column based on other columns through Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Filtering-a-column-based-on-other-columns-through-Expression/m-p/1132563#M893151</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dimensions :&lt;/P&gt;&lt;P&gt;1. Calculated Dimension (as Patient ID)&lt;/P&gt;&lt;P&gt;2. Date&lt;/P&gt;&lt;P&gt;3. Code&lt;/P&gt;&lt;P&gt;Expression : Date&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Aug 2016 21:27:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filtering-a-column-based-on-other-columns-through-Expression/m-p/1132563#M893151</guid>
      <dc:creator>antoniotiman</dc:creator>
      <dc:date>2016-08-04T21:27:16Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering a column based on other columns through Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Filtering-a-column-based-on-other-columns-through-Expression/m-p/1132564#M893154</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you both for your help! I was able to get it to work on my end!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Aug 2016 13:55:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filtering-a-column-based-on-other-columns-through-Expression/m-p/1132564#M893154</guid>
      <dc:creator />
      <dc:date>2016-08-08T13:55:30Z</dc:date>
    </item>
  </channel>
</rss>

