<?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: select list box selections based on another list box selection in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/select-list-box-selections-based-on-another-list-box-selection/m-p/1646046#M731069</link>
    <description>&lt;P&gt;Sorrt I don't think I've explained correctly.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I say last 3 months I mean the most recent full 3 months from today i.e.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;today is 12/11/19&amp;nbsp;&lt;/P&gt;&lt;P&gt;Period selection would be 201910,201909,201908&lt;/P&gt;&lt;P&gt;The following month the L3 selction would return periods 201911,201910,201909&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 12 Nov 2019 17:39:34 GMT</pubDate>
    <dc:creator>robmarr789</dc:creator>
    <dc:date>2019-11-12T17:39:34Z</dc:date>
    <item>
      <title>select list box selections based on another list box selection</title>
      <link>https://community.qlik.com/t5/QlikView/select-list-box-selections-based-on-another-list-box-selection/m-p/1645805#M731065</link>
      <description>&lt;P&gt;On the attached I am trying to get it so that when L12 is selected in one list box it will select the last full 12 months from the yearmonth list box. Likewise if L3 is selected is will select the last full 3 months. The selection will automatically change as we move into the subsequent months.&lt;/P&gt;&lt;P&gt;For example today:&lt;/P&gt;&lt;P&gt;L12 - will select periods 201910-201811 (12 selections)&lt;/P&gt;&lt;P&gt;L3 - will select periods 201910-201908 (3 selections)&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 19:41:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/select-list-box-selections-based-on-another-list-box-selection/m-p/1645805#M731065</guid>
      <dc:creator>robmarr789</dc:creator>
      <dc:date>2024-11-16T19:41:38Z</dc:date>
    </item>
    <item>
      <title>Re: select list box selections based on another list box selection</title>
      <link>https://community.qlik.com/t5/QlikView/select-list-box-selections-based-on-another-list-box-selection/m-p/1645850#M731066</link>
      <description>&lt;P&gt;Try This.....!!&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;NO_OF_MONTH&lt;/TD&gt;&lt;TD&gt;LAST_CLOSING_PERIOD&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;L1&lt;/TD&gt;&lt;TD&gt;("Jan")&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;L2&lt;/TD&gt;&lt;TD&gt;("Jan"|"Feb")&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;L3&lt;/TD&gt;&lt;TD&gt;("Jan"|"Feb"|"Mar")&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;L4&lt;/TD&gt;&lt;TD&gt;("Jan"|"Feb"|"Mar"|"Apr")&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;L5&lt;/TD&gt;&lt;TD&gt;("Jan"|"Feb"|"Mar"|"Apr"|"May")&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;L6&lt;/TD&gt;&lt;TD&gt;("Jan"|"Feb"|"Mar"|"Apr"|"May"|"Jun")&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;L7&lt;/TD&gt;&lt;TD&gt;("Jan"|"Feb"|"Mar"|"Apr"|"May"|"Jun"|"Jul")&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;L8&lt;/TD&gt;&lt;TD&gt;("Jan"|"Feb"|"Mar"|"Apr"|"May"|"Jun"|"Jul"|"Aug")&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;L9&lt;/TD&gt;&lt;TD&gt;("Jan"|"Feb"|"Mar"|"Apr"|"May"|"Jun"|"Jul"|"Aug"|"Sep")&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;L10&lt;/TD&gt;&lt;TD&gt;("Jan"|"Feb"|"Mar"|"Apr"|"May"|"Jun"|"Jul"|"Aug"|"Sep"|"Oct")&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;L11&lt;/TD&gt;&lt;TD&gt;("Jan"|"Feb"|"Mar"|"Apr"|"May"|"Jun"|"Jul"|"Aug"|"Sep"|"Oct"|"Nov")&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;L12&lt;/TD&gt;&lt;TD&gt;("Jan"|"Feb"|"Mar"|"Apr"|"May"|"Jun"|"Jul"|"Aug"|"Sep"|"Oct"|"Nov"|"Dec")&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;</description>
      <pubDate>Tue, 12 Nov 2019 13:13:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/select-list-box-selections-based-on-another-list-box-selection/m-p/1645850#M731066</guid>
      <dc:creator>QlikJunkie</dc:creator>
      <dc:date>2019-11-12T13:13:42Z</dc:date>
    </item>
    <item>
      <title>Re: select list box selections based on another list box selection</title>
      <link>https://community.qlik.com/t5/QlikView/select-list-box-selections-based-on-another-list-box-selection/m-p/1645872#M731067</link>
      <description>&lt;P&gt;Thanks but unfortunately this doesn't work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;L1 for example should select period 201910 as this is the last full month from today.&amp;nbsp; (Next month is would select 201911).&lt;/P&gt;&lt;P&gt;L2 would select 201910 and 201909 and so on....&lt;/P&gt;&lt;P&gt;It also needs to select the periods in the existing format in the list box.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Nov 2019 13:39:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/select-list-box-selections-based-on-another-list-box-selection/m-p/1645872#M731067</guid>
      <dc:creator>robmarr789</dc:creator>
      <dc:date>2019-11-12T13:39:38Z</dc:date>
    </item>
    <item>
      <title>Re: select list box selections based on another list box selection</title>
      <link>https://community.qlik.com/t5/QlikView/select-list-box-selections-based-on-another-list-box-selection/m-p/1645880#M731068</link>
      <description>&lt;P&gt;Try this:&lt;/P&gt;&lt;P&gt;In Settings &amp;gt; Document Properties &amp;gt; Triggers &amp;gt; Field Event Triggers &amp;gt; SelectionPeriod &amp;gt; OnSelect &amp;gt; Edit Actions &amp;gt; Select In Field &amp;gt; Field : YearMonth &amp;gt; Search String &amp;gt;&lt;/P&gt;&lt;P&gt;=if(GetFieldSelections(SelectionPeriod)='L12','('&amp;amp;Concat(DISTINCT if(aggr(Rank(YearMonth),YearMonth)&amp;lt;=12, YearMonth),'|')&amp;amp;')',&lt;BR /&gt;if(GetFieldSelections(SelectionPeriod)='L3','('&amp;amp;Concat(DISTINCT if(aggr(Rank(YearMonth),YearMonth)&amp;lt;=3, YearMonth),'|')&amp;amp;')'))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MC.PNG" style="width: 977px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/23458i14BEB3BDD84B8DD9/image-size/large?v=v2&amp;amp;px=999" role="button" title="MC.PNG" alt="MC.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Refer qvw attached as reference.&lt;/P&gt;&lt;P&gt;Thanks and regards,&lt;/P&gt;&lt;P&gt;Arthur Fong&lt;/P&gt;</description>
      <pubDate>Tue, 12 Nov 2019 13:53:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/select-list-box-selections-based-on-another-list-box-selection/m-p/1645880#M731068</guid>
      <dc:creator>Arthur_Fong</dc:creator>
      <dc:date>2019-11-12T13:53:10Z</dc:date>
    </item>
    <item>
      <title>Re: select list box selections based on another list box selection</title>
      <link>https://community.qlik.com/t5/QlikView/select-list-box-selections-based-on-another-list-box-selection/m-p/1646046#M731069</link>
      <description>&lt;P&gt;Sorrt I don't think I've explained correctly.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I say last 3 months I mean the most recent full 3 months from today i.e.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;today is 12/11/19&amp;nbsp;&lt;/P&gt;&lt;P&gt;Period selection would be 201910,201909,201908&lt;/P&gt;&lt;P&gt;The following month the L3 selction would return periods 201911,201910,201909&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Nov 2019 17:39:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/select-list-box-selections-based-on-another-list-box-selection/m-p/1646046#M731069</guid>
      <dc:creator>robmarr789</dc:creator>
      <dc:date>2019-11-12T17:39:34Z</dc:date>
    </item>
    <item>
      <title>Re: select list box selections based on another list box selection</title>
      <link>https://community.qlik.com/t5/QlikView/select-list-box-selections-based-on-another-list-box-selection/m-p/1646112#M731070</link>
      <description>&lt;P&gt;Try this:&lt;/P&gt;&lt;P&gt;=if(GetFieldSelections(SelectionPeriod)='L12','('&amp;amp;Concat(DISTINCT if(aggr(Rank(YearMonth),YearMonth)&amp;lt;=14 and YearMonth&amp;lt;num#(text(date(today(),'YYYYMM'))), YearMonth),'|')&amp;amp;')',&lt;BR /&gt;if(GetFieldSelections(SelectionPeriod)='L3','('&amp;amp;Concat(DISTINCT if(aggr(Rank(YearMonth),YearMonth)&amp;lt;=5 and YearMonth&amp;lt;num#(text(date(today(),'YYYYMM'))), YearMonth),'|')&amp;amp;')'))&lt;/P&gt;</description>
      <pubDate>Wed, 13 Nov 2019 00:00:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/select-list-box-selections-based-on-another-list-box-selection/m-p/1646112#M731070</guid>
      <dc:creator>Arthur_Fong</dc:creator>
      <dc:date>2019-11-13T00:00:43Z</dc:date>
    </item>
    <item>
      <title>Re: select list box selections based on another list box selection</title>
      <link>https://community.qlik.com/t5/QlikView/select-list-box-selections-based-on-another-list-box-selection/m-p/1647971#M731071</link>
      <description>&lt;P&gt;Rob, did Arthur's latest post get you a working solution?&amp;nbsp; If so, do not forget to return to the thread and use the Accept as Solution button on the post(s) that helped you get the working solution, so the posters receive credit for the assistance provided and other Community members know what actually worked.&amp;nbsp; If you are still working upon things, please leave an update with current status.&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Brett&lt;/P&gt;</description>
      <pubDate>Mon, 18 Nov 2019 14:07:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/select-list-box-selections-based-on-another-list-box-selection/m-p/1647971#M731071</guid>
      <dc:creator>Brett_Bleess</dc:creator>
      <dc:date>2019-11-18T14:07:51Z</dc:date>
    </item>
  </channel>
</rss>

