<?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: Crosstable problem in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Crosstable-problem/m-p/791751#M1026470</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have excluded the problem with the shift in the dates, i.e. to have a weekday and a date with the associated data not being in line.&lt;/P&gt;&lt;P&gt;BTW: How would this table look in case of a leap year?&lt;/P&gt;&lt;P&gt;So basically inserted field on the 2014-data to be in exactly the same row as 2015.&lt;/P&gt;&lt;P&gt;If you wish to adjust, you may bring in a counter in the columns and treat all 2014-columns different than 2015 ....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sample is attached&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have Fun! Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 12 Mar 2015 20:27:19 GMT</pubDate>
    <dc:creator>prieper</dc:creator>
    <dc:date>2015-03-12T20:27:19Z</dc:date>
    <item>
      <title>Crosstable problem</title>
      <link>https://community.qlik.com/t5/QlikView/Crosstable-problem/m-p/791743#M1026462</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm stuck with a problem loading an excel file to qv, . I've attached a sample file that shows the structure of the original file as qv file wizard interprets it and the desired outcome.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Row 1 is a header row and I need to use field 'dept a', 'dept b' and so on as field values and skip the others. Column B is a date field in num format. Column A is just weekday as a text and refers to last years figures (those do not have reference to actual date data).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I guess a crosstable would do the trick, but I can't figure out the correct script. Any help would be appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Nov 2020 18:02:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Crosstable-problem/m-p/791743#M1026462</guid>
      <dc:creator>janne_timonen</dc:creator>
      <dc:date>2020-11-20T18:02:30Z</dc:date>
    </item>
    <item>
      <title>Re: Crosstable problem</title>
      <link>https://community.qlik.com/t5/QlikView/Crosstable-problem/m-p/791744#M1026463</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can press x on the column you do not need and then use this script&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="80541" class="image-1 jive-image" src="https://community.qlik.com/legacyfs/online/80541_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;Directory;&lt;/P&gt;&lt;P&gt;LOAD [dept a],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [dept b]&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;[sample (1).xlsx]&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is original)&lt;/P&gt;&lt;P&gt;WHERE RecNo() &amp;gt; 5 AND RecNo() &amp;lt; 1500&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="80542" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/80542_pastedImage_1.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can change the 1500.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Mar 2015 11:12:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Crosstable-problem/m-p/791744#M1026463</guid>
      <dc:creator>robert_mika</dc:creator>
      <dc:date>2015-03-12T11:12:41Z</dc:date>
    </item>
    <item>
      <title>Re: Crosstable problem</title>
      <link>https://community.qlik.com/t5/QlikView/Crosstable-problem/m-p/791745#M1026464</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 Robert, but I need those columns. For every dept I need Actuals for this year and last year, containing € and amount of customers. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There's second sheet 'desired result' in the sample file.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Mar 2015 11:21:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Crosstable-problem/m-p/791745#M1026464</guid>
      <dc:creator>janne_timonen</dc:creator>
      <dc:date>2015-03-12T11:21:28Z</dc:date>
    </item>
    <item>
      <title>Re: Crosstable problem</title>
      <link>https://community.qlik.com/t5/QlikView/Crosstable-problem/m-p/791746#M1026465</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;In scripting, do like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CrossTable([dept a], [dept b])&lt;/P&gt;&lt;P&gt;LOAD f1,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; f2,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [dept a],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; f3,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; f4,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; f5,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [dept b],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; f7,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; f8,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; f9,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [and so on, around 20 depts.]&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;&lt;C&gt;&lt;/C&gt;&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is original);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Untitled1.png" class="jive-image image-2" height="326" src="https://community.qlik.com/legacyfs/online/80554_Untitled1.png" style="height: 325.745098039216px; width: 407px;" width="407" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="80553" alt="Untitled.png" class="image-1 jive-image" src="https://community.qlik.com/legacyfs/online/80553_Untitled.png" style="height: 496px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;krish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Mar 2015 11:49:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Crosstable-problem/m-p/791746#M1026465</guid>
      <dc:creator />
      <dc:date>2015-03-12T11:49:23Z</dc:date>
    </item>
    <item>
      <title>Re: Crosstable problem</title>
      <link>https://community.qlik.com/t5/QlikView/Crosstable-problem/m-p/791747#M1026466</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi krishnama,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you provide a sample what your result table looks like with that script? I tried and my result wasn't as I wanted it to be.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Mar 2015 11:58:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Crosstable-problem/m-p/791747#M1026466</guid>
      <dc:creator>janne_timonen</dc:creator>
      <dc:date>2015-03-12T11:58:10Z</dc:date>
    </item>
    <item>
      <title>Re: Crosstable problem</title>
      <link>https://community.qlik.com/t5/QlikView/Crosstable-problem/m-p/791748#M1026467</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry I did not see the second tab.&lt;/P&gt;&lt;P&gt;I will pass on this.&lt;/P&gt;&lt;P&gt;Maybe somebody else has solution.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Mar 2015 12:02:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Crosstable-problem/m-p/791748#M1026467</guid>
      <dc:creator>robert_mika</dc:creator>
      <dc:date>2015-03-12T12:02:30Z</dc:date>
    </item>
    <item>
      <title>Re: Crosstable problem</title>
      <link>https://community.qlik.com/t5/QlikView/Crosstable-problem/m-p/791749#M1026468</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No worries, thanks anyway.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Mar 2015 12:11:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Crosstable-problem/m-p/791749#M1026468</guid>
      <dc:creator>janne_timonen</dc:creator>
      <dc:date>2015-03-12T12:11:40Z</dc:date>
    </item>
    <item>
      <title>Re: Crosstable problem</title>
      <link>https://community.qlik.com/t5/QlikView/Crosstable-problem/m-p/791750#M1026469</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I believe you might need to think through your data model.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please see the attached file for a solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RL&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Mar 2015 14:50:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Crosstable-problem/m-p/791750#M1026469</guid>
      <dc:creator />
      <dc:date>2015-03-12T14:50:47Z</dc:date>
    </item>
    <item>
      <title>Re: Crosstable problem</title>
      <link>https://community.qlik.com/t5/QlikView/Crosstable-problem/m-p/791751#M1026470</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have excluded the problem with the shift in the dates, i.e. to have a weekday and a date with the associated data not being in line.&lt;/P&gt;&lt;P&gt;BTW: How would this table look in case of a leap year?&lt;/P&gt;&lt;P&gt;So basically inserted field on the 2014-data to be in exactly the same row as 2015.&lt;/P&gt;&lt;P&gt;If you wish to adjust, you may bring in a counter in the columns and treat all 2014-columns different than 2015 ....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sample is attached&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have Fun! Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Mar 2015 20:27:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Crosstable-problem/m-p/791751#M1026470</guid>
      <dc:creator>prieper</dc:creator>
      <dc:date>2015-03-12T20:27:19Z</dc:date>
    </item>
    <item>
      <title>Re: Crosstable problem</title>
      <link>https://community.qlik.com/t5/QlikView/Crosstable-problem/m-p/791752#M1026471</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks guys, you gave me couple of nice different approaches.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyways, I learned a valuable lesson yesterday: Always double check what part of the task was the requirement and what was just 'nice to have'. In fact I just needed one column. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/blush.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Mar 2015 07:06:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Crosstable-problem/m-p/791752#M1026471</guid>
      <dc:creator>janne_timonen</dc:creator>
      <dc:date>2015-03-13T07:06:26Z</dc:date>
    </item>
    <item>
      <title>Re: Crosstable problem</title>
      <link>https://community.qlik.com/t5/QlikView/Crosstable-problem/m-p/791753#M1026472</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Janne,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please try like this...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Mar 2015 07:20:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Crosstable-problem/m-p/791753#M1026472</guid>
      <dc:creator>prma7799</dc:creator>
      <dc:date>2015-03-13T07:20:51Z</dc:date>
    </item>
    <item>
      <title>Re: Crosstable problem</title>
      <link>https://community.qlik.com/t5/QlikView/Crosstable-problem/m-p/791754#M1026473</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Try like this attachment.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 14 Mar 2015 05:58:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Crosstable-problem/m-p/791754#M1026473</guid>
      <dc:creator />
      <dc:date>2015-03-14T05:58:49Z</dc:date>
    </item>
  </channel>
</rss>

