<?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: Straight table dimension filter based on other field in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Straight-table-dimension-filter-based-on-other-field/m-p/115931#M604664</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;&lt;/P&gt;&lt;P&gt;you could achieve this with action in document :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;action 1 on selection field customer_code :&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; select in field group_name the value : only({&amp;lt;group_name = P({$} customer_code) &amp;gt;} group_name)&lt;/P&gt;&lt;P&gt;action 2 on selection field customer_code :&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; deselect field value&amp;nbsp; : = if(count(group_name)&amp;gt;0,'customer_code')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it should do what you want&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 06 Jul 2018 10:10:29 GMT</pubDate>
    <dc:creator>ogautier62</dc:creator>
    <dc:date>2018-07-06T10:10:29Z</dc:date>
    <item>
      <title>Straight table dimension filter based on other field</title>
      <link>https://community.qlik.com/t5/QlikView/Straight-table-dimension-filter-based-on-other-field/m-p/115930#M604663</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have a straight table with a dimension CUSTOMER_CODE. For some &lt;SPAN style="font-size: 13.3333px;"&gt;CUSTOMER_CODE &lt;/SPAN&gt;I also have a GROUP_NAME, but not all of &lt;SPAN style="font-size: 13.3333px;"&gt;CUSTOMER_CODE &lt;/SPAN&gt;are part of some &lt;SPAN style="font-size: 13.3333px;"&gt;GROUP_NAME.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;What I need is: &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;-if user selects a &lt;SPAN style="font-size: 13.3333px;"&gt;GROUP_NAME&lt;/SPAN&gt;, all &lt;SPAN style="font-size: 13.3333px;"&gt;CUSTOMER_CODE &lt;/SPAN&gt;of this &lt;SPAN style="font-size: 13.3333px;"&gt;GROUP_NAME &lt;/SPAN&gt;should appear in the straight table.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;-if user selects a single &lt;SPAN style="font-size: 13.3333px;"&gt;CUSTOMER_CODE &lt;/SPAN&gt;and it is part of a &lt;SPAN style="font-size: 13.3333px;"&gt;GROUP_NAME&lt;/SPAN&gt;, &lt;SPAN style="font-size: 13.3333px;"&gt;all &lt;SPAN style="font-size: 13.3333px;"&gt;CUSTOMER_CODE &lt;/SPAN&gt;of this &lt;SPAN style="font-size: 13.3333px;"&gt;GROUP_NAME &lt;/SPAN&gt;should appear in the straight table.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;-if user selects a single &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;CUSTOMER_CODE &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;and it is &lt;/SPAN&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;NOT&lt;/STRONG&gt;&lt;SPAN style="font-size: 13.3333px;"&gt; part of a &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;GROUP_NAME&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;, only one row will be shown in straight table (the row of selected &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;CUSTOMER_CODE&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;).&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Exception: if user select more than one &lt;SPAN style="font-size: 13.3333px;"&gt;CUSTOMER_CODE &lt;/SPAN&gt;and/or more than one &lt;SPAN style="font-size: 13.3333px;"&gt;GROUP_NAME&lt;/SPAN&gt;, I've already set a custom error message.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Maybe relevant: CUSTOMER_CODE and GROUP_NAME are in the same table CLIENTS.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Any idea on how to make this?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Thank you in advance.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Henrique&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jul 2018 21:37:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Straight-table-dimension-filter-based-on-other-field/m-p/115930#M604663</guid>
      <dc:creator>h_demarco</dc:creator>
      <dc:date>2018-07-05T21:37:16Z</dc:date>
    </item>
    <item>
      <title>Re: Straight table dimension filter based on other field</title>
      <link>https://community.qlik.com/t5/QlikView/Straight-table-dimension-filter-based-on-other-field/m-p/115931#M604664</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;&lt;/P&gt;&lt;P&gt;you could achieve this with action in document :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;action 1 on selection field customer_code :&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; select in field group_name the value : only({&amp;lt;group_name = P({$} customer_code) &amp;gt;} group_name)&lt;/P&gt;&lt;P&gt;action 2 on selection field customer_code :&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; deselect field value&amp;nbsp; : = if(count(group_name)&amp;gt;0,'customer_code')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it should do what you want&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jul 2018 10:10:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Straight-table-dimension-filter-based-on-other-field/m-p/115931#M604664</guid>
      <dc:creator>ogautier62</dc:creator>
      <dc:date>2018-07-06T10:10:29Z</dc:date>
    </item>
    <item>
      <title>Re: Straight table dimension filter based on other field</title>
      <link>https://community.qlik.com/t5/QlikView/Straight-table-dimension-filter-based-on-other-field/m-p/115932#M604665</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Olivier,&lt;/P&gt;&lt;P&gt;I did some changes on requirements and created a button to execute actions suggested by you.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Thanks for your help. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Henrique&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jul 2018 19:46:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Straight-table-dimension-filter-based-on-other-field/m-p/115932#M604665</guid>
      <dc:creator>h_demarco</dc:creator>
      <dc:date>2018-07-10T19:46:25Z</dc:date>
    </item>
    <item>
      <title>Re: Straight table dimension filter based on other field</title>
      <link>https://community.qlik.com/t5/QlikView/Straight-table-dimension-filter-based-on-other-field/m-p/115933#M604666</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks Henrique,&lt;/P&gt;&lt;P&gt;good dev&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jul 2018 06:16:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Straight-table-dimension-filter-based-on-other-field/m-p/115933#M604666</guid>
      <dc:creator>ogautier62</dc:creator>
      <dc:date>2018-07-11T06:16:24Z</dc:date>
    </item>
  </channel>
</rss>

