<?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 values from dimension with a variable in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Select-values-from-dimension-with-a-variable/m-p/471547#M176095</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to see this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I select one year, and immediately the report select the last month of that year.&lt;/P&gt;&lt;P&gt;On the case of this year, it's June. A sequence of that I want:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Select 2013 ----------------&amp;gt; Report select June&lt;/P&gt;&lt;P&gt;Select 2011 ----------------&amp;gt; Report select Decembrer&lt;/P&gt;&lt;P&gt;Select 2009 ----------------&amp;gt; Report select Decembrer&lt;/P&gt;&lt;P&gt;Select 2013 again -------&amp;gt; Report select June&lt;/P&gt;&lt;P&gt;Select 2009 again -------&amp;gt; Report select December&lt;/P&gt;&lt;P&gt;Select 2013 again -------&amp;gt; Report select June&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 14 Jun 2013 13:21:52 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-06-14T13:21:52Z</dc:date>
    <item>
      <title>Select values from dimension with a variable</title>
      <link>https://community.qlik.com/t5/QlikView/Select-values-from-dimension-with-a-variable/m-p/471544#M176092</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Gretting, I have a little problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the dimension year and month. The years are 2009 to 2013, the month are complete. In the relation Year-Month, for the case of 2013, its last month is June (6).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, I need select the max month for every year when I select the year. In other word, when I select 2009 or 2012, the max month should be 12, and when I select 2013 the max month should be 6.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I create a variable just like that: =If( Year = Max(Year),&amp;nbsp;&amp;nbsp; Max(Month) )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It works, the default value of the archive is the max year, 2013, and select June (6) , but when I select other year, the month not change to 12. If I erase all the filters, and I select 2012 to 2009, the max month is 12, and when I switch to 2013, the max month changs to 6.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is that, for default the year is 2013, and select its max month, but if the first thing that I made is select other year, the max month for 2013, June (6), remain selected, and I need the month change every time that I select a year.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I put a trigger in the dimension 'Year', that take the value for the variable, that's the way that I made.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestion?, I hope to find a solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Jun 2013 14:45:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-values-from-dimension-with-a-variable/m-p/471544#M176092</guid>
      <dc:creator />
      <dc:date>2013-06-13T14:45:21Z</dc:date>
    </item>
    <item>
      <title>Re: Select values from dimension with a variable</title>
      <link>https://community.qlik.com/t5/QlikView/Select-values-from-dimension-with-a-variable/m-p/471545#M176093</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No one can help me?, or Didn't I explain it correctly? &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Jun 2013 16:35:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-values-from-dimension-with-a-variable/m-p/471545#M176093</guid>
      <dc:creator />
      <dc:date>2013-06-13T16:35:59Z</dc:date>
    </item>
    <item>
      <title>Re: Select values from dimension with a variable</title>
      <link>https://community.qlik.com/t5/QlikView/Select-values-from-dimension-with-a-variable/m-p/471546#M176094</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you post a sample application ? It is hard to understand what you mean.&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Jun 2013 06:24:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-values-from-dimension-with-a-variable/m-p/471546#M176094</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-06-14T06:24:42Z</dc:date>
    </item>
    <item>
      <title>Re: Select values from dimension with a variable</title>
      <link>https://community.qlik.com/t5/QlikView/Select-values-from-dimension-with-a-variable/m-p/471547#M176095</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to see this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I select one year, and immediately the report select the last month of that year.&lt;/P&gt;&lt;P&gt;On the case of this year, it's June. A sequence of that I want:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Select 2013 ----------------&amp;gt; Report select June&lt;/P&gt;&lt;P&gt;Select 2011 ----------------&amp;gt; Report select Decembrer&lt;/P&gt;&lt;P&gt;Select 2009 ----------------&amp;gt; Report select Decembrer&lt;/P&gt;&lt;P&gt;Select 2013 again -------&amp;gt; Report select June&lt;/P&gt;&lt;P&gt;Select 2009 again -------&amp;gt; Report select December&lt;/P&gt;&lt;P&gt;Select 2013 again -------&amp;gt; Report select June&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Jun 2013 13:21:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-values-from-dimension-with-a-variable/m-p/471547#M176095</guid>
      <dc:creator />
      <dc:date>2013-06-14T13:21:52Z</dc:date>
    </item>
    <item>
      <title>Re: Select values from dimension with a variable</title>
      <link>https://community.qlik.com/t5/QlikView/Select-values-from-dimension-with-a-variable/m-p/471548#M176096</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;creat a variable and use it as a trigger&amp;nbsp; vmax = max(year)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And&amp;nbsp; create a variable just like that: =If( Year = ' $(vmax) ',&amp;nbsp; Max(Month) )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope it helps &lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Jun 2013 14:23:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-values-from-dimension-with-a-variable/m-p/471548#M176096</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-06-14T14:23:11Z</dc:date>
    </item>
    <item>
      <title>Re: Select values from dimension with a variable</title>
      <link>https://community.qlik.com/t5/QlikView/Select-values-from-dimension-with-a-variable/m-p/471549#M176097</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 you need something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; =Max({&amp;lt;Year = {"$(=Max(Year))"}, Month = &amp;gt;} Month)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Jun 2013 14:47:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-values-from-dimension-with-a-variable/m-p/471549#M176097</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2013-06-14T14:47:08Z</dc:date>
    </item>
    <item>
      <title>Re: Select values from dimension with a variable</title>
      <link>https://community.qlik.com/t5/QlikView/Select-values-from-dimension-with-a-variable/m-p/471550#M176098</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's work perfectly, thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you can me explain why use vmax with the sign '$' and the &lt;SPAN style="color: #666666; font-size: 12px; font-family: Arial, Helvetica, sans-serif;"&gt;single quotes?.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #666666; font-size: 12px; font-family: Arial, Helvetica, sans-serif;"&gt;Thanks you, regards.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Jun 2013 14:55:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-values-from-dimension-with-a-variable/m-p/471550#M176098</guid>
      <dc:creator />
      <dc:date>2013-06-14T14:55:26Z</dc:date>
    </item>
    <item>
      <title>Re: Select values from dimension with a variable</title>
      <link>https://community.qlik.com/t5/QlikView/Select-values-from-dimension-with-a-variable/m-p/471551#M176099</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Works, but when I use like a trigger on the dimension Year, don't work again. Still remain "June" perhaps I change the year &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Jun 2013 15:17:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-values-from-dimension-with-a-variable/m-p/471551#M176099</guid>
      <dc:creator />
      <dc:date>2013-06-14T15:17:03Z</dc:date>
    </item>
  </channel>
</rss>

