<?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 cross table in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Help-with-cross-table/m-p/2466871#M99277</link>
    <description>&lt;P&gt;The third parameter von the crosstable-statement defines how many fields should be loaded before the crosstable-transforming starts, means this one:&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;crosstable(Cat, Value, &lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;3&lt;/STRONG&gt;&lt;/FONT&gt;)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;If you had different sources like sales and planned you could concatenate both - after the above shown two load-steps. If these data comes from another source to extend the information you may just join/map it against a sensible KEY.&lt;/P&gt;</description>
    <pubDate>Mon, 01 Jul 2024 13:44:51 GMT</pubDate>
    <dc:creator>marcus_sommer</dc:creator>
    <dc:date>2024-07-01T13:44:51Z</dc:date>
    <item>
      <title>Help with cross table</title>
      <link>https://community.qlik.com/t5/App-Development/Help-with-cross-table/m-p/2466852#M99274</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I'm trying to turn this table:&lt;/P&gt;
&lt;TABLE style="border-collapse: collapse; width: 480pt;" border="0" width="640" cellspacing="0" cellpadding="0"&gt;
&lt;TBODY&gt;
&lt;TR style="height: 12.75pt;"&gt;
&lt;TD width="80" height="17" class="xl65" style="height: 12.75pt; width: 60pt;"&gt;date&lt;/TD&gt;
&lt;TD width="80" class="xl65" style="border-left: none; width: 60pt;"&gt;a total&lt;/TD&gt;
&lt;TD width="80" class="xl65" style="border-left: none; width: 60pt;"&gt;a ok&lt;/TD&gt;
&lt;TD width="80" class="xl65" style="border-left: none; width: 60pt;"&gt;a err&lt;/TD&gt;
&lt;TD width="80" class="xl65" style="border-left: none; width: 60pt;"&gt;a others&lt;/TD&gt;
&lt;TD width="80" class="xl65" style="border-left: none; width: 60pt;"&gt;b total&lt;/TD&gt;
&lt;TD width="80" class="xl65" style="border-left: none; width: 60pt;"&gt;b ok&lt;/TD&gt;
&lt;TD width="80" class="xl65" style="border-left: none; width: 60pt;"&gt;b err&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 12.75pt;"&gt;
&lt;TD height="17" align="right" class="xl66" style="height: 12.75pt; border-top: none;"&gt;10/01/2024&lt;/TD&gt;
&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;10&lt;/TD&gt;
&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;6&lt;/TD&gt;
&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;4&lt;/TD&gt;
&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;3&lt;/TD&gt;
&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;4&lt;/TD&gt;
&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;4&lt;/TD&gt;
&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;into:&lt;/P&gt;
&lt;TABLE style="border-collapse: collapse; width: 360pt;" border="0" width="480" cellspacing="0" cellpadding="0"&gt;
&lt;TBODY&gt;
&lt;TR style="height: 12.75pt;"&gt;
&lt;TD width="80" height="17" class="xl65" style="height: 12.75pt; width: 60pt;"&gt;date&lt;/TD&gt;
&lt;TD width="80" class="xl68" style="border-left: none; width: 60pt;"&gt;&lt;STRONG&gt;type&lt;/STRONG&gt;&lt;/TD&gt;
&lt;TD width="80" class="xl65" style="border-left: none; width: 60pt;"&gt;total&lt;/TD&gt;
&lt;TD width="80" class="xl65" style="border-left: none; width: 60pt;"&gt;ok&lt;/TD&gt;
&lt;TD width="80" class="xl65" style="border-left: none; width: 60pt;"&gt;err&lt;/TD&gt;
&lt;TD width="80" class="xl65" style="border-left: none; width: 60pt;"&gt;others&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 12.75pt;"&gt;
&lt;TD height="17" align="right" class="xl66" style="height: 12.75pt; border-top: none;"&gt;10/01/2024&lt;/TD&gt;
&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;a&lt;/TD&gt;
&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;10&lt;/TD&gt;
&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;6&lt;/TD&gt;
&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;4&lt;/TD&gt;
&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;3&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 12.75pt;"&gt;
&lt;TD height="17" align="right" class="xl66" style="height: 12.75pt; border-top: none;"&gt;10/01/2024&lt;/TD&gt;
&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;b&lt;/TD&gt;
&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;4&lt;/TD&gt;
&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;4&lt;/TD&gt;
&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;
&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I tried to do this with a crosstable prefix in my load script, but it doesn't work. Can anyone please help with this?&lt;/P&gt;
&lt;P&gt;Thanks in advance,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Jose&lt;/P&gt;</description>
      <pubDate>Mon, 01 Jul 2024 12:53:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Help-with-cross-table/m-p/2466852#M99274</guid>
      <dc:creator>josemaria_cabre</dc:creator>
      <dc:date>2024-07-01T12:53:16Z</dc:date>
    </item>
    <item>
      <title>Re: Help with cross table</title>
      <link>https://community.qlik.com/t5/App-Development/Help-with-cross-table/m-p/2466858#M99275</link>
      <description>&lt;P&gt;You could apply a normal crosstable-load and on this result you do the final differentiation, maybe like this:&lt;/P&gt;
