<?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: How do I insert a column into another so it substitutes the viewed column when selected? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-do-I-insert-a-column-into-another-so-it-substitutes-the/m-p/1096336#M364223</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, I figured out where I went wrong, and I was able to do what I wanted.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks! &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 24 Feb 2016 17:49:10 GMT</pubDate>
    <dc:creator>fabio_moreno</dc:creator>
    <dc:date>2016-02-24T17:49:10Z</dc:date>
    <item>
      <title>How do I insert a column into another so it substitutes the viewed column when selected?</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-I-insert-a-column-into-another-so-it-substitutes-the/m-p/1096330#M364217</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;Not sure I phrased this question very clearly. &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;I want to have two dimensions, with one being subordinate of another.&amp;nbsp; So what I want is a table that initially shows one dimension and its results, but when i click on a line of that dimension, it breaks down the results for the sub-items within that selected dimension, substituting the column and now showing only the results for the sub-items, hiding the dimension initially shown. &lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Here's an illustration of the table I have and the table I'd like to show:&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;For instance, i have the 3 columns below:&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;&lt;A href="/legacyfs/online/115644_3 columns.PNG"&gt;&lt;IMG __jive_id="115644" alt="3 columns.PNG" class="jive-image image-1" height="391" src="/legacyfs/online/115644_3 columns.PNG" style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;" width="325" /&gt;&lt;/A&gt;&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;And I want to show a table that contains the middle column, but initially displays two columns like this:&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;&lt;A href="/legacyfs/online/115645_2 columns first dimension.PNG"&gt;&lt;IMG __jive_id="115645" alt="2 columns first dimension.PNG" class="jive-image image-2" height="189" src="/legacyfs/online/115645_2 columns first dimension.PNG" style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;" width="235" /&gt;&lt;/A&gt;&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;But when I click on a line of this dimension - such as "Bologna" - the column of the dimension is replaced with a column of its subgroups that are related to "Bologna", like this:&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;&lt;A href="/legacyfs/online/115649_2 columns second dimension.PNG"&gt;&lt;IMG __jive_id="115649" alt="2 columns second dimension.PNG" class="jive-image image-3" height="186" src="/legacyfs/online/115649_2 columns second dimension.PNG" style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;" width="237" /&gt;&lt;/A&gt;&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;I have a demo application that uses this feature, but I can't see inside to figure out how it's done.&amp;nbsp; I'm thinking about perhaps a container box of some sort, but it seems like there should be an easier solution. &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;If anyone could assist me with this, I would greatly appreciate it.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Feb 2016 14:52:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-I-insert-a-column-into-another-so-it-substitutes-the/m-p/1096330#M364217</guid>
      <dc:creator>fabio_moreno</dc:creator>
      <dc:date>2016-02-23T14:52:46Z</dc:date>
    </item>
    <item>
      <title>Re: How do I insert a column into another so it substitutes the viewed column when selected?</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-I-insert-a-column-into-another-so-it-substitutes-the/m-p/1096331#M364218</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 guess what you need is a pivot table.&lt;/P&gt;&lt;P&gt;Just change the type of chart from straight table to pivot table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If this is not what you need then please share the demo app with us.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kaushik Solanki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Feb 2016 21:00:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-I-insert-a-column-into-another-so-it-substitutes-the/m-p/1096331#M364218</guid>
      <dc:creator>kaushiknsolanki</dc:creator>
      <dc:date>2016-02-23T21:00:04Z</dc:date>
    </item>
    <item>
      <title>Re: How do I insert a column into another so it substitutes the viewed column when selected?</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-I-insert-a-column-into-another-so-it-substitutes-the/m-p/1096332#M364219</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A pivot would be lovely for this, as Kaushik suggests, as it can expand or hide the sub-items automatically and you need do nothing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, to do what you want...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On the ProductSubGroup dimension, select "Enable Conditional" and use the expression,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;GetSelectedCount ( ProductSubGroup ) &amp;lt;&amp;gt; 1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, on the Item dimension, enable conditional and have the expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;GetSelectedCount ( ProductSubGroup ) = 1&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Feb 2016 21:27:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-I-insert-a-column-into-another-so-it-substitutes-the/m-p/1096332#M364219</guid>
      <dc:creator />
      <dc:date>2016-02-23T21:27:29Z</dc:date>
    </item>
    <item>
      <title>Re: How do I insert a column into another so it substitutes the viewed column when selected?</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-I-insert-a-column-into-another-so-it-substitutes-the/m-p/1096333#M364220</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Mark and Kaushik, thanks for the responses. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The pivot Table doesn't quite do what I want. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark's answer gets me halfway there - it bring the right info with the right action. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, I'd like to have the "Item" column substitute the "ProductSubGroup" column.&amp;nbsp; Using the "GetSelectedCount" command expands the table instead. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you know a way to keep the table at two columns instead of expanding it into a third?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Feb 2016 12:15:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-I-insert-a-column-into-another-so-it-substitutes-the/m-p/1096333#M364220</guid>
      <dc:creator>fabio_moreno</dc:creator>
      <dc:date>2016-02-24T12:15:33Z</dc:date>
    </item>
    <item>
      <title>Re: How do I insert a column into another so it substitutes the viewed column when selected?</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-I-insert-a-column-into-another-so-it-substitutes-the/m-p/1096334#M364221</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you put the Enable Conditional on both columns? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The way I've described it, the ProductSubGroup will be hidden if there's a single selection made against it, and the "Item "will only show when there's a single selection against the ProductSubGroup.&amp;nbsp; Given that the conditions are mutually exclusive,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just to clarify my understanding, you've two dimensions:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;ProductSubGroup&lt;/LI&gt;&lt;LI&gt;Item&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One expression sum(something)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The conditional thing I described needs to be applied to the two Dimension columns.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't see how you'd end up with both showing at the same time.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Feb 2016 13:21:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-I-insert-a-column-into-another-so-it-substitutes-the/m-p/1096334#M364221</guid>
      <dc:creator />
      <dc:date>2016-02-24T13:21:56Z</dc:date>
    </item>
    <item>
      <title>Re: How do I insert a column into another so it substitutes the viewed column when selected?</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-I-insert-a-column-into-another-so-it-substitutes-the/m-p/1096335#M364222</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Mark, thanks again for helping out. &lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Yeah, I inserted the Enable Conditional on both dimensions. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The result I get is this -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If there's no selection, it shows up as I wanted, with two columns:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="2 columns conditional.PNG" class="jive-image image-1" src="/legacyfs/online/115810_2 columns conditional.PNG" style="height: auto; width: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, when I select a line of the shown dimension (for example, "Bologna"), the table shows this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="3 columns conditional.PNG" class="jive-image image-2" src="/legacyfs/online/115823_3 columns conditional.PNG" style="height: auto; width: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I get the item breakdown, but the final result that I want is for the "ProductSubGroup" dimension to disappear, so it shows only two columns. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It seems like an easy thing to correct, but I've played with some of these conditionals and haven't achieved the desired result.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you see a way to get the columns to behave the way I want them to?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Feb 2016 17:15:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-I-insert-a-column-into-another-so-it-substitutes-the/m-p/1096335#M364222</guid>
      <dc:creator>fabio_moreno</dc:creator>
      <dc:date>2016-02-24T17:15:29Z</dc:date>
    </item>
    <item>
      <title>Re: How do I insert a column into another so it substitutes the viewed column when selected?</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-I-insert-a-column-into-another-so-it-substitutes-the/m-p/1096336#M364223</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, I figured out where I went wrong, and I was able to do what I wanted.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks! &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Feb 2016 17:49:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-I-insert-a-column-into-another-so-it-substitutes-the/m-p/1096336#M364223</guid>
      <dc:creator>fabio_moreno</dc:creator>
      <dc:date>2016-02-24T17:49:10Z</dc:date>
    </item>
  </channel>
</rss>

