<?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 Restructuring Data on Loading in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Restructuring-Data-on-Loading/m-p/312346#M115337</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi QlikView Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can someone help me please?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to restructure a data set upon loading it into Qlikview. What I want is for the status dates to appear as the field with the data values as the data within the field for each document number. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To give a simplified example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My data structure currently is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="361"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl65" height="20" width="81"&gt;DocNumber&lt;/TD&gt;&lt;TD class="xl65" width="205"&gt;Status&lt;/TD&gt;&lt;TD class="xl65" width="75"&gt;Date&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20"&gt;1&lt;/TD&gt;&lt;TD class="xl65"&gt;Scanned&lt;/TD&gt;&lt;TD class="xl66"&gt;01/08/2011&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20"&gt;1&lt;/TD&gt;&lt;TD class="xl65"&gt;Waiting Coder Action&lt;/TD&gt;&lt;TD class="xl66"&gt;03/08/2011&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20"&gt;1&lt;/TD&gt;&lt;TD class="xl65"&gt;In Query&lt;/TD&gt;&lt;TD class="xl66"&gt;05/08/2011&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20"&gt;1&lt;/TD&gt;&lt;TD class="xl65"&gt;Waiting Payment&lt;/TD&gt;&lt;TD class="xl66"&gt;07/08/2011&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20"&gt;2&lt;/TD&gt;&lt;TD class="xl65"&gt;Scanned&lt;/TD&gt;&lt;TD class="xl66"&gt;07/08/2011&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20"&gt;2&lt;/TD&gt;&lt;TD class="xl65"&gt;Waiting Coder Action&lt;/TD&gt;&lt;TD class="xl66"&gt;09/08/2011&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20"&gt;2&lt;/TD&gt;&lt;TD class="xl65"&gt;In Query&lt;/TD&gt;&lt;TD class="xl66"&gt;11/08/2011&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20"&gt;3&lt;/TD&gt;&lt;TD class="xl65"&gt;Scanned&lt;/TD&gt;&lt;TD class="xl66"&gt;13/08/2011&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20"&gt;2&lt;/TD&gt;&lt;TD class="xl65"&gt;Waiting Payment&lt;/TD&gt;&lt;TD class="xl66"&gt;15/08/2011&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20"&gt;2&lt;/TD&gt;&lt;TD class="xl65"&gt;Completed&lt;/TD&gt;&lt;TD class="xl66"&gt;17/08/2011&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20"&gt;4&lt;/TD&gt;&lt;TD class="xl65"&gt;Scanned&lt;/TD&gt;&lt;TD class="xl66"&gt;19/08/2011&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20"&gt;4&lt;/TD&gt;&lt;TD class="xl65"&gt;Waiting Coder Action&lt;/TD&gt;&lt;TD class="xl66"&gt;21/08/2011&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20"&gt;4&lt;/TD&gt;&lt;TD class="xl65"&gt;In Query&lt;/TD&gt;&lt;TD class="xl66"&gt;23/08/2011&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And I need to be able to look at the time lags between status dates so need QlikView to restructure the data into the table format below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 663px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl65" height="20" width="143"&gt;DocNumber&lt;/TD&gt;&lt;TD class="xl66" style="border-left: medium none;" width="114"&gt;Completed&lt;/TD&gt;&lt;TD class="xl66" style="border-left: medium none;" width="75"&gt;In Query&lt;/TD&gt;&lt;TD class="xl66" style="border-left: medium none;" width="75"&gt;Scanned&lt;/TD&gt;&lt;TD class="xl66" style="border-left: medium none;" width="141"&gt;Waiting Coder Action&lt;/TD&gt;&lt;TD class="xl66" style="border-left: medium none;" width="115"&gt;Waiting Payment&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="20" style="border-top: medium none;"&gt;1&lt;/TD&gt;&lt;TD class="xl68" style="border-left: medium none; border-top: medium none;"&gt;&lt;/TD&gt;&lt;TD class="xl68" style="border-left: medium none; border-top: medium none;"&gt;05/08/2011&lt;/TD&gt;&lt;TD class="xl68" style="border-left: medium none; border-top: medium none;"&gt;01/08/2011&lt;/TD&gt;&lt;TD class="xl68" style="border-left: medium none; border-top: medium none;"&gt;03/08/2011&lt;/TD&gt;&lt;TD class="xl68" style="border-left: medium none; border-top: medium none;"&gt;07/08/2011&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="20" style="border-top: medium none;"&gt;2&lt;/TD&gt;&lt;TD class="xl68" style="border-left: medium none; border-top: medium none;"&gt;17/08/2011&lt;/TD&gt;&lt;TD class="xl68" style="border-left: medium none; border-top: medium none;"&gt;11/08/2011&lt;/TD&gt;&lt;TD class="xl68" style="border-left: medium none; border-top: medium none;"&gt;07/08/2011&lt;/TD&gt;&lt;TD class="xl68" style="border-left: medium none; border-top: medium none;"&gt;09/08/2011&lt;/TD&gt;&lt;TD class="xl68" style="border-left: medium none; border-top: medium none;"&gt;15/08/2011&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="20" style="border-top: medium none;"&gt;3&lt;/TD&gt;&lt;TD class="xl68" style="border-left: medium none; border-top: medium none;"&gt;&lt;/TD&gt;&lt;TD class="xl68" style="border-left: medium none; border-top: medium none;"&gt;&lt;/TD&gt;&lt;TD class="xl68" style="border-left: medium none; border-top: medium none;"&gt;13/08/2011&lt;/TD&gt;&lt;TD class="xl68" style="border-left: medium none; border-top: medium none;"&gt;&lt;/TD&gt;&lt;TD class="xl68" style="border-left: medium none; border-top: medium none;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="20" style="border-top: medium none;"&gt;4&lt;/TD&gt;&lt;TD class="xl68" style="border-left: medium none; border-top: medium none;"&gt;&lt;/TD&gt;&lt;TD class="xl68" style="border-left: medium none; border-top: medium none;"&gt;23/08/2011&lt;/TD&gt;&lt;TD class="xl68" style="border-left: medium none; border-top: medium none;"&gt;19/08/2011&lt;/TD&gt;&lt;TD class="xl68" style="border-left: medium none; border-top: medium none;"&gt;21/08/2011&lt;/TD&gt;&lt;TD class="xl68" style="border-left: medium none; border-top: medium none;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this possible? If so, how?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To be more specific there are around 30-40 statuses with a seperate line in the current data set for each.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Becky&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 31 Aug 2011 07:02:50 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-08-31T07:02:50Z</dc:date>
    <item>
      <title>Restructuring Data on Loading</title>
      <link>https://community.qlik.com/t5/QlikView/Restructuring-Data-on-Loading/m-p/312346#M115337</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi QlikView Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can someone help me please?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to restructure a data set upon loading it into Qlikview. What I want is for the status dates to appear as the field with the data values as the data within the field for each document number. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To give a simplified example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My data structure currently is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="361"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl65" height="20" width="81"&gt;DocNumber&lt;/TD&gt;&lt;TD class="xl65" width="205"&gt;Status&lt;/TD&gt;&lt;TD class="xl65" width="75"&gt;Date&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20"&gt;1&lt;/TD&gt;&lt;TD class="xl65"&gt;Scanned&lt;/TD&gt;&lt;TD class="xl66"&gt;01/08/2011&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20"&gt;1&lt;/TD&gt;&lt;TD class="xl65"&gt;Waiting Coder Action&lt;/TD&gt;&lt;TD class="xl66"&gt;03/08/2011&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20"&gt;1&lt;/TD&gt;&lt;TD class="xl65"&gt;In Query&lt;/TD&gt;&lt;TD class="xl66"&gt;05/08/2011&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20"&gt;1&lt;/TD&gt;&lt;TD class="xl65"&gt;Waiting Payment&lt;/TD&gt;&lt;TD class="xl66"&gt;07/08/2011&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20"&gt;2&lt;/TD&gt;&lt;TD class="xl65"&gt;Scanned&lt;/TD&gt;&lt;TD class="xl66"&gt;07/08/2011&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20"&gt;2&lt;/TD&gt;&lt;TD class="xl65"&gt;Waiting Coder Action&lt;/TD&gt;&lt;TD class="xl66"&gt;09/08/2011&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20"&gt;2&lt;/TD&gt;&lt;TD class="xl65"&gt;In Query&lt;/TD&gt;&lt;TD class="xl66"&gt;11/08/2011&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20"&gt;3&lt;/TD&gt;&lt;TD class="xl65"&gt;Scanned&lt;/TD&gt;&lt;TD class="xl66"&gt;13/08/2011&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20"&gt;2&lt;/TD&gt;&lt;TD class="xl65"&gt;Waiting Payment&lt;/TD&gt;&lt;TD class="xl66"&gt;15/08/2011&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20"&gt;2&lt;/TD&gt;&lt;TD class="xl65"&gt;Completed&lt;/TD&gt;&lt;TD class="xl66"&gt;17/08/2011&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20"&gt;4&lt;/TD&gt;&lt;TD class="xl65"&gt;Scanned&lt;/TD&gt;&lt;TD class="xl66"&gt;19/08/2011&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20"&gt;4&lt;/TD&gt;&lt;TD class="xl65"&gt;Waiting Coder Action&lt;/TD&gt;&lt;TD class="xl66"&gt;21/08/2011&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20"&gt;4&lt;/TD&gt;&lt;TD class="xl65"&gt;In Query&lt;/TD&gt;&lt;TD class="xl66"&gt;23/08/2011&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And I need to be able to look at the time lags between status dates so need QlikView to restructure the data into the table format below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 663px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl65" height="20" width="143"&gt;DocNumber&lt;/TD&gt;&lt;TD class="xl66" style="border-left: medium none;" width="114"&gt;Completed&lt;/TD&gt;&lt;TD class="xl66" style="border-left: medium none;" width="75"&gt;In Query&lt;/TD&gt;&lt;TD class="xl66" style="border-left: medium none;" width="75"&gt;Scanned&lt;/TD&gt;&lt;TD class="xl66" style="border-left: medium none;" width="141"&gt;Waiting Coder Action&lt;/TD&gt;&lt;TD class="xl66" style="border-left: medium none;" width="115"&gt;Waiting Payment&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="20" style="border-top: medium none;"&gt;1&lt;/TD&gt;&lt;TD class="xl68" style="border-left: medium none; border-top: medium none;"&gt;&lt;/TD&gt;&lt;TD class="xl68" style="border-left: medium none; border-top: medium none;"&gt;05/08/2011&lt;/TD&gt;&lt;TD class="xl68" style="border-left: medium none; border-top: medium none;"&gt;01/08/2011&lt;/TD&gt;&lt;TD class="xl68" style="border-left: medium none; border-top: medium none;"&gt;03/08/2011&lt;/TD&gt;&lt;TD class="xl68" style="border-left: medium none; border-top: medium none;"&gt;07/08/2011&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="20" style="border-top: medium none;"&gt;2&lt;/TD&gt;&lt;TD class="xl68" style="border-left: medium none; border-top: medium none;"&gt;17/08/2011&lt;/TD&gt;&lt;TD class="xl68" style="border-left: medium none; border-top: medium none;"&gt;11/08/2011&lt;/TD&gt;&lt;TD class="xl68" style="border-left: medium none; border-top: medium none;"&gt;07/08/2011&lt;/TD&gt;&lt;TD class="xl68" style="border-left: medium none; border-top: medium none;"&gt;09/08/2011&lt;/TD&gt;&lt;TD class="xl68" style="border-left: medium none; border-top: medium none;"&gt;15/08/2011&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="20" style="border-top: medium none;"&gt;3&lt;/TD&gt;&lt;TD class="xl68" style="border-left: medium none; border-top: medium none;"&gt;&lt;/TD&gt;&lt;TD class="xl68" style="border-left: medium none; border-top: medium none;"&gt;&lt;/TD&gt;&lt;TD class="xl68" style="border-left: medium none; border-top: medium none;"&gt;13/08/2011&lt;/TD&gt;&lt;TD class="xl68" style="border-left: medium none; border-top: medium none;"&gt;&lt;/TD&gt;&lt;TD class="xl68" style="border-left: medium none; border-top: medium none;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="20" style="border-top: medium none;"&gt;4&lt;/TD&gt;&lt;TD class="xl68" style="border-left: medium none; border-top: medium none;"&gt;&lt;/TD&gt;&lt;TD class="xl68" style="border-left: medium none; border-top: medium none;"&gt;23/08/2011&lt;/TD&gt;&lt;TD class="xl68" style="border-left: medium none; border-top: medium none;"&gt;19/08/2011&lt;/TD&gt;&lt;TD class="xl68" style="border-left: medium none; border-top: medium none;"&gt;21/08/2011&lt;/TD&gt;&lt;TD class="xl68" style="border-left: medium none; border-top: medium none;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this possible? If so, how?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To be more specific there are around 30-40 statuses with a seperate line in the current data set for each.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Becky&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Aug 2011 07:02:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Restructuring-Data-on-Loading/m-p/312346#M115337</guid>
      <dc:creator />
      <dc:date>2011-08-31T07:02:50Z</dc:date>
    </item>
    <item>
      <title>Restructuring Data on Loading</title>
      <link>https://community.qlik.com/t5/QlikView/Restructuring-Data-on-Loading/m-p/312347#M115338</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;Yes it is possible you need to crate a pivot table in this type of requirements on that you need to create a pivot table and arrange a table like you want it by drag and drop the fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anand&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Aug 2011 07:10:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Restructuring-Data-on-Loading/m-p/312347#M115338</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2011-08-31T07:10:12Z</dc:date>
    </item>
    <item>
      <title>Restructuring Data on Loading</title>
      <link>https://community.qlik.com/t5/QlikView/Restructuring-Data-on-Loading/m-p/312348#M115339</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;There is no limit for the status column if there is many types of the status available it will create by the pivot table.&lt;/P&gt;&lt;P&gt;Just put DocNumber, Status field in the Dimensions and in expression date field.&lt;/P&gt;&lt;P&gt;And after creating of the pivot table just click on the Status column and drag it towards the right top corner then you see the Status column goes upwards.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And let me know&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Anand&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Aug 2011 07:21:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Restructuring-Data-on-Loading/m-p/312348#M115339</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2011-08-31T07:21:18Z</dc:date>
    </item>
    <item>
      <title>Re: Restructuring Data on Loading</title>
      <link>https://community.qlik.com/t5/QlikView/Restructuring-Data-on-Loading/m-p/312349#M115340</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi RB&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use Generic Load&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Generic LOAD DocNumber, &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Status, &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;FROM&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;indata.txt&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;(txt, codepage is 1252, embedded labels, delimiter is '\t', msq);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Heres an example of a straight table chart using the loaded data:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="genericload.JPG" class="jive-image-thumbnail jive-image" onclick="" src="https://community.qlik.com/legacyfs/online/6892_genericload.JPG" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hth/gg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Aug 2011 07:21:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Restructuring-Data-on-Loading/m-p/312349#M115340</guid>
      <dc:creator>gandalfgray</dc:creator>
      <dc:date>2011-08-31T07:21:35Z</dc:date>
    </item>
    <item>
      <title>Restructuring Data on Loading</title>
      <link>https://community.qlik.com/t5/QlikView/Restructuring-Data-on-Loading/m-p/312350#M115341</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;Many thanks for such quick responses they are much appreciated. Unfortunately the pivot tables do not give the required data structure as I need to start analysing the times between the different statuses. e.g. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="995"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl67" height="60" width="143"&gt;DocNumber&lt;/TD&gt;&lt;TD class="xl68" style="border-left: medium none;" width="142"&gt;Time From Scan To Waiting Coder Action&lt;/TD&gt;&lt;TD class="xl68" style="border-left: medium none;" width="142"&gt;Time From Waiting Coder Action To In Query&lt;/TD&gt;&lt;TD class="xl68" style="border-left: medium none;" width="142"&gt;Time From In Query To Waiting Payment&lt;/TD&gt;&lt;TD class="xl68" style="border-left: medium none;" width="142"&gt;Time From Waiting Payment To Completed&lt;/TD&gt;&lt;TD class="xl68" style="border-left: medium none;" width="142"&gt;Total Time to complete&lt;/TD&gt;&lt;TD class="xl68" style="border-left: medium none;" width="142"&gt;Total Time in System&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20" style="border-top: medium none;"&gt;1&lt;/TD&gt;&lt;TD class="xl66" style="border-left: medium none; border-top: medium none;"&gt;2&lt;/TD&gt;&lt;TD class="xl66" style="border-left: medium none; border-top: medium none;"&gt;2&lt;/TD&gt;&lt;TD class="xl66" style="border-left: medium none; border-top: medium none;"&gt;2&lt;/TD&gt;&lt;TD class="xl66" style="border-left: medium none; border-top: medium none;"&gt; &lt;/TD&gt;&lt;TD class="xl66" style="border-left: medium none; border-top: medium none;"&gt; &lt;/TD&gt;&lt;TD class="xl66" style="border-left: medium none; border-top: medium none;"&gt;6&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20" style="border-top: medium none;"&gt;2&lt;/TD&gt;&lt;TD class="xl66" style="border-left: medium none; border-top: medium none;"&gt;2&lt;/TD&gt;&lt;TD class="xl66" style="border-left: medium none; border-top: medium none;"&gt;2&lt;/TD&gt;&lt;TD class="xl66" style="border-left: medium none; border-top: medium none;"&gt;4&lt;/TD&gt;&lt;TD class="xl66" style="border-left: medium none; border-top: medium none;"&gt;2&lt;/TD&gt;&lt;TD class="xl66" style="border-left: medium none; border-top: medium none;"&gt;10&lt;/TD&gt;&lt;TD class="xl66" style="border-left: medium none; border-top: medium none;"&gt;10&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20" style="border-top: medium none;"&gt;3&lt;/TD&gt;&lt;TD class="xl66" style="border-left: medium none; border-top: medium none;"&gt; &lt;/TD&gt;&lt;TD class="xl66" style="border-left: medium none; border-top: medium none;"&gt; &lt;/TD&gt;&lt;TD class="xl66" style="border-left: medium none; border-top: medium none;"&gt; &lt;/TD&gt;&lt;TD class="xl66" style="border-left: medium none; border-top: medium none;"&gt; &lt;/TD&gt;&lt;TD class="xl66" style="border-left: medium none; border-top: medium none;"&gt; &lt;/TD&gt;&lt;TD class="xl66" style="border-left: medium none; border-top: medium none;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20" style="border-top: medium none;"&gt;4&lt;/TD&gt;&lt;TD class="xl66" style="border-left: medium none; border-top: medium none;"&gt;2&lt;/TD&gt;&lt;TD class="xl66" style="border-left: medium none; border-top: medium none;"&gt;2&lt;/TD&gt;&lt;TD class="xl66" style="border-left: medium none; border-top: medium none;"&gt; &lt;/TD&gt;&lt;TD class="xl66" style="border-left: medium none; border-top: medium none;"&gt; &lt;/TD&gt;&lt;TD class="xl66" style="border-left: medium none; border-top: medium none;"&gt; &lt;/TD&gt;&lt;TD class="xl66" style="border-left: medium none; border-top: medium none;"&gt;4&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;BR /&gt;And whilst I could use something such as the min to max total times, what I really want to know is how long the document has spent in each status. Therefore, I think that I need to restructure the data upon loading (unless there is a more intelligent way that I'm missing).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To make matters even more interesting, documents can move back and forth between statuses e.g. go in and out of query and therefore the total time in query is more important than the date. Is this possible to calculate in QlikView?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once again, many thanks for all your help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Becky&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Aug 2011 07:28:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Restructuring-Data-on-Loading/m-p/312350#M115341</guid>
      <dc:creator />
      <dc:date>2011-08-31T07:28:55Z</dc:date>
    </item>
    <item>
      <title>Re: Restructuring Data on Loading</title>
      <link>https://community.qlik.com/t5/QlikView/Restructuring-Data-on-Loading/m-p/312351#M115342</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How about this then:&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="6893" alt="dochandl.JPG" class="jive-image-thumbnail jive-image" src="https://community.qlik.com/legacyfs/online/6893_dochandl.JPG" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the load script:&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Docs:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;LOAD DocNumber, &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Status, &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;FROM&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;145324.txt&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;(txt, codepage is 1252, embedded labels, delimiter is '\t', msq);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Left Join (Docs)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Load DocNumber,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Max(Date)-Min(Date) As DaysInSystem&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Resident Docs&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Group By DocNumber;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;StatusSort:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;LOAD * INLINE [&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Status, StatusSort&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Scanned, 1&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Waiting Coder Action, 2&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; In Query, 3&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Waiting Payment, 4&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Completed, 5&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;];&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hth/gg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Aug 2011 08:07:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Restructuring-Data-on-Loading/m-p/312351#M115342</guid>
      <dc:creator>gandalfgray</dc:creator>
      <dc:date>2011-08-31T08:07:50Z</dc:date>
    </item>
    <item>
      <title>Re: Restructuring Data on Loading</title>
      <link>https://community.qlik.com/t5/QlikView/Restructuring-Data-on-Loading/m-p/312352#M115343</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;See if this is what you are looking for.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Aug 2011 10:09:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Restructuring-Data-on-Loading/m-p/312352#M115343</guid>
      <dc:creator />
      <dc:date>2011-08-31T10:09:03Z</dc:date>
    </item>
    <item>
      <title>Re: Restructuring Data on Loading</title>
      <link>https://community.qlik.com/t5/QlikView/Restructuring-Data-on-Loading/m-p/312353#M115344</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;See the attached sample if it is work for you. let me know if it is correct or not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Anand&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Aug 2011 10:57:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Restructuring-Data-on-Loading/m-p/312353#M115344</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2011-08-31T10:57:16Z</dc:date>
    </item>
    <item>
      <title>Restructuring Data on Loading</title>
      <link>https://community.qlik.com/t5/QlikView/Restructuring-Data-on-Loading/m-p/312354#M115345</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;A huge thanks for all your help on this issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I apologise for the late response, but it is really interesting and useful to know all the different ways that this can be achieved and I have adapted bits from a couple of the solutions mentioned above due to the different data sets I am receiving, therefore sorry that I couldn't tell you who have the "correct answer" as they all worked!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RB&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Sep 2011 13:42:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Restructuring-Data-on-Loading/m-p/312354#M115345</guid>
      <dc:creator />
      <dc:date>2011-09-22T13:42:37Z</dc:date>
    </item>
  </channel>
</rss>

