<?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 to filter out certain matching data? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-filter-out-certain-matching-data/m-p/393664#M698774</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;First, I would try to get your table from a Crosstable structure into a straight table using CROSSTABLE in the script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;CROSSTABLE (JobNr, JobType) LOAD CustID, &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(trim(len(Job1)),Job1) as Job1, &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(trim(len(Job2)),Job2) as Job2, &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(trim(len(Job3)),Job3) as Job3, &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(trim(len(Job4)),Job4) as Job4&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;FROM&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;SPAN&gt;[&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://community.qlik.com/thread/67416?tstart=0"&gt;http://community.qlik.com/thread/67416?tstart=0&lt;/A&gt;&lt;SPAN&gt;]&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;(html, codepage is 1252, embedded labels, table is @1);&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the front end, just create a straight table with dimension CustID and as expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;=if(isnull(only(JobType)), concat(DISTINCT JobType,', ' ) )&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Hope this helps&lt;EM&gt;,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Stefan&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 30 Nov 2012 11:02:22 GMT</pubDate>
    <dc:creator>swuehl</dc:creator>
    <dc:date>2012-11-30T11:02:22Z</dc:date>
    <item>
      <title>How to filter out certain matching data?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-filter-out-certain-matching-data/m-p/393663#M698772</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;QV11 SR1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have data in the following format...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" cellpadding="3" cellspacing="0" class="jiveBorder" style="width: 100%; border: 1px solid #000000;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH align="center" style="background-color: #6690bc;" valign="middle"&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;STRONG&gt;CustID&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;TH align="center" style="background-color: #6690bc;" valign="middle"&gt;Job1&lt;/TH&gt;&lt;TH align="center" style="background-color: #6690bc;" valign="middle"&gt;Job2&lt;/TH&gt;&lt;TH align="center" style="background-color: #6690bc;" valign="middle"&gt;Job3&lt;/TH&gt;&lt;TH align="center" style="background-color: #6690bc;" valign="middle"&gt;Job4&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;SomeJob1&lt;/TD&gt;&lt;TD&gt;SomeJob2&lt;/TD&gt;&lt;TD&gt;SomeJob1&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;SomeJob2&lt;/TD&gt;&lt;TD&gt;SomeJob2&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;SomeJob4&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;3&lt;/TD&gt;&lt;TD&gt;SomeJob1&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;SomeJob3&lt;/TD&gt;&lt;TD&gt;SomeJob4&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;4&lt;/TD&gt;&lt;TD&gt;SomeJob1&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;SomeJob1&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So each Customer can have from 0-4 jobs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to be able to show in a straight table or whatever, customers that have more than 1 different type of job.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So in the example data above i would need to show CustID 1,2,3 but not 4 (only one type of job).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would also like to suppress jobs that are the same, for example&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For CustID 1 i would just show SomeJob1 (once) and SomeJob2&lt;/P&gt;&lt;P&gt;For CustID 2 i would just show SomeJob2 (once) and SomeJob4&lt;/P&gt;&lt;P&gt;For CustID 3 i would just show SomeJob1, SomeJob3 and SomeJob4&lt;/P&gt;&lt;P&gt;CustID 4 would not be shown at all&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas welcome this is driving me slightly mad&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Nov 2012 10:46:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-filter-out-certain-matching-data/m-p/393663#M698772</guid>
      <dc:creator>haymarketpaul</dc:creator>
      <dc:date>2012-11-30T10:46:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to filter out certain matching data?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-filter-out-certain-matching-data/m-p/393664#M698774</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;First, I would try to get your table from a Crosstable structure into a straight table using CROSSTABLE in the script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;CROSSTABLE (JobNr, JobType) LOAD CustID, &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(trim(len(Job1)),Job1) as Job1, &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(trim(len(Job2)),Job2) as Job2, &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(trim(len(Job3)),Job3) as Job3, &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(trim(len(Job4)),Job4) as Job4&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;FROM&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;SPAN&gt;[&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://community.qlik.com/thread/67416?tstart=0"&gt;http://community.qlik.com/thread/67416?tstart=0&lt;/A&gt;&lt;SPAN&gt;]&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;(html, codepage is 1252, embedded labels, table is @1);&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the front end, just create a straight table with dimension CustID and as expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;=if(isnull(only(JobType)), concat(DISTINCT JobType,', ' ) )&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Hope this helps&lt;EM&gt;,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Stefan&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Nov 2012 11:02:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-filter-out-certain-matching-data/m-p/393664#M698774</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2012-11-30T11:02:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to filter out certain matching data?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-filter-out-certain-matching-data/m-p/393665#M698775</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Brilliant thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Nov 2012 11:47:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-filter-out-certain-matching-data/m-p/393665#M698775</guid>
      <dc:creator>haymarketpaul</dc:creator>
      <dc:date>2012-11-30T11:47:03Z</dc:date>
    </item>
  </channel>
</rss>

