<?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: Selection based on other values in table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Selection-based-on-other-values-in-table/m-p/822243#M289882</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The technique i described above would cause this effect throughout the app:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&amp;gt; Whenever an FOM month was selected, you would filter the current state for records from that month that had TYPE=T. It would be global because its driven by a data model association that ties Type=T to month.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is that what you want for the whole app ? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or when you select a month (any month) you want just one chart to show records for that month where (additionally) Type=T. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 18 Mar 2015 14:25:46 GMT</pubDate>
    <dc:creator>JonnyPoole</dc:creator>
    <dc:date>2015-03-18T14:25:46Z</dc:date>
    <item>
      <title>Selection based on other values in table</title>
      <link>https://community.qlik.com/t5/QlikView/Selection-based-on-other-values-in-table/m-p/822240#M289879</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a table that looks like this:&lt;/P&gt;&lt;DIV&gt;&lt;IMG class="image-1 jive-image" src="https://community.qlik.com/legacyfs/online/81038_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/DIV&gt;&lt;P&gt;In the GUI when i choose december 2014 i want the GROUP that has the TYPE = T to show, hence K. As you can see there are two different groups that are available by december 31st. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just want to make clear that i want this solution in the script. Otherwise i would just select T from the TYPE listbox &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/wink.png" /&gt;. This is just on of many ITEMS just to be clear 'bout that too. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've tried some previous statments in the script but ive only manage to pin point the TOM that has duplicates but i don't know where to go from there. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you! &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Mar 2015 18:46:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Selection-based-on-other-values-in-table/m-p/822240#M289879</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-03-17T18:46:03Z</dc:date>
    </item>
    <item>
      <title>Re: Selection based on other values in table</title>
      <link>https://community.qlik.com/t5/QlikView/Selection-based-on-other-values-in-table/m-p/822241#M289880</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So you want to be able to select the month of 'TOM' and while doing it, it also passes the 'Type' context. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If your load has&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table:&lt;/P&gt;&lt;P&gt;Load &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Item,FOM,TOM,GROUP,TYPE&lt;/P&gt;&lt;P&gt;from &amp;lt;&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can try&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table:&lt;/P&gt;&lt;P&gt;Load &lt;SPAN style="font-size: 13.3333330154419px;"&gt;Item,FOM,TOM,GROUP,TYPE,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; autonumber(monthname(TOM)&amp;amp;TYPE,'MonthTypeKey') as MonthTypeKey&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;from &amp;lt;&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NewTable:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Load&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MonthName(FOM) as FOMMonthName,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MonthTypeKey&lt;/P&gt;&lt;P&gt;resident Table&lt;/P&gt;&lt;P&gt;where TYPE='T';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And then use 'FOMMonthName' as your key .... it should filter for FOM values in the selected month where TYPE is also 'T'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It MAY leave some gaps in the months requiring you to generate a date table and outerjoin it to 'newtable' so that all MonthTypes appear.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Mar 2015 19:17:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Selection-based-on-other-values-in-table/m-p/822241#M289880</guid>
      <dc:creator>JonnyPoole</dc:creator>
      <dc:date>2015-03-17T19:17:01Z</dc:date>
    </item>
    <item>
      <title>Re: Selection based on other values in table</title>
      <link>https://community.qlik.com/t5/QlikView/Selection-based-on-other-values-in-table/m-p/822242#M289881</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a calender connected to the datat in the application where i choose month and Year. And that is connected to FOM and TOM through a interval match to fill the gaps. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My main issue is that when chosing december 2014 i get two groups right now and i only want to have the one with the TYPE = T. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Mar 2015 19:38:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Selection-based-on-other-values-in-table/m-p/822242#M289881</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-03-17T19:38:43Z</dc:date>
    </item>
    <item>
      <title>Re: Selection based on other values in table</title>
      <link>https://community.qlik.com/t5/QlikView/Selection-based-on-other-values-in-table/m-p/822243#M289882</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The technique i described above would cause this effect throughout the app:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&amp;gt; Whenever an FOM month was selected, you would filter the current state for records from that month that had TYPE=T. It would be global because its driven by a data model association that ties Type=T to month.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is that what you want for the whole app ? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or when you select a month (any month) you want just one chart to show records for that month where (additionally) Type=T. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Mar 2015 14:25:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Selection-based-on-other-values-in-table/m-p/822243#M289882</guid>
      <dc:creator>JonnyPoole</dc:creator>
      <dc:date>2015-03-18T14:25:46Z</dc:date>
    </item>
    <item>
      <title>Re: Selection based on other values in table</title>
      <link>https://community.qlik.com/t5/QlikView/Selection-based-on-other-values-in-table/m-p/822244#M289883</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I read my post again thinking i might not have been that clear.. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I only want to choose records with TYPE=T when there are records that have duplicates of the FOM date. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What i want is that when i choose a month i want the correct GROUPS shown in the dimension in a chart. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Mar 2015 19:24:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Selection-based-on-other-values-in-table/m-p/822244#M289883</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-03-18T19:24:11Z</dc:date>
    </item>
    <item>
      <title>Re: Selection based on other values in table</title>
      <link>https://community.qlik.com/t5/QlikView/Selection-based-on-other-values-in-table/m-p/822245#M289884</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Looks like it's working! Thanks! I added a field that checks if there's dublicates of the TOM date in order to only mark those as the once where TYPE = T is also used. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a million! &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//A. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Mar 2015 06:47:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Selection-based-on-other-values-in-table/m-p/822245#M289884</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-03-19T06:47:48Z</dc:date>
    </item>
  </channel>
</rss>

