<?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: How to 'input' a required selection ? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-input-a-required-selection/m-p/352804#M573797</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;vishnu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;why not use the range as a parameter that will act somthing like a 'top n' values?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in dimension limits, you select top n limitation and put there a parameter&lt;/P&gt;&lt;P&gt;then, you create a slider or a drop down list with only number and when selecting a number it will be put into the parameter allowing to calculate the top n years in your case....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 14 Jun 2012 10:57:10 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-06-14T10:57:10Z</dc:date>
    <item>
      <title>How to 'input' a required selection ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-input-a-required-selection/m-p/352803#M573796</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;In my dashboard, at the script side, I am calculating a calender table with columns like &lt;EM&gt;Year, Quarter&lt;/EM&gt; and &lt;EM&gt;Month&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The customer requirement at UI now changed and they want a filter of the following sort,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;..that is, they want in a multibox, with two dropdowns. &lt;EM&gt;1)Period 2)Range&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;In period dropdown, they want to see the values &lt;EM&gt;Year, Quarter&lt;/EM&gt; and &lt;EM&gt;Month&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;In range dropdown, they want to see the values from &lt;EM&gt;1-10&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now on selecting say &lt;EM&gt;Year &lt;/EM&gt;in the &lt;EM&gt;Period&lt;/EM&gt; dropdown and on selecting say &lt;EM&gt;5&lt;/EM&gt; from the &lt;EM&gt;Range&lt;/EM&gt; dropdown, they want the dashboad selection to be set for last five years.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have no idea how to implement this without altering the current way the data is structured at the script side.&lt;/P&gt;&lt;P&gt;If anyone can guide me with suggestions/ideas..that would be of great help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Vishnu &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jun 2012 10:52:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-input-a-required-selection/m-p/352803#M573796</guid>
      <dc:creator />
      <dc:date>2012-06-14T10:52:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to 'input' a required selection ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-input-a-required-selection/m-p/352804#M573797</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;vishnu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;why not use the range as a parameter that will act somthing like a 'top n' values?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in dimension limits, you select top n limitation and put there a parameter&lt;/P&gt;&lt;P&gt;then, you create a slider or a drop down list with only number and when selecting a number it will be put into the parameter allowing to calculate the top n years in your case....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jun 2012 10:57:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-input-a-required-selection/m-p/352804#M573797</guid>
      <dc:creator />
      <dc:date>2012-06-14T10:57:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to 'input' a required selection ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-input-a-required-selection/m-p/352805#M573798</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is easy to implement with variables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Instead of multibox add &lt;SPAN style="text-decoration: underline;"&gt;input box&lt;/SPAN&gt; with two new variables to select Period and Range (use "predefined values in drop-down" as constrain).&lt;/P&gt;&lt;P&gt;Then create a variable vRangeStart to store required starting date of dashboard data.&lt;/P&gt;&lt;P&gt;For this variable add expression to recalculate the date every time user changes Period or Range.&lt;/P&gt;&lt;P&gt;Something like this:&lt;/P&gt;&lt;P&gt;=date(&lt;/P&gt;&lt;P&gt;&amp;nbsp; if(vPeriod = 'Year', makedate(year(today())-vRange),&lt;/P&gt;&lt;P&gt;&amp;nbsp; if(vPeriod = 'Month', addmonths(monthstart(today()), -vRange),&lt;/P&gt;&lt;P&gt;&amp;nbsp; if(vPeriod = 'Quarter', addmonths(quarterstart(today()), -vRange * 3))))&lt;/P&gt;&lt;P&gt;&amp;nbsp; )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In dashboard expressions add if-statement or set-analysis syntax to always limit the data to &lt;/P&gt;&lt;P&gt;Date &amp;gt;=vRangeStart.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jun 2012 12:08:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-input-a-required-selection/m-p/352805#M573798</guid>
      <dc:creator>tanelry</dc:creator>
      <dc:date>2012-06-14T12:08:04Z</dc:date>
    </item>
  </channel>
</rss>

