<?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 in Field for three different dimensions in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Select-in-Field-for-three-different-dimensions/m-p/828164#M291566</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The actions in qv won't be always executed sequentially - therefore such chaining from actions failed quite often. Maybe in your case you could get what you want if you used only one action and extend the search-expression like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;max({&amp;lt; [Dimension A] = {'variable_for_A'}&amp;gt;} dim_year &amp;amp; dim_month)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 20 Jul 2015 19:13:58 GMT</pubDate>
    <dc:creator>marcus_sommer</dc:creator>
    <dc:date>2015-07-20T19:13:58Z</dc:date>
    <item>
      <title>Select in Field for three different dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/Select-in-Field-for-three-different-dimensions/m-p/828163#M291565</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm new to this community and hope you can help me with this request:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'd like to implement a requirement that says: "When opening the sheet, the dimension A, the current year and the last completed month should be automatically selected".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried to implement this by using sheet event triggers "On Activate Sheet".&lt;/P&gt;&lt;P&gt;I've created three "Select in Field" actions.&lt;/P&gt;&lt;P&gt;1. Field "Dimension A", Search String "=variable_for_A"&lt;/P&gt;&lt;P&gt;2. Field "Year", Search String: "=max(dim_year)&lt;/P&gt;&lt;P&gt;3. Field "Month", Search String: "=max(dim_month)&lt;/P&gt;&lt;P&gt;Dimension A, Year and Month are stored in three different list boxes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;These actions are working as expected when using them alone. However, if used all together, I don't get the right result. For example, for dimension A data is only received for 2014 and month 1-5. I think this causes the problem. If I hardcode the fields with Year = 2014 and month = 5, then it works. But somehow, the application has problem when selecting Dimension A and not finding 2015 and 6 in the data for this value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could anyone advise, please?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Miguel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Jul 2015 10:58:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-in-Field-for-three-different-dimensions/m-p/828163#M291565</guid>
      <dc:creator />
      <dc:date>2015-07-20T10:58:28Z</dc:date>
    </item>
    <item>
      <title>Re: Select in Field for three different dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/Select-in-Field-for-three-different-dimensions/m-p/828164#M291566</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The actions in qv won't be always executed sequentially - therefore such chaining from actions failed quite often. Maybe in your case you could get what you want if you used only one action and extend the search-expression like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;max({&amp;lt; [Dimension A] = {'variable_for_A'}&amp;gt;} dim_year &amp;amp; dim_month)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Jul 2015 19:13:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-in-Field-for-three-different-dimensions/m-p/828164#M291566</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2015-07-20T19:13:58Z</dc:date>
    </item>
  </channel>
</rss>

