<?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: Dynamic Dimensions - Changes Based on Current Selection in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Dynamic-Dimensions-Changes-Based-on-Current-Selection/m-p/511623#M191141</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Unfortunately that QVW doesn't work for this issue. The CustomerID values cannot be in the straight table. This is a table summing up the # of Customers per "Years From" value. "Years From" should be the dimension but I can't get that expression to become a dimension. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In your example, it still only takes the first "Years From" value and doesn't display all values.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 17 Jan 2014 15:22:27 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-01-17T15:22:27Z</dc:date>
    <item>
      <title>Dynamic Dimensions - Changes Based on Current Selection</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-Dimensions-Changes-Based-on-Current-Selection/m-p/511621#M191139</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a client that would like display the count of Customers that purchased a hearing aid in the currently selected year and when their last purchase as using a "Years From" dimension: &lt;/P&gt;&lt;P&gt;&lt;IMG alt="YearsFromStraightTable.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/51508_YearsFromStraightTable.png" /&gt;&lt;/P&gt;&lt;P&gt;If customer, A, purchased a hearing aid in 2008 and customer, B, purchased in 2010 with the year 2013 is selected from the QV app master calendar, the "Years From" dimension would have "5 years" and "3 years" because 2013-2008 = 5 and 2013-2010 = 3. The expression in the straight table is Number of Customers = Count(DISTINCT CustomerID) per dimension.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But if the user selects 2014, those dimension values change to "+5 years" and "4 years". &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have not yet been able to find out how to have the "Years From" dimension dynamically change based on the Year selected. Attached is a sample app.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jan 2014 22:48:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-Dimensions-Changes-Based-on-Current-Selection/m-p/511621#M191139</guid>
      <dc:creator />
      <dc:date>2014-01-14T22:48:35Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Dimensions - Changes Based on Current Selection</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-Dimensions-Changes-Based-on-Current-Selection/m-p/511622#M191140</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How about the Years From (New) chart in the attached .qvw file?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jan 2014 19:09:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-Dimensions-Changes-Based-on-Current-Selection/m-p/511622#M191140</guid>
      <dc:creator>Nicole-Smith</dc:creator>
      <dc:date>2014-01-16T19:09:07Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Dimensions - Changes Based on Current Selection</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-Dimensions-Changes-Based-on-Current-Selection/m-p/511623#M191141</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Unfortunately that QVW doesn't work for this issue. The CustomerID values cannot be in the straight table. This is a table summing up the # of Customers per "Years From" value. "Years From" should be the dimension but I can't get that expression to become a dimension. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In your example, it still only takes the first "Years From" value and doesn't display all values.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jan 2014 15:22:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-Dimensions-Changes-Based-on-Current-Selection/m-p/511623#M191141</guid>
      <dc:creator />
      <dc:date>2014-01-17T15:22:27Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Dynamic Dimensions - Changes Based on Current Selection</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-Dimensions-Changes-Based-on-Current-Selection/m-p/511624#M191142</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;Mark&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would a Calculated Dimension like this help ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;&lt;SPAN style="color: #993300;"&gt;&lt;EM&gt;= if ( (GetFieldSelections(Year) - PurchaseYear)&amp;nbsp; &amp;gt; 0 ,&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;&lt;SPAN style="color: #993300;"&gt;&lt;EM&gt;If( (GetFieldSelections(Year) - PurchaseYear)&amp;nbsp; &amp;gt;5 , &lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;&lt;SPAN style="color: #993300;"&gt;&lt;EM&gt;'+5 years', (GetFieldSelections(Year) - PurchaseYear) )&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;&lt;SPAN style="color: #993300;"&gt;&lt;EM&gt;, null() )&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See attached sample.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I used a Pivot Table object so I could see the underlying data, you can change it to whatever object type you wish.&amp;nbsp; Also on the Year &lt;EM&gt;List Box&lt;/EM&gt; I have set it to &lt;EM&gt;Always One Selected Value&lt;/EM&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;Bill&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 18 Jan 2014 19:05:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-Dimensions-Changes-Based-on-Current-Selection/m-p/511624#M191142</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-01-18T19:05:39Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Dynamic Dimensions - Changes Based on Current Selection</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-Dimensions-Changes-Based-on-Current-Selection/m-p/511625#M191143</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mark,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please check out the attached.&amp;nbsp; I think it gives you what you're looking for.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Jan 2014 20:31:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-Dimensions-Changes-Based-on-Current-Selection/m-p/511625#M191143</guid>
      <dc:creator>Nicole-Smith</dc:creator>
      <dc:date>2014-01-20T20:31:30Z</dc:date>
    </item>
  </channel>
</rss>

