<?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 Problem with data structure in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Problem-with-data-structure/m-p/629439#M679045</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;I have a problem with my data. It has the following structure&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 481px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD height="20" width="279"&gt;Name&lt;/TD&gt;&lt;TD width="107"&gt;Timestamp&lt;/TD&gt;&lt;TD align="right" width="95"&gt;no of&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="20" width="279"&gt;K1&lt;/TD&gt;&lt;TD width="107"&gt;2013-09-01 03:00:00.000&lt;/TD&gt;&lt;TD align="right" width="95"&gt;6&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="20" width="279"&gt;K1&lt;/TD&gt;&lt;TD width="107"&gt;2013-09-01 04:00:00.000&lt;/TD&gt;&lt;TD align="right" width="95"&gt;5&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;the problem is that the given hour is wrong; it should be 02.00 instead of 03.00. All "no of" needs to be moved "up" &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Is there an easy way to fix this i qlikview? &lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I thought about some sort of if-statement at first, but it got complicated since there was a lot of special cases.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; I have about 35 excel files with the same kind of structure. I thought about writing a macro in excel and fix the problem there instead&lt;/P&gt;&lt;P&gt;At the moment I'm using Hour(Timestamp) to get the hour from the timestamp filed&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 12 May 2014 10:37:40 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-05-12T10:37:40Z</dc:date>
    <item>
      <title>Problem with data structure</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-data-structure/m-p/629439#M679045</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;I have a problem with my data. It has the following structure&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 481px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD height="20" width="279"&gt;Name&lt;/TD&gt;&lt;TD width="107"&gt;Timestamp&lt;/TD&gt;&lt;TD align="right" width="95"&gt;no of&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="20" width="279"&gt;K1&lt;/TD&gt;&lt;TD width="107"&gt;2013-09-01 03:00:00.000&lt;/TD&gt;&lt;TD align="right" width="95"&gt;6&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="20" width="279"&gt;K1&lt;/TD&gt;&lt;TD width="107"&gt;2013-09-01 04:00:00.000&lt;/TD&gt;&lt;TD align="right" width="95"&gt;5&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;the problem is that the given hour is wrong; it should be 02.00 instead of 03.00. All "no of" needs to be moved "up" &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Is there an easy way to fix this i qlikview? &lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I thought about some sort of if-statement at first, but it got complicated since there was a lot of special cases.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; I have about 35 excel files with the same kind of structure. I thought about writing a macro in excel and fix the problem there instead&lt;/P&gt;&lt;P&gt;At the moment I'm using Hour(Timestamp) to get the hour from the timestamp filed&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 May 2014 10:37:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-data-structure/m-p/629439#M679045</guid>
      <dc:creator />
      <dc:date>2014-05-12T10:37:40Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with data structure</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-data-structure/m-p/629440#M679046</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anna,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please give more details. May you show more rows of your source table data and how those rows should look like after transformation?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Darek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 May 2014 11:01:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-data-structure/m-p/629440#M679046</guid>
      <dc:creator />
      <dc:date>2014-05-12T11:01:24Z</dc:date>
    </item>
  </channel>
</rss>

