<?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 help (single row into multiples) in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Crosstable-help-single-row-into-multiples/m-p/1738087#M722260</link>
    <description>&lt;P&gt;Hi, i've tried searching the community and there is lots of different examples of things similar to what i'm trying to achieve, but none quite solve my issues, i'm not sure if crosstable will work and if i have the syntax correct.&lt;BR /&gt;&lt;BR /&gt;I have a table loaded into qlik from excel, with a format roughly like&lt;BR /&gt;&lt;BR /&gt;Person, Type, Team, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12&lt;BR /&gt;&lt;BR /&gt;For example&lt;BR /&gt;&lt;BR /&gt;John Doe, Normal, Ops, 1,1,1,1,1,1,1,1,1,1,1,1&lt;BR /&gt;&lt;BR /&gt;Sue Doe, Temp, Ops,&amp;nbsp;0,0,0,1,1,1,1,1,0,0,0,0&lt;BR /&gt;&lt;BR /&gt;I would like to create a new table, that creates a separate row of date for each person and each period, for example&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Person, Type, Team, Period, Value&lt;BR /&gt;John Doe, Normal, Ops, 1, 1&lt;BR /&gt;&lt;BR /&gt;John Doe, Normal, Ops, 2, 1&lt;BR /&gt;&lt;BR /&gt;John Doe, Normal, Ops, 3, 1&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Is that something i should achieve via crossjoin or another method during an extra script section of the data load ?&lt;/P&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator>DMG</dc:creator>
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>Crosstable help (single row into multiples)</title>
      <link>https://community.qlik.com/t5/QlikView/Crosstable-help-single-row-into-multiples/m-p/1738087#M722260</link>
      <description>&lt;P&gt;Hi, i've tried searching the community and there is lots of different examples of things similar to what i'm trying to achieve, but none quite solve my issues, i'm not sure if crosstable will work and if i have the syntax correct.&lt;BR /&gt;&lt;BR /&gt;I have a table loaded into qlik from excel, with a format roughly like&lt;BR /&gt;&lt;BR /&gt;Person, Type, Team, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12&lt;BR /&gt;&lt;BR /&gt;For example&lt;BR /&gt;&lt;BR /&gt;John Doe, Normal, Ops, 1,1,1,1,1,1,1,1,1,1,1,1&lt;BR /&gt;&lt;BR /&gt;Sue Doe, Temp, Ops,&amp;nbsp;0,0,0,1,1,1,1,1,0,0,0,0&lt;BR /&gt;&lt;BR /&gt;I would like to create a new table, that creates a separate row of date for each person and each period, for example&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Person, Type, Team, Period, Value&lt;BR /&gt;John Doe, Normal, Ops, 1, 1&lt;BR /&gt;&lt;BR /&gt;John Doe, Normal, Ops, 2, 1&lt;BR /&gt;&lt;BR /&gt;John Doe, Normal, Ops, 3, 1&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Is that something i should achieve via crossjoin or another method during an extra script section of the data load ?&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Crosstable-help-single-row-into-multiples/m-p/1738087#M722260</guid>
      <dc:creator>DMG</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Crosstable help (single row into multiples)</title>
      <link>https://community.qlik.com/t5/QlikView/Crosstable-help-single-row-into-multiples/m-p/1738097#M722261</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Maye be this :&lt;/P&gt;&lt;LI-CODE lang="python"&gt;Data:

CrossTable(Period, Value, 3)

load * inline [
Person, Type, Team, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12
John Doe, Normal, Ops, 1,1,1,1,1,1,1,1,1,1,1,1
Sue Doe, Temp, Ops, 0,0,0,1,1,1,1,1,0,0,0,0
];

Final:
noconcatenate

load Person, Type, Team, keepchar(Period,'0123456789') as Period,Value resident Data;

drop table Data;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;output :&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 281px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/39475iF738493F3F40D61C/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Aug 2020 10:35:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Crosstable-help-single-row-into-multiples/m-p/1738097#M722261</guid>
      <dc:creator>Taoufiq_Zarra</dc:creator>
      <dc:date>2020-08-24T10:35:06Z</dc:date>
    </item>
    <item>
      <title>Re: Crosstable help (single row into multiples)</title>
      <link>https://community.qlik.com/t5/QlikView/Crosstable-help-single-row-into-multiples/m-p/1738109#M722262</link>
      <description>&lt;P&gt;Thanks, the output looks perfect, i'm very new to qlik however, if i wanted to take the data from an existing already loaded table (that contains many fields in addition to those needed for the crosstable) how would i alter the load inline section, to instead take certain fields for example , Full_Name (instead of Person), Type, Team, P1,...P12 from an existing table called "Resource" rather than loading the data inline.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 24 Aug 2020 11:24:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Crosstable-help-single-row-into-multiples/m-p/1738109#M722262</guid>
      <dc:creator>DMG</dc:creator>
      <dc:date>2020-08-24T11:24:53Z</dc:date>
    </item>
    <item>
      <title>Re: Crosstable help (single row into multiples)</title>
      <link>https://community.qlik.com/t5/QlikView/Crosstable-help-single-row-into-multiples/m-p/1738118#M722263</link>
      <description>&lt;P&gt;if I understood correctly, you need&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Data:

CrossTable(Period, Value, 3)
load Full_Name as Person, Type, Team, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12
resident Resource;

Final:
noconcatenate

load Person, Type, Team, keepchar(Period,'0123456789') as Period,Value resident Data;

drop table Data;&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 24 Aug 2020 11:49:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Crosstable-help-single-row-into-multiples/m-p/1738118#M722263</guid>
      <dc:creator>Taoufiq_Zarra</dc:creator>
      <dc:date>2020-08-24T11:49:25Z</dc:date>
    </item>
    <item>
      <title>Re: Crosstable help (single row into multiples)</title>
      <link>https://community.qlik.com/t5/QlikView/Crosstable-help-single-row-into-multiples/m-p/1742068#M722264</link>
      <description>&lt;P&gt;Just adding a Design Blog post as well:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Qlik-Design-Blog/The-Crosstable-Load/ba-p/1468083" target="_blank"&gt;https://community.qlik.com/t5/Qlik-Design-Blog/The-Crosstable-Load/ba-p/1468083&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Brett&lt;/P&gt;</description>
      <pubDate>Tue, 08 Sep 2020 15:46:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Crosstable-help-single-row-into-multiples/m-p/1742068#M722264</guid>
      <dc:creator>Brett_Bleess</dc:creator>
      <dc:date>2020-09-08T15:46:49Z</dc:date>
    </item>
  </channel>
</rss>

