<?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 Dimension &amp; Expression Change Based on Selection? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Dimension-Expression-Change-Based-on-Selection/m-p/220360#M73284</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You need to create fields to store your list of dimensions and expressions. You can use an Inline load or pull from a database.&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;LOAD * INLINE [&lt;BR /&gt; Dimensions&lt;BR /&gt; Customer&lt;BR /&gt; Region&lt;BR /&gt; Store&lt;BR /&gt;];&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Then use GetFieldSelections(Dimensions) to tell you what the user has selected. For dimension, create a Calculated Dimension:&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;If(GetFieldSelections(Dimensions) = 'Customer', Customer, Region)&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;Something like that. &lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;There are other considerations, like requiring a selection and handling multiple selections, but that should give you a start.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 10 Dec 2010 18:56:24 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-12-10T18:56:24Z</dc:date>
    <item>
      <title>Dimension &amp; Expression Change Based on Selection?</title>
      <link>https://community.qlik.com/t5/QlikView/Dimension-Expression-Change-Based-on-Selection/m-p/220359#M73283</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you look at the "scatter plot comparison" tab on the follow demo:&lt;/P&gt;&lt;P&gt;http://gcr.weforum.org/gcr09/?document=World%20Economics%20Forum.qvw&amp;amp;host=Demo10&amp;amp;anonymous=true&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can select a dimension and an expression and it changes the chart. Sadly I can't just right click properties, but I'm interested in how they did this. Anyone have any ideas?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Dec 2010 17:54:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dimension-Expression-Change-Based-on-Selection/m-p/220359#M73283</guid>
      <dc:creator />
      <dc:date>2010-12-10T17:54:18Z</dc:date>
    </item>
    <item>
      <title>Dimension &amp; Expression Change Based on Selection?</title>
      <link>https://community.qlik.com/t5/QlikView/Dimension-Expression-Change-Based-on-Selection/m-p/220360#M73284</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You need to create fields to store your list of dimensions and expressions. You can use an Inline load or pull from a database.&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;LOAD * INLINE [&lt;BR /&gt; Dimensions&lt;BR /&gt; Customer&lt;BR /&gt; Region&lt;BR /&gt; Store&lt;BR /&gt;];&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Then use GetFieldSelections(Dimensions) to tell you what the user has selected. For dimension, create a Calculated Dimension:&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;If(GetFieldSelections(Dimensions) = 'Customer', Customer, Region)&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;Something like that. &lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;There are other considerations, like requiring a selection and handling multiple selections, but that should give you a start.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Dec 2010 18:56:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dimension-Expression-Change-Based-on-Selection/m-p/220360#M73284</guid>
      <dc:creator />
      <dc:date>2010-12-10T18:56:24Z</dc:date>
    </item>
  </channel>
</rss>

