<?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: Help with variable based dimension switching in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Help-with-variable-based-dimension-switching/m-p/1448184#M35277</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is strange... would you be able to mock up a sample where we can see the issue?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 07 Sep 2017 01:04:16 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2017-09-07T01:04:16Z</dc:date>
    <item>
      <title>Help with variable based dimension switching</title>
      <link>https://community.qlik.com/t5/App-Development/Help-with-variable-based-dimension-switching/m-p/1448183#M35276</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;I am using a variable based dimension switch on a Qlik Sense report as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Dimension expression: [$(vDimLevel1]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;The vDimLevel1 variable holds a string value of a field name, that is derived based on some other criteria, that I do not want to complicate this discussion with. So keeping it simple, this variable gets a field name (string), which then the expression converts to an actual field name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;It works!&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;It works just fine when I use it on a pivot table and also as a dimension in a chart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Funny thing, Qlik Sense does not like it when I add such an expression, as a second dimension in any kind of visualization object.&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;The same exact expression works just fine when used as a second dimension in a Pivot table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;This is driving me crazy.&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Is this a Product bug or do chart axes (2nd dimension) need a different format of $ expansion or something?&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Plz help... plz plz plz&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Sep 2017 21:44:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Help-with-variable-based-dimension-switching/m-p/1448183#M35276</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-09-06T21:44:12Z</dc:date>
    </item>
    <item>
      <title>Re: Help with variable based dimension switching</title>
      <link>https://community.qlik.com/t5/App-Development/Help-with-variable-based-dimension-switching/m-p/1448184#M35277</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is strange... would you be able to mock up a sample where we can see the issue?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Sep 2017 01:04:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Help-with-variable-based-dimension-switching/m-p/1448184#M35277</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-09-07T01:04:16Z</dc:date>
    </item>
    <item>
      <title>Re: Help with variable based dimension switching</title>
      <link>https://community.qlik.com/t5/App-Development/Help-with-variable-based-dimension-switching/m-p/1448185#M35278</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This seems to be a bug, and is currently with Qlik support.&lt;/P&gt;&lt;P&gt;Also, looks like I missed an important part of the story.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This error does not occur, if I use static variables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It happens when I used an expression in a variable and then use a dollar sign expansion with the variable, at run-time to switch dimensions. It throws an error, when using such in the 2nd dimension in a graph.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Sep 2017 15:27:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Help-with-variable-based-dimension-switching/m-p/1448185#M35278</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-09-22T15:27:19Z</dc:date>
    </item>
  </channel>
</rss>

