<?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 criteria in a table box in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Filtering-criteria-in-a-table-box/m-p/607310#M1103069</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;I think you can add some flag to your script (not the sql side, the qlikview, bold)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;and then create a tablebox and some listbox to select your conditions&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;STRONG&gt;load&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 8pt;"&gt;&amp;nbsp; *,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 8pt;"&gt;&amp;nbsp; if(not wildmatch(completion_text, '*Normal*'),'Not normally','Normally') as FlagNotNormally,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 8pt;"&gt;&amp;nbsp; if(status_code&amp;lt;&amp;gt;'C', 'Pending', 'Not pendiong') as FlagPending //,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 8pt;"&gt;&amp;nbsp; //if(actual_completion_date - ................................)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // to be completed&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; ;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;sql&lt;/P&gt;&lt;P&gt;select&lt;/P&gt;&lt;P&gt;cr.request_id,&lt;/P&gt;&lt;P&gt;fu.user_name,&lt;/P&gt;&lt;P&gt;fr.responsibility_name,&lt;/P&gt;&lt;P&gt;cp.user_concurrent_program_name,&lt;/P&gt;&lt;P&gt;cr.phase_code,&lt;/P&gt;&lt;P&gt;cr.status_code,&lt;/P&gt;&lt;P&gt;cr.argument_text,&lt;/P&gt;&lt;P&gt;cr.completion_text,&lt;/P&gt;&lt;P&gt;to_char(cr.requested_start_date, 'DD-Mon-YYYY HH24:MI:SS') request_start_date,&lt;/P&gt;&lt;P&gt;to_char(cr.actual_start_date, 'DD-Mon-YYYY HH24:MI:SS') actual_start_date,&lt;/P&gt;&lt;P&gt;to_char(cr.actual_completion_date, 'DD-Mon-YYYY HH24:MI:SS') actual_completion_date,&lt;/P&gt;&lt;P&gt;(CASE&lt;/P&gt;&lt;P&gt;WHEN cp.user_concurrent_program_name = 'Material Cost Collection Worker' THEN&lt;/P&gt;&lt;P&gt;(select organization_code from org_organization_definitions where organization_id = fcr.argument2)&lt;/P&gt;&lt;P&gt;WHEN cp.user_concurrent_program_name IN ('Cost Collection Manager','Discrete Job Value Report - Standard Costing','Close Discrete Jobs') THEN&lt;/P&gt;&lt;P&gt;(select organization_code from org_organization_definitions where organization_id = fcr.argument1)&lt;/P&gt;&lt;P&gt;ELSE&lt;/P&gt;&lt;P&gt;'N/A'&lt;/P&gt;&lt;P&gt;END) inv_org&lt;/P&gt;&lt;P&gt;from&lt;/P&gt;&lt;P&gt;FND_CONC_REQ_SUMMARY_V cr,&lt;/P&gt;&lt;P&gt;FND_USER fu,&lt;/P&gt;&lt;P&gt;FND_RESPONSIBILITY_VL FR,&lt;/P&gt;&lt;P&gt;FND_CONCURRENT_PROGRAMS_VL CP,&lt;/P&gt;&lt;P&gt;FND_CONCURRENT_REQUESTS fcr&lt;/P&gt;&lt;P&gt;where fcr.request_id = cr.request_id&lt;/P&gt;&lt;P&gt;and cr.requested_by = fu.user_id&lt;/P&gt;&lt;P&gt;AND fr.responsibility_id = cr.responsibility_id&lt;/P&gt;&lt;P&gt;AND cr.concurrent_program_id = cp.concurrent_program_id&lt;/P&gt;&lt;P&gt;and cr.actual_start_date &amp;gt;= sysdate - 30&lt;/P&gt;&lt;P&gt;and fu.user_name in ('INV_CLOSE','HANNAHP', 'LSTOTTS','HSIMON')&lt;/P&gt;&lt;P&gt;order by cr.requested_start_date desc, fr.responsibility_name&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 07 Apr 2014 18:39:25 GMT</pubDate>
    <dc:creator>maxgro</dc:creator>
    <dc:date>2014-04-07T18:39:25Z</dc:date>
    <item>
      <title>Filtering criteria in a table box</title>
      <link>https://community.qlik.com/t5/QlikView/Filtering-criteria-in-a-table-box/m-p/607306#M1103065</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;I would like to filter what kind of results are shown in a table box, without altering my SQL script.&amp;nbsp; Is this posible?&amp;nbsp; So for instance, I want 1 table box to show only results of jobs which did not complete normally (ie: and completion_text not like '%Normal%').&amp;nbsp; In another table box I want to show jobs which are pending as opposed to Complete (ie: and status_code &amp;lt;&amp;gt; 'C').&amp;nbsp; Lastly, I'd like a table box which has the jobs which took over 5 mins to complete.&amp;nbsp; All of these details are within a SQL query that I do not want to limit the results.&amp;nbsp; Can I do these rules within a table box using the Calculation Condition on the Properties General Tab?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Apr 2014 03:54:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filtering-criteria-in-a-table-box/m-p/607306#M1103065</guid>
      <dc:creator />
      <dc:date>2014-04-07T03:54:09Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering criteria in a table box</title>
      <link>https://community.qlik.com/t5/QlikView/Filtering-criteria-in-a-table-box/m-p/607307#M1103066</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why not you use Straight table instead of Table box.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It can be easily used as Table box, where you can hide the columns which are calculated and your dont wanna show them in the table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you can you can provide me sample data, I'll show you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Apr 2014 03:58:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filtering-criteria-in-a-table-box/m-p/607307#M1103066</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-04-07T03:58:55Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering criteria in a table box</title>
      <link>https://community.qlik.com/t5/QlikView/Filtering-criteria-in-a-table-box/m-p/607308#M1103067</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nitin - I am not sure how much data to give you, but here is my query.&amp;nbsp; I want to add logic into my tables, to limit the table contents to only completed jobs, jobs that did not complete normally, and jobs that took over 5 mins.&amp;nbsp; So, the data will be there, just want to surpress results when they are 'Normal Completion' or status_code &amp;lt;&amp;gt; 'C' etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;BR /&gt;select&lt;BR /&gt;cr.request_id, &lt;BR /&gt;&lt;BR /&gt;fu.user_name, &lt;BR /&gt;&lt;BR /&gt;fr.responsibility_name, &lt;BR /&gt;&lt;BR /&gt;cp.user_concurrent_program_name, &lt;BR /&gt;&lt;BR /&gt;cr.phase_code, &lt;BR /&gt;&lt;BR /&gt;cr.status_code, &lt;BR /&gt;&lt;BR /&gt;cr.argument_text, &lt;BR /&gt;&lt;BR /&gt;cr.completion_text, &lt;BR /&gt;&lt;BR /&gt;to_char(cr.requested_start_date, 'DD-Mon-YYYY HH24:MI:SS') request_start_date, &lt;BR /&gt;&lt;BR /&gt;to_char(cr.actual_start_date, 'DD-Mon-YYYY HH24:MI:SS') actual_start_date, &lt;BR /&gt;&lt;BR /&gt;to_char(cr.actual_completion_date, 'DD-Mon-YYYY HH24:MI:SS') actual_completion_date,&lt;BR /&gt;&lt;BR /&gt;(CASE &lt;BR /&gt;&lt;BR /&gt;WHEN cp.user_concurrent_program_name = 'Material Cost Collection Worker' THEN&lt;BR /&gt;&lt;BR /&gt;(select organization_code from org_organization_definitions where organization_id = fcr.argument2)&lt;BR /&gt;&lt;BR /&gt;WHEN cp.user_concurrent_program_name IN ('Cost Collection Manager','Discrete Job Value Report - Standard Costing','Close Discrete Jobs') THEN&lt;BR /&gt;&lt;BR /&gt;(select organization_code from org_organization_definitions where organization_id = fcr.argument1)&lt;BR /&gt;&lt;BR /&gt;ELSE&lt;BR /&gt;&lt;BR /&gt;'N/A'&lt;BR /&gt;&lt;BR /&gt;END) inv_org&lt;BR /&gt;&lt;BR /&gt;from &lt;BR /&gt;&lt;BR /&gt;FND_CONC_REQ_SUMMARY_V cr,&lt;BR /&gt;&lt;BR /&gt;FND_USER fu,&lt;BR /&gt;&lt;BR /&gt;FND_RESPONSIBILITY_VL FR,&lt;BR /&gt;&lt;BR /&gt;FND_CONCURRENT_PROGRAMS_VL CP,&lt;BR /&gt;&lt;BR /&gt;FND_CONCURRENT_REQUESTS fcr&lt;BR /&gt;&lt;BR /&gt;where fcr.request_id = cr.request_id&lt;BR /&gt;&lt;BR /&gt;and cr.requested_by = fu.user_id&lt;BR /&gt;&lt;BR /&gt;AND fr.responsibility_id = cr.responsibility_id&lt;BR /&gt;&lt;BR /&gt;AND cr.concurrent_program_id = cp.concurrent_program_id&lt;BR /&gt;&lt;BR /&gt;and cr.actual_start_date &amp;gt;= sysdate - 30&lt;BR /&gt;&lt;BR /&gt;and fu.user_name in ('INV_CLOSE','HANNAHP', 'LSTOTTS','HSIMON')&lt;BR /&gt;&lt;BR /&gt;order by cr.requested_start_date desc, fr.responsibility_name &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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Apr 2014 17:44:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filtering-criteria-in-a-table-box/m-p/607308#M1103067</guid>
      <dc:creator />
      <dc:date>2014-04-07T17:44:52Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering criteria in a table box</title>
      <link>https://community.qlik.com/t5/QlikView/Filtering-criteria-in-a-table-box/m-p/607309#M1103068</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;in table box, you can set a drop down for each field. you can set them in presentation tab and check the dropdown box &lt;/P&gt;&lt;P&gt;you can then only selecting the creteria you need.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Apr 2014 18:32:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filtering-criteria-in-a-table-box/m-p/607309#M1103068</guid>
      <dc:creator>alexpanjhc</dc:creator>
      <dc:date>2014-04-07T18:32:27Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering criteria in a table box</title>
      <link>https://community.qlik.com/t5/QlikView/Filtering-criteria-in-a-table-box/m-p/607310#M1103069</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;I think you can add some flag to your script (not the sql side, the qlikview, bold)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;and then create a tablebox and some listbox to select your conditions&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;STRONG&gt;load&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 8pt;"&gt;&amp;nbsp; *,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 8pt;"&gt;&amp;nbsp; if(not wildmatch(completion_text, '*Normal*'),'Not normally','Normally') as FlagNotNormally,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 8pt;"&gt;&amp;nbsp; if(status_code&amp;lt;&amp;gt;'C', 'Pending', 'Not pendiong') as FlagPending //,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 8pt;"&gt;&amp;nbsp; //if(actual_completion_date - ................................)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // to be completed&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; ;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;sql&lt;/P&gt;&lt;P&gt;select&lt;/P&gt;&lt;P&gt;cr.request_id,&lt;/P&gt;&lt;P&gt;fu.user_name,&lt;/P&gt;&lt;P&gt;fr.responsibility_name,&lt;/P&gt;&lt;P&gt;cp.user_concurrent_program_name,&lt;/P&gt;&lt;P&gt;cr.phase_code,&lt;/P&gt;&lt;P&gt;cr.status_code,&lt;/P&gt;&lt;P&gt;cr.argument_text,&lt;/P&gt;&lt;P&gt;cr.completion_text,&lt;/P&gt;&lt;P&gt;to_char(cr.requested_start_date, 'DD-Mon-YYYY HH24:MI:SS') request_start_date,&lt;/P&gt;&lt;P&gt;to_char(cr.actual_start_date, 'DD-Mon-YYYY HH24:MI:SS') actual_start_date,&lt;/P&gt;&lt;P&gt;to_char(cr.actual_completion_date, 'DD-Mon-YYYY HH24:MI:SS') actual_completion_date,&lt;/P&gt;&lt;P&gt;(CASE&lt;/P&gt;&lt;P&gt;WHEN cp.user_concurrent_program_name = 'Material Cost Collection Worker' THEN&lt;/P&gt;&lt;P&gt;(select organization_code from org_organization_definitions where organization_id = fcr.argument2)&lt;/P&gt;&lt;P&gt;WHEN cp.user_concurrent_program_name IN ('Cost Collection Manager','Discrete Job Value Report - Standard Costing','Close Discrete Jobs') THEN&lt;/P&gt;&lt;P&gt;(select organization_code from org_organization_definitions where organization_id = fcr.argument1)&lt;/P&gt;&lt;P&gt;ELSE&lt;/P&gt;&lt;P&gt;'N/A'&lt;/P&gt;&lt;P&gt;END) inv_org&lt;/P&gt;&lt;P&gt;from&lt;/P&gt;&lt;P&gt;FND_CONC_REQ_SUMMARY_V cr,&lt;/P&gt;&lt;P&gt;FND_USER fu,&lt;/P&gt;&lt;P&gt;FND_RESPONSIBILITY_VL FR,&lt;/P&gt;&lt;P&gt;FND_CONCURRENT_PROGRAMS_VL CP,&lt;/P&gt;&lt;P&gt;FND_CONCURRENT_REQUESTS fcr&lt;/P&gt;&lt;P&gt;where fcr.request_id = cr.request_id&lt;/P&gt;&lt;P&gt;and cr.requested_by = fu.user_id&lt;/P&gt;&lt;P&gt;AND fr.responsibility_id = cr.responsibility_id&lt;/P&gt;&lt;P&gt;AND cr.concurrent_program_id = cp.concurrent_program_id&lt;/P&gt;&lt;P&gt;and cr.actual_start_date &amp;gt;= sysdate - 30&lt;/P&gt;&lt;P&gt;and fu.user_name in ('INV_CLOSE','HANNAHP', 'LSTOTTS','HSIMON')&lt;/P&gt;&lt;P&gt;order by cr.requested_start_date desc, fr.responsibility_name&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Apr 2014 18:39:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filtering-criteria-in-a-table-box/m-p/607310#M1103069</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2014-04-07T18:39:25Z</dc:date>
    </item>
  </channel>
</rss>