&lt;P&gt;t1: crosstable(Cat, Value, 1) load * from YourSource;&lt;/P&gt;
&lt;P&gt;t2: load date, subfield(Cat, ' ', 1) as type,&amp;nbsp;subfield(Cat, ' ', 2) as Cat, Value resident t1;&lt;/P&gt;
&lt;P&gt;drop tables t1;&lt;/P&gt;</description>
      <pubDate>Mon, 01 Jul 2024 13:10:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Help-with-cross-table/m-p/2466858#M99275</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2024-07-01T13:10:33Z</dc:date>
    </item>
    <item>
      <title>Re: Help with cross table</title>
      <link>https://community.qlik.com/t5/App-Development/Help-with-cross-table/m-p/2466865#M99276</link>
      <description>&lt;P&gt;Hi Marcus,&lt;/P&gt;
&lt;P&gt;that worked great!, but,&lt;/P&gt;
&lt;P&gt;what if I had another dimension apart from date, e.g (status and planned dimensions):&lt;/P&gt;
&lt;TABLE style="border-collapse: collapse; width: 600pt;" border="0" width="800" cellspacing="0" cellpadding="0"&gt;
&lt;TBODY&gt;
&lt;TR style="height: 12.75pt;"&gt;
&lt;TD width="80" height="17" class="xl65" style="height: 12.75pt; width: 60pt;"&gt;date&lt;/TD&gt;
&lt;TD width="80" class="xl65" style="border-left: none; width: 60pt;"&gt;&lt;STRONG&gt;status&lt;/STRONG&gt;&lt;/TD&gt;
&lt;TD width="80" class="xl65" style="border-left: none; width: 60pt;"&gt;&lt;STRONG&gt;planned&lt;/STRONG&gt;&lt;/TD&gt;
&lt;TD width="80" class="xl65" style="border-left: none; width: 60pt;"&gt;a total&lt;/TD&gt;
&lt;TD width="80" class="xl65" style="border-left: none; width: 60pt;"&gt;a ok&lt;/TD&gt;
&lt;TD width="80" class="xl65" style="border-left: none; width: 60pt;"&gt;a err&lt;/TD&gt;
&lt;TD width="80" class="xl65" style="border-left: none; width: 60pt;"&gt;a others&lt;/TD&gt;
&lt;TD width="80" class="xl65" style="border-left: none; width: 60pt;"&gt;b total&lt;/TD&gt;
&lt;TD width="80" class="xl65" style="border-left: none; width: 60pt;"&gt;b ok&lt;/TD&gt;
&lt;TD width="80" class="xl65" style="border-left: none; width: 60pt;"&gt;b err&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 12.75pt;"&gt;
&lt;TD height="17" align="right" class="xl66" style="height: 12.75pt; border-top: none;"&gt;10/01/2024&lt;/TD&gt;
&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;OK&lt;/TD&gt;
&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;yes&lt;/TD&gt;
&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;10&lt;/TD&gt;
&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;6&lt;/TD&gt;
&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;4&lt;/TD&gt;
&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;3&lt;/TD&gt;
&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;4&lt;/TD&gt;
&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;4&lt;/TD&gt;
&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&lt;BR /&gt;how can I add those 2 dimensions to t2 table?&lt;/P&gt;
&lt;P&gt;Thanks in advance,&lt;BR /&gt;Jose&lt;/P&gt;</description>
      <pubDate>Mon, 01 Jul 2024 13:34:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Help-with-cross-table/m-p/2466865#M99276</guid>
      <dc:creator>josemaria_cabre</dc:creator>
      <dc:date>2024-07-01T13:34:36Z</dc:date>
    </item>
    <item>
      <title>Re: Help with cross table</title>
      <link>https://community.qlik.com/t5/App-Development/Help-with-cross-table/m-p/2466871#M99277</link>
      <description>&lt;P&gt;The third parameter von the crosstable-statement defines how many fields should be loaded before the crosstable-transforming starts, means this one:&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;crosstable(Cat, Value, &lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;3&lt;/STRONG&gt;&lt;/FONT&gt;)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;If you had different sources like sales and planned you could concatenate both - after the above shown two load-steps. If these data comes from another source to extend the information you may just join/map it against a sensible KEY.&lt;/P&gt;</description>
      <pubDate>Mon, 01 Jul 2024 13:44:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Help-with-cross-table/m-p/2466871#M99277</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2024-07-01T13:44:51Z</dc:date>
    </item>
    <item>
      <title>Re: Help with cross table</title>
      <link>https://community.qlik.com/t5/App-Development/Help-with-cross-table/m-p/2467090#M99297</link>
      <description>&lt;P&gt;Your solution worked perfectly, thank you Marcus!&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jul 2024 08:05:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Help-with-cross-table/m-p/2467090#M99297</guid>
      <dc:creator>josemaria_cabre</dc:creator>
      <dc:date>2024-07-02T08:05:03Z</dc:date>
    </item>
  </channel>
</rss>

