<?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: Use Variable as Dimension in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Use-Variable-as-Dimension/m-p/261895#M585597</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you!&amp;nbsp; I was missing the dollar sign.&amp;nbsp; Any suggestion on how to get field names to display in the drop down without the brackets around it and still get it to still work as a field selection? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 09 Aug 2011 19:00:29 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-08-09T19:00:29Z</dc:date>
    <item>
      <title>Use Variable as Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Use-Variable-as-Dimension/m-p/261890#M585590</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to create a variable that lists out several field options that would be incorporated into a table chart that would allow the user to change the dimension by changing the variable selection.&amp;nbsp; I want to avoid using an if statement as a calculated dimensior for performance reasons.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Aug 2011 16:58:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-Variable-as-Dimension/m-p/261890#M585590</guid>
      <dc:creator />
      <dc:date>2011-08-09T16:58:55Z</dc:date>
    </item>
    <item>
      <title>Use Variable as Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Use-Variable-as-Dimension/m-p/261891#M585591</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi kcambell,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As i understand you want to create a list which holds different dimension list and when you select it. Then you have to analysis pertecular data am i right. If you have any sample then provide me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anand&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Aug 2011 17:18:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-Variable-as-Dimension/m-p/261891#M585591</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2011-08-09T17:18:18Z</dc:date>
    </item>
    <item>
      <title>Use Variable as Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Use-Variable-as-Dimension/m-p/261892#M585593</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'd just use a cyclic field group.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's easy to do what I think you're asking for, though.&amp;nbsp; Create a variable like vField.&amp;nbsp; Use $(vField) as your chart dimension.&amp;nbsp; If you want to limit the users to specific fields and give them a drop down, say, go to the constraints tab of the input box, select "predefined values in drop-down", checkmark "listed values", and then list your field names separated by semicolons in the box.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Aug 2011 18:03:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-Variable-as-Dimension/m-p/261892#M585593</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2011-08-09T18:03:59Z</dc:date>
    </item>
    <item>
      <title>Use Variable as Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Use-Variable-as-Dimension/m-p/261893#M585594</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have tried what you suggested, but all it does is list out the variable selection instead of the data that would belong to that field name. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Aug 2011 18:25:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-Variable-as-Dimension/m-p/261893#M585594</guid>
      <dc:creator />
      <dc:date>2011-08-09T18:25:37Z</dc:date>
    </item>
    <item>
      <title>Re: Use Variable as Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Use-Variable-as-Dimension/m-p/261894#M585595</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It works fine for me.&amp;nbsp; See attached, which also compares it to using a cyclic dimension, my suggested approach.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edit: It looks like you probably forgot the dollar sign expansion, $().&amp;nbsp; If I leave that off, I see just the field name, not the field values.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Aug 2011 18:43:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-Variable-as-Dimension/m-p/261894#M585595</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2011-08-09T18:43:03Z</dc:date>
    </item>
    <item>
      <title>Re: Use Variable as Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Use-Variable-as-Dimension/m-p/261895#M585597</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you!&amp;nbsp; I was missing the dollar sign.&amp;nbsp; Any suggestion on how to get field names to display in the drop down without the brackets around it and still get it to still work as a field selection? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Aug 2011 19:00:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-Variable-as-Dimension/m-p/261895#M585597</guid>
      <dc:creator />
      <dc:date>2011-08-09T19:00:29Z</dc:date>
    </item>
    <item>
      <title>Re: Use Variable as Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Use-Variable-as-Dimension/m-p/261896#M585598</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Interesting!&amp;nbsp; I'd thought you could list the field without the brackets, and it would work, but it doesn't.&amp;nbsp; Makes sense in hind sight.&amp;nbsp; Since we have an = sign in the dimension, the dimension ends up like =Customer Name, which isn't valid.&amp;nbsp; Easily fixed, though.&amp;nbsp; Leave the brackets off in the drop down, then add them in the dimension:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;=[$(vField)]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fixed in the attached.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Aug 2011 19:16:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-Variable-as-Dimension/m-p/261896#M585598</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2011-08-09T19:16:51Z</dc:date>
    </item>
    <item>
      <title>Re: Use Variable as Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Use-Variable-as-Dimension/m-p/261897#M585599</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That worked perfectly!!! Thank you so much!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Aug 2011 20:36:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-Variable-as-Dimension/m-p/261897#M585599</guid>
      <dc:creator />
      <dc:date>2011-08-09T20:36:09Z</dc:date>
    </item>
    <item>
      <title>Re: Use Variable as Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Use-Variable-as-Dimension/m-p/261898#M585603</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;Thanks kcampbell to have initiated such topic, I was also interested in such behavior! In fact, I have few reports which look alike, the only difference is only on one or two dimensions. So I wanted to avoid duplicating report and play with a variable to show/hide them.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have an extra request to your initial one, which is to add an 2nd field, which remain optional. I have checked the option "Suppress When Value Is Null" for the 2nd field, but the pivot table do not render any row if no value is selected for the 2nd field.&lt;/P&gt;&lt;P&gt;Is it consider as a bug? Or may be I don't understand the meaning of the option "Suppress When Value Is Null"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have modified John's file as per my requirement. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Aug 2011 04:54:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-Variable-as-Dimension/m-p/261898#M585603</guid>
      <dc:creator />
      <dc:date>2011-08-15T04:54:44Z</dc:date>
    </item>
    <item>
      <title>Re: Use Variable as Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Use-Variable-as-Dimension/m-p/261899#M585605</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So far as I know, you can't really hide a dimension column in a pivot table that way.&amp;nbsp; I think you would have to play with the display condition on two different charts, one with one dimension, one with two dimensions.&amp;nbsp; Alternatively, you could step up to a full macro implementation of dynamic charting.&amp;nbsp; See attached.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm told that version 11 has conditional enable of dimensions and expressions.&amp;nbsp; This will likely be a better way to handle dynamic charting than macros, but I haven't poked at version 11 yet.&amp;nbsp; Our shop is still on version 9.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Aug 2011 18:16:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-Variable-as-Dimension/m-p/261899#M585605</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2011-08-15T18:16:19Z</dc:date>
    </item>
    <item>
      <title>Re: Use Variable as Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Use-Variable-as-Dimension/m-p/261900#M585606</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I also had to do a second dimension that depended on the first dimension selection.&amp;nbsp; In order to accomplish this, I used a calculated dimension to say if the first dimension selected is X, then this second dimension, else null. Then under the presentation tab, I did a conditional show for only when that first dimension is selected. If this doesn't make sense, I will try to upload an example.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Aug 2011 19:55:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-Variable-as-Dimension/m-p/261900#M585606</guid>
      <dc:creator />
      <dc:date>2011-08-15T19:55:12Z</dc:date>
    </item>
    <item>
      <title>Re: Use Variable as Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Use-Variable-as-Dimension/m-p/261901#M585607</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ah, yes, I think I understand what you're saying.&amp;nbsp; That should at least work for straight tables, though you can't hide dimensions in pivot tables.&amp;nbsp; I'm not sure why I'm thinking about pivot tables, though, when the example was a straight table.&amp;nbsp; So yeah, that should work.&amp;nbsp; &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I didn't do exactly what you said, but using the same basic idea of hiding the dimension, I updated the two variable example.&amp;nbsp; If you select a value for the second variable, it shows the dimension, else it doesn't.&amp;nbsp; Works great.&amp;nbsp; Two cyclic dimensions are shown for comparison.&amp;nbsp; In that case, the dimension doesn't hide, you just choose 'total' and it stops affecting the result.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Aug 2011 00:06:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-Variable-as-Dimension/m-p/261901#M585607</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2011-08-16T00:06:11Z</dc:date>
    </item>
    <item>
      <title>Re: Use Variable as Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Use-Variable-as-Dimension/m-p/261902#M585608</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi kcampbell,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why don't you follow the initial idea of this topic? I think you'd better create a second variable vField2, and put your if condition in the definition of this variable&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code"&gt;&lt;P&gt;=if(vField='value1','value2')&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;Otherwise you might encounter some performance issue. If you code this in the Calculated Dimension, i think it will get evaluated for each record.&lt;/P&gt;&lt;P&gt;I had such experience, that is why I came accross your topic&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Aug 2011 01:46:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-Variable-as-Dimension/m-p/261902#M585608</guid>
      <dc:creator />
      <dc:date>2011-08-16T01:46:36Z</dc:date>
    </item>
    <item>
      <title>Re: Use Variable as Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Use-Variable-as-Dimension/m-p/261903#M585609</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi John,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry for the confusion. Indeed, in the example it is a straight table, but my requirements are pivots. Sorry...&lt;/P&gt;&lt;P&gt;I mentioned "pivot" in my first comment, that might be the reason why it came into your mind &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/wink.png" /&gt;&lt;/P&gt;&lt;P&gt;So, as for now, if there is no easy way to hide a dimension into a pivot (such as the straight table), I will choose the alternative with the macro. Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Aug 2011 01:58:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-Variable-as-Dimension/m-p/261903#M585609</guid>
      <dc:creator />
      <dc:date>2011-08-16T01:58:41Z</dc:date>
    </item>
    <item>
      <title>Re: Use Variable as Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Use-Variable-as-Dimension/m-p/261904#M585610</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi John,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the code, I will keep:&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code"&gt;&lt;P&gt;Sub ChartRemoveDimension&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; set chart = ActiveDocument.getSheetObject("CH13")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; set chartProperties = chart.GetProperties&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; set dimensions = chartProperties.Dimensions&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; chart.removeDimension dimensions.Count - 1&lt;/P&gt;&lt;P&gt;End Sub&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sub ChartAddDimension&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; set chart = ActiveDocument.getSheetObject("CH13")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; set chartProperties = chart.GetProperties&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; set dimensions = chartProperties.Dimensions&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; chart.addDimension "=[$(vDimension2)]"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; set chartProperties = chart.GetProperties&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if&amp;nbsp; chartProperties.TableProperties.MissingSymbol = " " then&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; chartProperties.TableProperties.MissingSymbol = "&amp;nbsp; "&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; else&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; chartProperties.TableProperties.MissingSymbol = " "&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; end if&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; chart.SetProperties chartProperties&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;End Sub&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Looking forward to scrap this code when QV11 is out &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/wink.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Aug 2011 03:09:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-Variable-as-Dimension/m-p/261904#M585610</guid>
      <dc:creator />
      <dc:date>2011-08-16T03:09:08Z</dc:date>
    </item>
    <item>
      <title>Re: Use Variable as Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Use-Variable-as-Dimension/m-p/261905#M585611</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;I realize that I need to re-arrange (= promote) my dimension "=[$(vDimension2)]", as when I re-create it, it appear at the end of the list. Any clue how to do that? I would prefer not to remove all dimensions to re-add them later in sequence.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way to get the "field name" or "expression" of an existing dimension? I only see a way to get the label of a dimension through chartProperties.dimensions(i).Title.v, but what about the defintion of this dimension?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Related topic can also be found here: &lt;A _jive_internal="true" href="https://community.qlik.com/message/141253#141253"&gt;http://community.qlik.com/message/141253#141253&lt;/A&gt;&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>Tue, 16 Aug 2011 13:40:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-Variable-as-Dimension/m-p/261905#M585611</guid>
      <dc:creator />
      <dc:date>2011-08-16T13:40:05Z</dc:date>
    </item>
    <item>
      <title>Re: Use Variable as Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Use-Variable-as-Dimension/m-p/261906#M585612</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Select the dimension and then press the "Promote" button.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Aug 2011 15:51:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-Variable-as-Dimension/m-p/261906#M585612</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2011-08-16T15:51:30Z</dc:date>
    </item>
    <item>
      <title>Re: Use Variable as Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Use-Variable-as-Dimension/m-p/261907#M585613</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, in that case that works too.&amp;nbsp; Unfortunately, I had a situation where the additional dimensions are dependent on the first dimension selection.&amp;nbsp; For example, user may select a procedure code for the first dimension and in that case I would need to display the corresponding description in the second column.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Aug 2011 16:31:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-Variable-as-Dimension/m-p/261907#M585613</guid>
      <dc:creator />
      <dc:date>2011-08-16T16:31:13Z</dc:date>
    </item>
    <item>
      <title>Re: Use Variable as Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Use-Variable-as-Dimension/m-p/261908#M585614</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi John,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can't &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/wink.png" /&gt;, I need to handle it within the macro. I can't ask the user to promote the optional dimension every time it gets displayed/hidden&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Aug 2011 16:34:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-Variable-as-Dimension/m-p/261908#M585614</guid>
      <dc:creator />
      <dc:date>2011-08-16T16:34:38Z</dc:date>
    </item>
    <item>
      <title>Re: Use Variable as Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Use-Variable-as-Dimension/m-p/261909#M585615</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;And sorry about my comment on the promote button.&amp;nbsp; Somehow I missed where you posted the macro you were using, so I was missing valuable context.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I wouldn't think you would want to combine the macro I had with the idea of using a variable as a dimension.&amp;nbsp; As long as you're going to the trouble of adding the dimension using a macro, then why not add an ACTUAL dimension instead of a variable?&amp;nbsp; You can hold your dimension names in a list box or any of the other structures that QlikView gives you, and it will behave more "normally" from the user perspective.&amp;nbsp; If you want to restrict your users to only two dimensions, I suppose you could.&amp;nbsp; But why not just let them do whatever they want at that point?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't know about the macro commands for promoting and demoting dimensions.&amp;nbsp; I'd be searching through the API guide like you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Aug 2011 18:46:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-Variable-as-Dimension/m-p/261909#M585615</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2011-08-16T18:46:44Z</dc:date>
    </item>
  </channel>
</rss>

