<?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 Crosstable Challenge with two types of columns in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Crosstable-Challenge-with-two-types-of-columns/m-p/1869260#M71775</link>
    <description>&lt;P&gt;Hi guys,&lt;/P&gt;
&lt;P&gt;I have an input table like this :&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Cross1.PNG" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/68392i6DD1F4C7F530155F/image-size/large?v=v2&amp;amp;px=999" role="button" title="Cross1.PNG" alt="Cross1.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;And I'd like to have an output table like this :&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Cross2.PNG" style="width: 683px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/68393i2BD4305F42ADF788/image-size/large?v=v2&amp;amp;px=999" role="button" title="Cross2.PNG" alt="Cross2.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;How can I do it? Maybe with crosstable function? In my real input table I have more than 10 dimensions and more than 5 years, so I have to do it somehow in an automatic way.&lt;/P&gt;
&lt;P&gt;I've attached an excel with the example.&lt;/P&gt;
&lt;P&gt;Best regards, Marcel.&lt;/P&gt;</description>
    <pubDate>Fri, 10 Dec 2021 20:33:39 GMT</pubDate>
    <dc:creator>marcel_olmo</dc:creator>
    <dc:date>2021-12-10T20:33:39Z</dc:date>
    <item>
      <title>Crosstable Challenge with two types of columns</title>
      <link>https://community.qlik.com/t5/App-Development/Crosstable-Challenge-with-two-types-of-columns/m-p/1869260#M71775</link>
      <description>&lt;P&gt;Hi guys,&lt;/P&gt;
&lt;P&gt;I have an input table like this :&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Cross1.PNG" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/68392i6DD1F4C7F530155F/image-size/large?v=v2&amp;amp;px=999" role="button" title="Cross1.PNG" alt="Cross1.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;And I'd like to have an output table like this :&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Cross2.PNG" style="width: 683px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/68393i2BD4305F42ADF788/image-size/large?v=v2&amp;amp;px=999" role="button" title="Cross2.PNG" alt="Cross2.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;How can I do it? Maybe with crosstable function? In my real input table I have more than 10 dimensions and more than 5 years, so I have to do it somehow in an automatic way.&lt;/P&gt;
&lt;P&gt;I've attached an excel with the example.&lt;/P&gt;
&lt;P&gt;Best regards, Marcel.&lt;/P&gt;</description>
      <pubDate>Fri, 10 Dec 2021 20:33:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Crosstable-Challenge-with-two-types-of-columns/m-p/1869260#M71775</guid>
      <dc:creator>marcel_olmo</dc:creator>
      <dc:date>2021-12-10T20:33:39Z</dc:date>
    </item>
    <item>
      <title>Re: Crosstable Challenge with two types of columns</title>
      <link>https://community.qlik.com/t5/App-Development/Crosstable-Challenge-with-two-types-of-columns/m-p/1869307#M71777</link>
      <description>&lt;P&gt;Try this,&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;tab1:
LOAD * INLINE [
    Id, City, Dimension1 2018, Dimension1 2017, Dimension2 2018, Dimension2 2017
    39250, City1, 41.0, 40.8, 20.6, 20.7
    39251, City2, 42.5, 42.7, 16.6, 16.5
];

tab1X:
CrossTable(Dimension, Value, 2)
LOAD * Resident tab1;

tab2:
NoConcatenate
LOAD Id, City, SubField(Dimension,' ',1) As Dimension, 
	SubField(Dimension,' ',2) As Year, Value
Resident tab1X;

Drop Table tab1, tab1X;&lt;/LI-CODE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="commQV24.PNG" style="width: 214px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/68400i8DF86EF062B265BB/image-size/large?v=v2&amp;amp;px=999" role="button" title="commQV24.PNG" alt="commQV24.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 11 Dec 2021 04:38:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Crosstable-Challenge-with-two-types-of-columns/m-p/1869307#M71777</guid>
      <dc:creator>Saravanan_Desingh</dc:creator>
      <dc:date>2021-12-11T04:38:13Z</dc:date>
    </item>
    <item>
      <title>Re: Crosstable Challenge with two types of columns</title>
      <link>https://community.qlik.com/t5/App-Development/Crosstable-Challenge-with-two-types-of-columns/m-p/1869334#M71781</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/894"&gt;@Saravanan_Desingh&lt;/a&gt;&amp;nbsp; that was it. Regards, Marcel.&lt;/P&gt;</description>
      <pubDate>Sat, 11 Dec 2021 11:35:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Crosstable-Challenge-with-two-types-of-columns/m-p/1869334#M71781</guid>
      <dc:creator>marcel_olmo</dc:creator>
      <dc:date>2021-12-11T11:35:19Z</dc:date>
    </item>
  </channel>
</rss>

