<?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 Straight table values filtering in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Straight-table-values-filtering/m-p/455714#M170101</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've got an issue with one table where I want to filter values that are not corresponding to my query. Or more exactly, the current query I make let appear all the values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the screenshot of the table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="27246" class="jive-image" alt="Capture.JPG" src="https://community.qlik.com/legacyfs/online/27246_Capture.JPG" /&gt;&lt;/P&gt;&lt;P&gt;In this table, the first 2 columns are dimensions (customer code and date of delivery)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the 3rd one is based on this expression :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;count(DISTINCT {$&amp;lt;[Entete Souche]={'Facturation'}, [Entete Type]={6},[Entete Provenance]={'Avoir'},[Entete Type Avoir]={"GLOBAL"}&amp;gt;} CodeDocument)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and works perfectly&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and the 4th is currently :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=count({1&amp;lt;[Entete Souche]={'Facturation'}, [Entete Type]={6},[Entete Provenance]={'Facture'}&amp;gt;} DISTINCT CodeDocument)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This expression is giving me all the deliveries within the database but I want only to get those correspondig to the customers that have an "Avoirs" (column 3 &amp;gt; 0). I've tried different solutions but none work for now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any idea ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 20 Dec 2012 09:36:10 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-12-20T09:36:10Z</dc:date>
    <item>
      <title>Straight table values filtering</title>
      <link>https://community.qlik.com/t5/QlikView/Straight-table-values-filtering/m-p/455714#M170101</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've got an issue with one table where I want to filter values that are not corresponding to my query. Or more exactly, the current query I make let appear all the values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the screenshot of the table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="27246" class="jive-image" alt="Capture.JPG" src="https://community.qlik.com/legacyfs/online/27246_Capture.JPG" /&gt;&lt;/P&gt;&lt;P&gt;In this table, the first 2 columns are dimensions (customer code and date of delivery)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the 3rd one is based on this expression :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;count(DISTINCT {$&amp;lt;[Entete Souche]={'Facturation'}, [Entete Type]={6},[Entete Provenance]={'Avoir'},[Entete Type Avoir]={"GLOBAL"}&amp;gt;} CodeDocument)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and works perfectly&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and the 4th is currently :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=count({1&amp;lt;[Entete Souche]={'Facturation'}, [Entete Type]={6},[Entete Provenance]={'Facture'}&amp;gt;} DISTINCT CodeDocument)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This expression is giving me all the deliveries within the database but I want only to get those correspondig to the customers that have an "Avoirs" (column 3 &amp;gt; 0). I've tried different solutions but none work for now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any idea ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Dec 2012 09:36:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Straight-table-values-filtering/m-p/455714#M170101</guid>
      <dc:creator />
      <dc:date>2012-12-20T09:36:10Z</dc:date>
    </item>
    <item>
      <title>Re: Straight table values filtering</title>
      <link>https://community.qlik.com/t5/QlikView/Straight-table-values-filtering/m-p/455715#M170102</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=count({1&amp;lt;[Entete Souche]={'Facturation'}, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Entete Type]={6},&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Entete Provenance]={'Facture'},&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CodeDocument = {"=$(count(DISTINCT {$&amp;lt;[Entete Souche]={'Facturation'}, &lt;/P&gt;&lt;P&gt;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Entete Type]={6},&lt;/P&gt;&lt;P&gt;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Entete Provenance]={'Avoir'},&lt;/P&gt;&lt;P&gt;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Entete Type Avoir]={'GLOBAL'}&amp;gt;} CodeDocument)&amp;gt;0)"}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;gt;} DISTINCT CodeDocument)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Dec 2012 10:07:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Straight-table-values-filtering/m-p/455715#M170102</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2012-12-20T10:07:35Z</dc:date>
    </item>
    <item>
      <title>Re: Straight table values filtering</title>
      <link>https://community.qlik.com/t5/QlikView/Straight-table-values-filtering/m-p/455716#M170103</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The code you add return 0 as code document but I think this is the idea to return the documents codes based on current selection.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Dec 2012 11:20:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Straight-table-values-filtering/m-p/455716#M170103</guid>
      <dc:creator />
      <dc:date>2012-12-20T11:20:51Z</dc:date>
    </item>
    <item>
      <title>Re: Straight table values filtering</title>
      <link>https://community.qlik.com/t5/QlikView/Straight-table-values-filtering/m-p/455717#M170104</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think this might help you..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the query, give an alias to the field you are fetching,&lt;/P&gt;&lt;P&gt;ex)&lt;/P&gt;&lt;P&gt;select name &lt;SPAN style="color: #ff0000;"&gt;as NAME_TEMP.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;Then, in your chart, populate 'NAME_TEMP' instead of name. Note that no other query should have this alias for the same field.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Then, go to Settings-&amp;gt;Document Properties-&amp;gt;Tables-&amp;gt; check Loosely Coupled for all tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this solves your problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anju&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Dec 2012 11:32:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Straight-table-values-filtering/m-p/455717#M170104</guid>
      <dc:creator />
      <dc:date>2012-12-20T11:32:50Z</dc:date>
    </item>
    <item>
      <title>Re: Straight table values filtering</title>
      <link>https://community.qlik.com/t5/QlikView/Straight-table-values-filtering/m-p/455718#M170105</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If I do that I loose all the links among the different tables in the data structure and so the queries in other chart no more work :s&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Dec 2012 11:53:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Straight-table-values-filtering/m-p/455718#M170105</guid>
      <dc:creator />
      <dc:date>2012-12-20T11:53:30Z</dc:date>
    </item>
    <item>
      <title>Re: Straight table values filtering</title>
      <link>https://community.qlik.com/t5/QlikView/Straight-table-values-filtering/m-p/455719#M170106</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you share your app please?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Dec 2012 11:57:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Straight-table-values-filtering/m-p/455719#M170106</guid>
      <dc:creator />
      <dc:date>2012-12-20T11:57:25Z</dc:date>
    </item>
    <item>
      <title>Re: Straight table values filtering</title>
      <link>https://community.qlik.com/t5/QlikView/Straight-table-values-filtering/m-p/455720#M170107</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can check this doc.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Dec 2012 11:59:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Straight-table-values-filtering/m-p/455720#M170107</guid>
      <dc:creator />
      <dc:date>2012-12-20T11:59:43Z</dc:date>
    </item>
    <item>
      <title>Re: Straight table values filtering</title>
      <link>https://community.qlik.com/t5/QlikView/Straight-table-values-filtering/m-p/455721#M170108</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;note that in my doc,&lt;/P&gt;&lt;P&gt;i have modified the expressions field...in one chart, I populate payingbase_subscriber, in the other I populate payingbase_vod etc...all fetched from independent queries, but my dimension fields have same alias, i.e partner and batchmonth,,and the filters are these two fields...so, on making selections to these fields, since the two filters are common to all queries, the link between tables won't be lost.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anju&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Dec 2012 12:04:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Straight-table-values-filtering/m-p/455721#M170108</guid>
      <dc:creator />
      <dc:date>2012-12-20T12:04:32Z</dc:date>
    </item>
    <item>
      <title>Re: Straight table values filtering</title>
      <link>https://community.qlik.com/t5/QlikView/Straight-table-values-filtering/m-p/455722#M170109</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is the file. I take a look at your example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The table I'm talking about is on the second tab, down right, called Avoir.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I make the selection of the weeks on wich I do the control and I verify with this specific table whether I had multiple orders the day of delivery of the original invoice on which there is a credit note placed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sebastien&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Dec 2012 13:17:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Straight-table-values-filtering/m-p/455722#M170109</guid>
      <dc:creator />
      <dc:date>2012-12-20T13:17:02Z</dc:date>
    </item>
    <item>
      <title>Re: Straight table values filtering</title>
      <link>https://community.qlik.com/t5/QlikView/Straight-table-values-filtering/m-p/455723#M170110</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe we're making this harder than it needs to be. Does this give the result you want:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if(Avoirs&amp;gt;0, count({1&amp;lt;[Entete Souche]={'Facturation'}, [Entete Type]={6},[Entete Provenance]={'Facture'}&amp;gt;} DISTINCT CodeDocument))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Dec 2012 13:26:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Straight-table-values-filtering/m-p/455723#M170110</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2012-12-20T13:26:57Z</dc:date>
    </item>
    <item>
      <title>Re: Straight table values filtering</title>
      <link>https://community.qlik.com/t5/QlikView/Straight-table-values-filtering/m-p/455724#M170111</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hehe. That's so simple. You've done it Gysbert. THank you very much. (I fee a bit stupid not to have think of that ^^) &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Dec 2012 13:48:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Straight-table-values-filtering/m-p/455724#M170111</guid>
      <dc:creator />
      <dc:date>2012-12-20T13:48:29Z</dc:date>
    </item>
  </channel>
</rss>

