<?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: Add/Remove Dimension based on selection in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Add-Remove-Dimension-based-on-selection/m-p/335764#M123829</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think the attached file helps you. Please check it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 04 May 2012 10:06:31 GMT</pubDate>
    <dc:creator>jagannalla</dc:creator>
    <dc:date>2012-05-04T10:06:31Z</dc:date>
    <item>
      <title>Add/Remove Dimension based on selection</title>
      <link>https://community.qlik.com/t5/QlikView/Add-Remove-Dimension-based-on-selection/m-p/335759#M123824</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible to add or remove dimensions from a table?&lt;/P&gt;&lt;P&gt;Please see my simple example, what I wanted to achieve is the user can select which dimension to show, with the table always expanded.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for any help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;~skip &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 May 2012 07:12:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Add-Remove-Dimension-based-on-selection/m-p/335759#M123824</guid>
      <dc:creator />
      <dc:date>2012-05-04T07:12:47Z</dc:date>
    </item>
    <item>
      <title>Add/Remove Dimension based on selection</title>
      <link>https://community.qlik.com/t5/QlikView/Add-Remove-Dimension-based-on-selection/m-p/335760#M123825</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;Yes it is possible^^&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would attach my solution with your given file &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but I can't seem to find where the "Attach File" button here &amp;gt;.&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so could you tell me how?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, &lt;/P&gt;&lt;P&gt;Alex&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 May 2012 07:58:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Add-Remove-Dimension-based-on-selection/m-p/335760#M123825</guid>
      <dc:creator />
      <dc:date>2012-05-04T07:58:54Z</dc:date>
    </item>
    <item>
      <title>Add/Remove Dimension based on selection</title>
      <link>https://community.qlik.com/t5/QlikView/Add-Remove-Dimension-based-on-selection/m-p/335761#M123826</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, can't find it either... it was at the bottom when i created my post but with reply it's no longer available. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Guys, please help...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can you send it on my email thanks. &lt;A href="mailto:hajile_28@yahoo.com"&gt;hajile_28@yahoo.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;~skip&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 May 2012 08:05:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Add-Remove-Dimension-based-on-selection/m-p/335761#M123826</guid>
      <dc:creator />
      <dc:date>2012-05-04T08:05:42Z</dc:date>
    </item>
    <item>
      <title>Re: Add/Remove Dimension based on selection</title>
      <link>https://community.qlik.com/t5/QlikView/Add-Remove-Dimension-based-on-selection/m-p/335762#M123827</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Our Emails are blocked in our office &amp;gt;.&amp;gt; sorry&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'll try to explain how I did it... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using Qlikview 11 fyi. and I did it using buttons&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.) I Created 4 variables (Settings &amp;gt; Variable Overview)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; vEMP, vPOS,vSALARY,and vTYPE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I set all values to 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2.) I Created 2 Buttons called "ADD Dimension" and "REMOVE Dimension"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For "ADD dimension" button:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; inside botton properties under Actions tab&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; click Add &amp;gt; External &amp;gt; Set Variable then OK&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; under Variable, type: vEMP&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; under Value, type or copypaste: =if($Field = 'EMP',1,vEMP)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; repeat this step for vPOS,vSALARY,and vTYPE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For "REMOVE dimension" button:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; repeat the above steps again&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; but this time the Values are: =if($Field = 'EMP',0,vEMP), =if($Field = 'vPOS',0,vPOS) and so on&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3.) I Created a listbox&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; with "Dimensions" as Title&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; and Field as Expression: =aggr(only({&amp;lt;$Field = {*}-{'DEDUCTION'}&amp;gt;} $Field),$Field)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4.) Create a Pivot Table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; under Dimensions tab:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Add: EMP, POS, SALARY, TYPE on your "Used Dimensions"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Click "Enable Conditional" for all four dimensions&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; then type or copypaste: vEMP =1 (for EMP), vPOS =1 (for POS) and so on&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; under Expressions tab:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Add sum(DEDUCTION) then I set DEDUCTION as its label.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try to select 1 dimension from your list box then click ADD Dimension.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Alex&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 May 2012 09:14:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Add-Remove-Dimension-based-on-selection/m-p/335762#M123827</guid>
      <dc:creator />
      <dc:date>2012-05-04T09:14:29Z</dc:date>
    </item>
    <item>
      <title>Re: Add/Remove Dimension based on selection</title>
      <link>https://community.qlik.com/t5/QlikView/Add-Remove-Dimension-based-on-selection/m-p/335763#M123828</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do they want to be able to see just one of the dimensions at a time or do they want to have the ability to see any combination of them?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If they just want one at a time you could set up a cyclic group with all the fields in and then use that in place of the individual dimensions. Your users can then either cycle through the fields, or they can drop the list down from the cycle button and go straight to the field they want.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Not as elegant as the optional visibility we now have in QV11, but it is simple to do and works well enough.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Other than that you will either need to create multiple copies of your table that you can show or hide depending on which combination of dimensions you want, or you are in for some rather heavy macro coding using the AddDimension and RemoveDimension methods of the straight and/or pivot table objects.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope some of that might help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;David&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 May 2012 09:45:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Add-Remove-Dimension-based-on-selection/m-p/335763#M123828</guid>
      <dc:creator />
      <dc:date>2012-05-04T09:45:41Z</dc:date>
    </item>
    <item>
      <title>Re: Add/Remove Dimension based on selection</title>
      <link>https://community.qlik.com/t5/QlikView/Add-Remove-Dimension-based-on-selection/m-p/335764#M123829</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think the attached file helps you. Please check it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 May 2012 10:06:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Add-Remove-Dimension-based-on-selection/m-p/335764#M123829</guid>
      <dc:creator>jagannalla</dc:creator>
      <dc:date>2012-05-04T10:06:31Z</dc:date>
    </item>
    <item>
      <title>Add/Remove Dimension based on selection</title>
      <link>https://community.qlik.com/t5/QlikView/Add-Remove-Dimension-based-on-selection/m-p/335765#M123830</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;oh yeah, i forgot about straight table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you should check Jagan's solution^^ its simplier and can do your requirements&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 May 2012 10:28:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Add-Remove-Dimension-based-on-selection/m-p/335765#M123830</guid>
      <dc:creator />
      <dc:date>2012-05-04T10:28:59Z</dc:date>
    </item>
    <item>
      <title>Re: Add/Remove Dimension based on selection</title>
      <link>https://community.qlik.com/t5/QlikView/Add-Remove-Dimension-based-on-selection/m-p/335766#M123831</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hi Jagan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is very helpful for me but how does this work?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;~skip&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 May 2012 00:55:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Add-Remove-Dimension-based-on-selection/m-p/335766#M123831</guid>
      <dc:creator />
      <dc:date>2012-05-08T00:55:26Z</dc:date>
    </item>
    <item>
      <title>Re: Add/Remove Dimension based on selection</title>
      <link>https://community.qlik.com/t5/QlikView/Add-Remove-Dimension-based-on-selection/m-p/335767#M123832</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Solutions provided was indeed helpful but since I'm not using QV11 yet and the second solution does not offer flexibility on dimensions order.&lt;/P&gt;&lt;P&gt;I came up with the solution that I got from a friend.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I did was, I created several cyclic groups that has the same dimensions inside but different orders. Then my users will just have to select the right combination that she like and viola! &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks guys for help, and I hope you can also use this technique if applicable in your next requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;~skip&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 May 2012 01:05:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Add-Remove-Dimension-based-on-selection/m-p/335767#M123832</guid>
      <dc:creator />
      <dc:date>2012-05-08T01:05:35Z</dc:date>
    </item>
    <item>
      <title>Re: Add/Remove Dimension based on selection</title>
      <link>https://community.qlik.com/t5/QlikView/Add-Remove-Dimension-based-on-selection/m-p/335768#M123833</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 need to show some default fields in a straight table, &amp;amp; then the feature of adding fields in that table. Is it possible, if it is then can you help me. I used the similar logic implemented in "What's New in QlikView 11" example document. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Dec 2012 06:26:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Add-Remove-Dimension-based-on-selection/m-p/335768#M123833</guid>
      <dc:creator>gaurav2017</dc:creator>
      <dc:date>2012-12-06T06:26:43Z</dc:date>
    </item>
  </channel>
</rss>

