<?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 Populating dimension values based on the selection in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Populating-dimension-values-based-on-the-selection/m-p/891275#M310447</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello QV Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a line chart that shows count of Assets (Y axis) per &lt;STRONG&gt;Calendar Year&lt;/STRONG&gt; (X axis). In the dashboard there is a list box for field &lt;STRONG&gt;Calendar Year&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;When I select a value in Calendar Year list box (eg: 2013) the line chart gets updated such that it only shows 2013 in x axis. I know this is expected however a line chart with just one dimension value in X axis is not quite meaningful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I am trying to achieve is this:-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When a user selects a year in &lt;STRONG&gt;Calendar Year&lt;/STRONG&gt; list box (eg: &lt;EM&gt;2010&lt;/EM&gt;) then I want the line chart to show 3 values in X axis: selectedyear-1 , selectedyear and selectedyear +1 (eg: when 2010 is selected in Calendar Year list box, the x axis of line chart should plot for: 2009, 2010 and 2011)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to get this done using calculated dimension with IF statements but no luck so far.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ideas?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Nakul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 19 May 2015 20:19:36 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-05-19T20:19:36Z</dc:date>
    <item>
      <title>Populating dimension values based on the selection</title>
      <link>https://community.qlik.com/t5/QlikView/Populating-dimension-values-based-on-the-selection/m-p/891275#M310447</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello QV Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a line chart that shows count of Assets (Y axis) per &lt;STRONG&gt;Calendar Year&lt;/STRONG&gt; (X axis). In the dashboard there is a list box for field &lt;STRONG&gt;Calendar Year&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;When I select a value in Calendar Year list box (eg: 2013) the line chart gets updated such that it only shows 2013 in x axis. I know this is expected however a line chart with just one dimension value in X axis is not quite meaningful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I am trying to achieve is this:-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When a user selects a year in &lt;STRONG&gt;Calendar Year&lt;/STRONG&gt; list box (eg: &lt;EM&gt;2010&lt;/EM&gt;) then I want the line chart to show 3 values in X axis: selectedyear-1 , selectedyear and selectedyear +1 (eg: when 2010 is selected in Calendar Year list box, the x axis of line chart should plot for: 2009, 2010 and 2011)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to get this done using calculated dimension with IF statements but no luck so far.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ideas?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Nakul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 May 2015 20:19:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Populating-dimension-values-based-on-the-selection/m-p/891275#M310447</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-05-19T20:19:36Z</dc:date>
    </item>
    <item>
      <title>Re: Populating dimension values based on the selection</title>
      <link>https://community.qlik.com/t5/QlikView/Populating-dimension-values-based-on-the-selection/m-p/891276#M310448</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please check if fits your needs&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 May 2015 20:35:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Populating-dimension-values-based-on-the-selection/m-p/891276#M310448</guid>
      <dc:creator>Clever_Anjos</dc:creator>
      <dc:date>2015-05-19T20:35:36Z</dc:date>
    </item>
    <item>
      <title>Re: Populating dimension values based on the selection</title>
      <link>https://community.qlik.com/t5/QlikView/Populating-dimension-values-based-on-the-selection/m-p/891277#M310449</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;works like a charm! Thank you Anjos.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 May 2015 14:18:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Populating-dimension-values-based-on-the-selection/m-p/891277#M310449</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-05-20T14:18:28Z</dc:date>
    </item>
  </channel>
</rss>

