<?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 Loading spreadsheets with different formatting in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Loading-spreadsheets-with-different-formatting/m-p/526341#M1148197</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good afternoon all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am working spreadsheets that are exported from our phone system to create a new QV doc. The spreadsheets are not broken out in what I refer to as a traditional format, they have large headers (I know how to get around that) but they then have the report broken up in secyons for each person like so:&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="44552" class="jive-image-thumbnail jive-image" height="563" onclick="" alt="Spreadsheet1.jpg" src="https://community.qlik.com/legacyfs/online/44552_Spreadsheet1.jpg" width="921" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I select the number of lines in the header to get past that and select the embedded labels (yellow highlight) etc but how do I work with the fact that the employees are not columnar. the rows of data are grouped by employee (blue highligted rows). I don't know exactly how to make sense of that in the loading script or QV itself.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do I separate out the rows where each section is totaled and the rows that determine which employee the next group of data belongs to?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help out there on this one?&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Steve&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 25 Jul 2013 17:50:59 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-07-25T17:50:59Z</dc:date>
    <item>
      <title>Loading spreadsheets with different formatting</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-spreadsheets-with-different-formatting/m-p/526341#M1148197</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good afternoon all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am working spreadsheets that are exported from our phone system to create a new QV doc. The spreadsheets are not broken out in what I refer to as a traditional format, they have large headers (I know how to get around that) but they then have the report broken up in secyons for each person like so:&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="44552" class="jive-image-thumbnail jive-image" height="563" onclick="" alt="Spreadsheet1.jpg" src="https://community.qlik.com/legacyfs/online/44552_Spreadsheet1.jpg" width="921" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I select the number of lines in the header to get past that and select the embedded labels (yellow highlight) etc but how do I work with the fact that the employees are not columnar. the rows of data are grouped by employee (blue highligted rows). I don't know exactly how to make sense of that in the loading script or QV itself.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do I separate out the rows where each section is totaled and the rows that determine which employee the next group of data belongs to?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help out there on this one?&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Steve&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Jul 2013 17:50:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-spreadsheets-with-different-formatting/m-p/526341#M1148197</guid>
      <dc:creator />
      <dc:date>2013-07-25T17:50:59Z</dc:date>
    </item>
    <item>
      <title>Re: Loading spreadsheets with different formatting</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-spreadsheets-with-different-formatting/m-p/526342#M1148198</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this: (perhaps you must change the columnames)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;calls1:&lt;/P&gt;&lt;P&gt;Load &lt;/P&gt;&lt;P&gt;*, &lt;/P&gt;&lt;P&gt;if([Interval Starting at] = 'Agent Name', 'avg ACD ring time', &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(peek('Interval Starting at', - 1) &amp;lt;&amp;gt; 'Agent Name', peek('Agent Name', -1))) as [Agent Name],&lt;/P&gt;&lt;P&gt;if([Interval Starting at] = 'Agent Name' or [Interval Starting at] = 'Agent Total', 0, 1) as filter&lt;/P&gt;&lt;P&gt;From phonecalls ....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;calls2:&lt;/P&gt;&lt;P&gt;Load * Resident calls1 Where filter = 1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 27 Jul 2013 19:52:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-spreadsheets-with-different-formatting/m-p/526342#M1148198</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2013-07-27T19:52:45Z</dc:date>
    </item>
    <item>
      <title>Re: Loading spreadsheets with different formatting</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-spreadsheets-with-different-formatting/m-p/526343#M1148199</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Hi Marcus, thanks for the help!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not quite sure how to apply this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is what I have done:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;&amp;nbsp; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Directory;&lt;BR /&gt;LOAD [Interval starting at], &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [ACD answered calls], &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Avg ACD treatment time], &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; F8 as [Agent Name], &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Avg ACD hold time], &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Avg ACD ring time], &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Avg ring time of ACD abandoned], &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [NACD incoming external calls], &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [NACD incoming internal calls], &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [NACD outgoing calls], &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [NACD outgoing external calls], &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [NACD outgoing internal calls], &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Total calls]&lt;BR /&gt;FROM&lt;BR /&gt;[..\..\Desktop\Jim Strickland\3.1 Agent By Interval.XLS]&lt;BR /&gt;(biff, embedded labels, header is 7 lines, table is [Sheet1$]);&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;calls1:&lt;BR /&gt;LOAD &lt;BR /&gt;*, &lt;BR /&gt;IF([Interval Starting at] = 'Agent Name', 'avg ACD ring time', &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IF(PEEK('Interval Starting at', - 1) &amp;lt;&amp;gt; 'Agent Name', PEEK('Agent Name', -1))) AS [Agent Name],&lt;BR /&gt;IF([Interval Starting at] = 'Agent Name' OR [Interval Starting at] = 'Agent Total', 0, 1) AS filter&lt;BR /&gt;FROM&lt;BR /&gt;[..\..\Desktop\Jim Strickland\3.1 Agent By Interval.XLS]&lt;BR /&gt;(biff, embedded labels, header is 7 lines, table is [Sheet1$]);&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;calls2:&lt;BR /&gt;LOAD*Resident calls1 Where filter = 1;&lt;/P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;P&gt;But this throws the following error:&lt;/P&gt;&lt;/SPAN&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="44659" class="jive-image-thumbnail jive-image" onclick="" alt="QV Error.jpg" src="/legacyfs/online/44659_QV Error.jpg" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So obviously i am doing something wrong here.&lt;/P&gt;&lt;P&gt;Thoughts?&lt;/P&gt;&lt;P&gt;Steve&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jul 2013 14:22:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-spreadsheets-with-different-formatting/m-p/526343#M1148199</guid>
      <dc:creator />
      <dc:date>2013-07-29T14:22:51Z</dc:date>
    </item>
    <item>
      <title>Re: Loading spreadsheets with different formatting</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-spreadsheets-with-different-formatting/m-p/526344#M1148200</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this (small changes from single quotes to brakets / the first load with directory will don't needed):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;calls1:&lt;/P&gt;&lt;P&gt;Load &lt;/P&gt;&lt;P&gt;*, &lt;/P&gt;&lt;P&gt;if([Interval Starting at] = 'Agent Name', [avg ACD ring time], &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(peek([Interval Starting at], - 1) &amp;lt;&amp;gt; 'Agent Name', peek([Agent Name], -1))) as [Agent Name],&lt;/P&gt;&lt;P&gt;if([Interval Starting at] = 'Agent Name' or [Interval Starting at] = 'Agent Total', 0, 1) as filter&lt;/P&gt;&lt;P&gt;From phonecalls ....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;calls2:&lt;/P&gt;&lt;P&gt;Load * Resident calls1 Where filter = 1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jul 2013 15:03:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-spreadsheets-with-different-formatting/m-p/526344#M1148200</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2013-07-29T15:03:52Z</dc:date>
    </item>
    <item>
      <title>Re: Loading spreadsheets with different formatting</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-spreadsheets-with-different-formatting/m-p/526345#M1148201</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marcus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am still working with your first bit of code. I got it cleaned up so it would run:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;calls1:&lt;/P&gt;&lt;P&gt;Load &lt;/P&gt;&lt;P&gt;[Interval starting at], &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [ACD answered calls], &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; [Avg ACD treatment time], &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; [Avg ACD hold time], &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Avg ACD ring time], &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Avg ring time of ACD abandoned], &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; F17, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [NACD incoming external calls], &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [NACD incoming internal calls], &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [NACD outgoing calls], &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [NACD outgoing external calls], &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [NACD outgoing internal calls], &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Total calls], &lt;/P&gt;&lt;P&gt;if([Interval starting at] = 'Agent Name', 'avg ACD ring time', &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(peek('Interval Starting at', - 1) &amp;lt;&amp;gt; 'Agent Name', peek('Agent Name', -1))) as [Agent Name],&lt;/P&gt;&lt;P&gt;if([Interval starting at] = 'Agent Name' or [Interval starting at] = 'Agent Total', 0, 1) as filter&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;[..\..\Desktop\Jim Strickland\3.1 Agent By Interval.XLS]&lt;/P&gt;&lt;P&gt;(biff, embedded labels, header is 7 lines, table is [Sheet1$]);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;calls2:&lt;/P&gt;&lt;P&gt;Load * Resident calls1 Where filter = 1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(needed a lower case "s" in "Interval Starting at"...that hung me up for a while.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It runs now but the result is not what i am looking for:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="44669" class="jive-image-thumbnail jive-image" onclick="" alt="QV-2.jpg" src="https://community.qlik.com/legacyfs/online/44669_QV-2.jpg" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;No one thing, I can pull the totals rows our of the spreadsheet. i can work totals on QV. The one thing I need is the agent breakout.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have not gotten your new code to run yet.&lt;/P&gt;&lt;P&gt;Steve&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jul 2013 15:29:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-spreadsheets-with-different-formatting/m-p/526345#M1148201</guid>
      <dc:creator />
      <dc:date>2013-07-29T15:29:44Z</dc:date>
    </item>
    <item>
      <title>Re: Loading spreadsheets with different formatting</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-spreadsheets-with-different-formatting/m-p/526346#M1148202</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Generally the way I suggest will work, perhaps it are not the right columns choosen and/or little mistakes in syntax/logic - but in the screeshots it isn't really good to see. Try it again with a few little changes and it is don't work upload here a small copy from your spreadsheet.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jul 2013 07:23:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-spreadsheets-with-different-formatting/m-p/526346#M1148202</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2013-07-30T07:23:00Z</dc:date>
    </item>
    <item>
      <title>Re: Loading spreadsheets with different formatting</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-spreadsheets-with-different-formatting/m-p/526347#M1148203</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Will do Marcus.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;Steve&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jul 2013 12:00:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-spreadsheets-with-different-formatting/m-p/526347#M1148203</guid>
      <dc:creator />
      <dc:date>2013-07-30T12:00:48Z</dc:date>
    </item>
    <item>
      <title>Re: Loading spreadsheets with different formatting</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-spreadsheets-with-different-formatting/m-p/526348#M1148204</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK, I have worked with this and I think that maybe I was not clear what I needed.&lt;/P&gt;&lt;P&gt;Here is the code I am using:&lt;/P&gt;&lt;P&gt;I have attached three spreadsheets. One is the original sheet I am loading into QV. One is the actual results generated by the above code and one is more like what I need this to look like.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;calls1:&lt;BR /&gt;Load [Interval starting at], &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [ACD answered calls], &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; F5, &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Avg ACD treatment time], &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; F8, &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Avg ACD hold time], &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Avg ACD ring time], &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Avg ring time of ACD abandoned], &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; F17, &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [NACD incoming external calls], &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [NACD incoming internal calls], &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [NACD outgoing calls], &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [NACD outgoing external calls], &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [NACD outgoing internal calls], &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Total calls], &lt;/P&gt;&lt;P&gt;if([Interval starting at] = 'Agent Name', F8, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(peek([Interval starting at], - 1) &amp;lt;&amp;gt; 'Agent Name', peek('Agent Name', -1))) as [Agent Name],&lt;/P&gt;&lt;P&gt;if([Interval starting at] = 'Agent Name' or [Interval starting at] = 'Agent Total', 0, 1) as filter&lt;/P&gt;&lt;P&gt;FROM&lt;BR /&gt;[..\..\Desktop\Jim Strickland\3.1 Agent By Interval.XLS]&lt;BR /&gt;(biff, embedded labels, header is 7 lines, table is [Sheet1$]); &lt;/P&gt;&lt;P&gt;calls2:&lt;BR /&gt;Load * Resident calls1 Where filter = 1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if this makes more sense.&lt;/P&gt;&lt;P&gt;NOTE: I really don’t care about totals or agent number. I just want to have a column where I can see which agent applies to each row in the spreadsheet.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Steve&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jul 2013 13:09:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-spreadsheets-with-different-formatting/m-p/526348#M1148204</guid>
      <dc:creator />
      <dc:date>2013-07-30T13:09:01Z</dc:date>
    </item>
    <item>
      <title>Re: Loading spreadsheets with different formatting</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-spreadsheets-with-different-formatting/m-p/526349#M1148205</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This worked - see also attachment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;calls1:&lt;/P&gt;&lt;P&gt;LOAD &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Interval starting at], &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [ACD answered calls], &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Avg ACD treatment time], &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Avg ACD hold time], &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Avg ACD ring time], &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Avg ring time of ACD abandoned], &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [NACD incoming external calls], &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [NACD incoming internal calls], &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [NACD outgoing calls], &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [NACD outgoing external calls], &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [NACD outgoing internal calls], &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Total calls],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; rowno() as rowno_origin,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if([Interval starting at] = 'Agent Name', F8,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if([Interval starting at] &amp;lt;&amp;gt; 'Agent Name', peek([Agent Name], -1))) as [Agent Name],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if([Interval starting at] = 'Agent Name', F17,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if([Interval starting at] &amp;lt;&amp;gt; 'Agent Name', peek([Agent Number], -1))) as [Agent Number],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if([Interval starting at] = 'Agent Name' or [Interval starting at] = 'Agent Total' or IsNull([Interval starting at]), 0, 1) as filter&lt;/P&gt;&lt;P&gt;FROM [3.1 Agent By Interval.xls] (biff, embedded labels, header is 7 lines, table is Sheet1$);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;calls2:&lt;/P&gt;&lt;P&gt;NoConcatenate Load *, rowno() as rowno_target Resident calls1 Where filter = 1;&lt;/P&gt;&lt;P&gt;drop table calls1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jul 2013 15:33:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-spreadsheets-with-different-formatting/m-p/526349#M1148205</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2013-07-30T15:33:41Z</dc:date>
    </item>
    <item>
      <title>Re: Loading spreadsheets with different formatting</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-spreadsheets-with-different-formatting/m-p/526350#M1148206</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Marcus, you are awesome!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This worked just as I needed. And I can see how you did it so I can leverage this for other applications and increase my understanding.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a million!&lt;/P&gt;&lt;P&gt;Steve&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jul 2013 16:12:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-spreadsheets-with-different-formatting/m-p/526350#M1148206</guid>
      <dc:creator />
      <dc:date>2013-07-30T16:12:34Z</dc:date>
    </item>
    <item>
      <title>Re: Loading spreadsheets with different formatting</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-spreadsheets-with-different-formatting/m-p/526351#M1148207</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi again,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Quick question. I am applying this code to another spreadsheet that is very similar in structure but it is based upon date rather than time interval.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the modified code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;calls1:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;     Date,&lt;/P&gt;&lt;P&gt;     &lt;A href="% Release time"&gt;&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;     &lt;A href="ACD answered calls"&gt;&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;     &lt;A href="Avg ACD treatment time"&gt;&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;     &lt;A href="NACD incoming calls"&gt;&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;     &lt;A href="NACD outgoing calls"&gt;&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;     &lt;A href="Total calls"&gt;&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;    rowno() as rowno_origin,&lt;/P&gt;&lt;P&gt;    if(Date = 'Agent Name', F8,&lt;/P&gt;&lt;P&gt;        if(Date &amp;lt;&amp;gt; 'Agent Name', peek(&lt;A href="Agent Name"&gt;&lt;/A&gt;, -1))) as &lt;A href="Agent Name"&gt;&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;    if(Date = 'Agent Name', F19,&lt;/P&gt;&lt;P&gt;        if(Date &amp;lt;&amp;gt; 'Agent Name', peek(&lt;A href="Agent Number"&gt;&lt;/A&gt;, -1))) as &lt;A href="Agent Number"&gt;&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;    if(Date = 'Agent Name' or Date = 'Agent Total' or IsNull(Date), 0, 1) as filter&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;&lt;A href="3.2 Agent By Date.XLS"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;(biff, embedded labels, header is 7 lines, table is &lt;A href="https://community.qlik.com/Sheet1$"&gt;&lt;/A&gt;);&lt;/P&gt;&lt;P&gt;calls2:&lt;/P&gt;&lt;P&gt;NoConcatenate Load *, rowno() as rowno_target Resident calls1 Where filter = 1;&lt;/P&gt;&lt;P&gt;drop table calls1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It loads fine and for the most part everything looks good but for one thing. The date column info is not right. The date column loads like this:&lt;/P&gt;&lt;P&gt;&lt;A href="cid:image001.png@01CE8EB5.6FAAEAA0"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do I tweak this code to straighten out the date column? On the previous doc, the interval column worked fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have attached the source document.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thoughts?&lt;/P&gt;&lt;P&gt;Steve&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Aug 2013 16:48:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-spreadsheets-with-different-formatting/m-p/526351#M1148207</guid>
      <dc:creator />
      <dc:date>2013-08-01T16:48:53Z</dc:date>
    </item>
    <item>
      <title>Re: Loading spreadsheets with different formatting</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-spreadsheets-with-different-formatting/m-p/526352#M1148208</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I got it…It was a problem in the QV presentation and not the code. Sorry to trouble you over nothing.&lt;/P&gt;&lt;P&gt;Steve&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From: Steve Connelly&lt;/P&gt;&lt;P&gt;Sent: Thursday, August 01, 2013 12:49 PM&lt;/P&gt;&lt;P&gt;To: 'jive-34751097-2a03-2-80n6@community.qlik.com'&lt;/P&gt;&lt;P&gt;Subject: RE: &lt;A href="New to QlikView"&gt;&lt;/A&gt; - Re: Loading spreadsheets with different formatting&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi again,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Quick question. I am applying this code to another spreadsheet that is very similar in structure but it is based upon date rather than time interval.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the modified code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;calls1:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;     Date,&lt;/P&gt;&lt;P&gt;     &lt;A href="% Release time"&gt;&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;     &lt;A href="ACD answered calls"&gt;&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;     &lt;A href="Avg ACD treatment time"&gt;&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;     &lt;A href="NACD incoming calls"&gt;&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;     &lt;A href="NACD outgoing calls"&gt;&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;     &lt;A href="Total calls"&gt;&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;    rowno() as rowno_origin,&lt;/P&gt;&lt;P&gt;    if(Date = 'Agent Name', F8,&lt;/P&gt;&lt;P&gt;        if(Date &amp;lt;&amp;gt; 'Agent Name', peek(&lt;A href="Agent Name"&gt;&lt;/A&gt;, -1))) as &lt;A href="Agent Name"&gt;&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;    if(Date = 'Agent Name', F19,&lt;/P&gt;&lt;P&gt;        if(Date &amp;lt;&amp;gt; 'Agent Name', peek(&lt;A href="Agent Number"&gt;&lt;/A&gt;, -1))) as &lt;A href="Agent Number"&gt;&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;    if(Date = 'Agent Name' or Date = 'Agent Total' or IsNull(Date), 0, 1) as filter&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;&lt;A href="3.2 Agent By Date.XLS"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;(biff, embedded labels, header is 7 lines, table is &lt;A href="https://community.qlik.com/Sheet1$"&gt;&lt;/A&gt;);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;calls2:&lt;/P&gt;&lt;P&gt;NoConcatenate Load *, rowno() as rowno_target Resident calls1 Where filter = 1;&lt;/P&gt;&lt;P&gt;drop table calls1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It loads fine and for the most part everything looks good but for one thing. The date column info is not right. The date column loads like this:&lt;/P&gt;&lt;P&gt;&lt;A href="cid:image001.png@01CE8EB8.87FA7D70"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do I tweak this code to straighten out the date column? On the previous doc, the interval column worked fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have attached the source document.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thoughts?&lt;/P&gt;&lt;P&gt;Steve&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Aug 2013 17:11:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-spreadsheets-with-different-formatting/m-p/526352#M1148208</guid>
      <dc:creator />
      <dc:date>2013-08-01T17:11:06Z</dc:date>
    </item>
    <item>
      <title>Re: Loading spreadsheets with different formatting</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-spreadsheets-with-different-formatting/m-p/526353#M1148209</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It looks good - a date is a numeric value. You could it formatted how do you want in script or GUI, perhaps so (script):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;date(Date, 'YYYY-MM-DD') as Date&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Aug 2013 07:41:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-spreadsheets-with-different-formatting/m-p/526353#M1148209</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2013-08-02T07:41:17Z</dc:date>
    </item>
    <item>
      <title>Re: Loading spreadsheets with different formatting</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-spreadsheets-with-different-formatting/m-p/526354#M1148210</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks! I will.&lt;/P&gt;&lt;P&gt;Have a great weekend.&lt;/P&gt;&lt;P&gt;Steve&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Aug 2013 11:54:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-spreadsheets-with-different-formatting/m-p/526354#M1148210</guid>
      <dc:creator />
      <dc:date>2013-08-02T11:54:55Z</dc:date>
    </item>
  </channel>
</rss>

