<?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 Help formatting source file on script load in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Help-formatting-source-file-on-script-load/m-p/572044#M213125</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm reading in a file that's in a non-ideal format. The left-most field contains a row with a phone number immediately followed by a corresponding user name. The data associated with the name/number is on the row containing the number (as shown below).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" jive-data-cell="{&amp;quot;color&amp;quot;:&amp;quot;#575757&amp;quot;,&amp;quot;textAlign&amp;quot;:&amp;quot;left&amp;quot;,&amp;quot;padding&amp;quot;:&amp;quot;NaN&amp;quot;,&amp;quot;backgroundColor&amp;quot;:&amp;quot;transparent&amp;quot;,&amp;quot;fontFamily&amp;quot;:&amp;quot;arial,helvetica,sans-serif&amp;quot;,&amp;quot;verticalAlign&amp;quot;:&amp;quot;baseline&amp;quot;}" jive-data-header="{&amp;quot;color&amp;quot;:&amp;quot;#FFFFFF&amp;quot;,&amp;quot;backgroundColor&amp;quot;:&amp;quot;#6690BC&amp;quot;,&amp;quot;textAlign&amp;quot;:&amp;quot;center&amp;quot;,&amp;quot;padding&amp;quot;:&amp;quot;2&amp;quot;}" style="width: 318px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="color: #ffffff; background-color: #6690bc; text-align: center;"&gt;Field_1&lt;/TH&gt;&lt;TH style="color: #ffffff; background-color: #6690bc; text-align: center;"&gt;Some_Data_1&lt;/TH&gt;&lt;TH style="color: #ffffff; background-color: #6690bc; text-align: center;"&gt;Some_Data_2&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="20"&gt;313.212.2112&lt;/TD&gt;&lt;TD align="right"&gt;123&lt;/TD&gt;&lt;TD&gt;ABC&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="20"&gt;Name_1&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="20"&gt;212.556.9845&lt;/TD&gt;&lt;TD align="right"&gt;234&lt;/TD&gt;&lt;TD&gt;THB&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="20"&gt;Name_2&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="20"&gt;234.564.9875&lt;/TD&gt;&lt;TD align="right"&gt;456&lt;/TD&gt;&lt;TD&gt;XYZ&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="20"&gt;Name_3&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'd like to load the number and then create a new field entitled "UserName" that extracts the name immediately below each number (and then ignore the rest of the blank line). It would be formatted as shown below. Is this possible using cross tables or some other method?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" jive-data-cell="{&amp;quot;color&amp;quot;:&amp;quot;#575757&amp;quot;,&amp;quot;textAlign&amp;quot;:&amp;quot;left&amp;quot;,&amp;quot;padding&amp;quot;:&amp;quot;NaN&amp;quot;,&amp;quot;backgroundColor&amp;quot;:&amp;quot;transparent&amp;quot;,&amp;quot;fontFamily&amp;quot;:&amp;quot;arial,helvetica,sans-serif&amp;quot;,&amp;quot;verticalAlign&amp;quot;:&amp;quot;baseline&amp;quot;}" jive-data-header="{&amp;quot;color&amp;quot;:&amp;quot;#FFFFFF&amp;quot;,&amp;quot;backgroundColor&amp;quot;:&amp;quot;#6690BC&amp;quot;,&amp;quot;textAlign&amp;quot;:&amp;quot;center&amp;quot;,&amp;quot;padding&amp;quot;:&amp;quot;2&amp;quot;}" style="width: 425px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="color: #ffffff; background-color: #6690bc; text-align: center;"&gt;Field_1&lt;/TH&gt;&lt;TH style="color: #ffffff; background-color: #6690bc; text-align: center;"&gt;UserName&lt;/TH&gt;&lt;TH style="color: #ffffff; background-color: #6690bc; text-align: center;"&gt;Some_Data_1&lt;/TH&gt;&lt;TH style="color: #ffffff; background-color: #6690bc; text-align: center;"&gt;Some_Data_2&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="color: #575757; text-align: left; background-color: transparent; font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;313.212.2112&lt;/TD&gt;&lt;TD style="color: #575757; text-align: left; background-color: transparent; font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;Name_1&lt;/TD&gt;&lt;TD style="color: #575757; text-align: left; background-color: transparent; font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;123&lt;/TD&gt;&lt;TD style="color: #575757; text-align: left; background-color: transparent; font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;ABC&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="20" style="color: #575757; text-align: left; background-color: transparent; font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;212.556.9845&lt;/TD&gt;&lt;TD style="color: #575757; text-align: left; background-color: transparent; font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;Name_2&lt;/TD&gt;&lt;TD align="right" style="color: #575757; text-align: left; background-color: transparent; font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;234&lt;/TD&gt;&lt;TD style="color: #575757; text-align: left; background-color: transparent; font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;THB&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="20" style="color: #575757; text-align: left; background-color: transparent; font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;234.564.9875&lt;/TD&gt;&lt;TD style="color: #575757; text-align: left; background-color: transparent; font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;Name_3&lt;/TD&gt;&lt;TD align="right" style="color: #575757; text-align: left; background-color: transparent; font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;456&lt;/TD&gt;&lt;TD style="color: #575757; text-align: left; background-color: transparent; font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;XYZ&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 11 Feb 2014 21:51:59 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-02-11T21:51:59Z</dc:date>
    <item>
      <title>Help formatting source file on script load</title>
      <link>https://community.qlik.com/t5/QlikView/Help-formatting-source-file-on-script-load/m-p/572044#M213125</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm reading in a file that's in a non-ideal format. The left-most field contains a row with a phone number immediately followed by a corresponding user name. The data associated with the name/number is on the row containing the number (as shown below).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" jive-data-cell="{&amp;quot;color&amp;quot;:&amp;quot;#575757&amp;quot;,&amp;quot;textAlign&amp;quot;:&amp;quot;left&amp;quot;,&amp;quot;padding&amp;quot;:&amp;quot;NaN&amp;quot;,&amp;quot;backgroundColor&amp;quot;:&amp;quot;transparent&amp;quot;,&amp;quot;fontFamily&amp;quot;:&amp;quot;arial,helvetica,sans-serif&amp;quot;,&amp;quot;verticalAlign&amp;quot;:&amp;quot;baseline&amp;quot;}" jive-data-header="{&amp;quot;color&amp;quot;:&amp;quot;#FFFFFF&amp;quot;,&amp;quot;backgroundColor&amp;quot;:&amp;quot;#6690BC&amp;quot;,&amp;quot;textAlign&amp;quot;:&amp;quot;center&amp;quot;,&amp;quot;padding&amp;quot;:&amp;quot;2&amp;quot;}" style="width: 318px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="color: #ffffff; background-color: #6690bc; text-align: center;"&gt;Field_1&lt;/TH&gt;&lt;TH style="color: #ffffff; background-color: #6690bc; text-align: center;"&gt;Some_Data_1&lt;/TH&gt;&lt;TH style="color: #ffffff; background-color: #6690bc; text-align: center;"&gt;Some_Data_2&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="20"&gt;313.212.2112&lt;/TD&gt;&lt;TD align="right"&gt;123&lt;/TD&gt;&lt;TD&gt;ABC&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="20"&gt;Name_1&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="20"&gt;212.556.9845&lt;/TD&gt;&lt;TD align="right"&gt;234&lt;/TD&gt;&lt;TD&gt;THB&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="20"&gt;Name_2&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="20"&gt;234.564.9875&lt;/TD&gt;&lt;TD align="right"&gt;456&lt;/TD&gt;&lt;TD&gt;XYZ&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="20"&gt;Name_3&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'd like to load the number and then create a new field entitled "UserName" that extracts the name immediately below each number (and then ignore the rest of the blank line). It would be formatted as shown below. Is this possible using cross tables or some other method?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" jive-data-cell="{&amp;quot;color&amp;quot;:&amp;quot;#575757&amp;quot;,&amp;quot;textAlign&amp;quot;:&amp;quot;left&amp;quot;,&amp;quot;padding&amp;quot;:&amp;quot;NaN&amp;quot;,&amp;quot;backgroundColor&amp;quot;:&amp;quot;transparent&amp;quot;,&amp;quot;fontFamily&amp;quot;:&amp;quot;arial,helvetica,sans-serif&amp;quot;,&amp;quot;verticalAlign&amp;quot;:&amp;quot;baseline&amp;quot;}" jive-data-header="{&amp;quot;color&amp;quot;:&amp;quot;#FFFFFF&amp;quot;,&amp;quot;backgroundColor&amp;quot;:&amp;quot;#6690BC&amp;quot;,&amp;quot;textAlign&amp;quot;:&amp;quot;center&amp;quot;,&amp;quot;padding&amp;quot;:&amp;quot;2&amp;quot;}" style="width: 425px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="color: #ffffff; background-color: #6690bc; text-align: center;"&gt;Field_1&lt;/TH&gt;&lt;TH style="color: #ffffff; background-color: #6690bc; text-align: center;"&gt;UserName&lt;/TH&gt;&lt;TH style="color: #ffffff; background-color: #6690bc; text-align: center;"&gt;Some_Data_1&lt;/TH&gt;&lt;TH style="color: #ffffff; background-color: #6690bc; text-align: center;"&gt;Some_Data_2&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="color: #575757; text-align: left; background-color: transparent; font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;313.212.2112&lt;/TD&gt;&lt;TD style="color: #575757; text-align: left; background-color: transparent; font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;Name_1&lt;/TD&gt;&lt;TD style="color: #575757; text-align: left; background-color: transparent; font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;123&lt;/TD&gt;&lt;TD style="color: #575757; text-align: left; background-color: transparent; font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;ABC&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="20" style="color: #575757; text-align: left; background-color: transparent; font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;212.556.9845&lt;/TD&gt;&lt;TD style="color: #575757; text-align: left; background-color: transparent; font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;Name_2&lt;/TD&gt;&lt;TD align="right" style="color: #575757; text-align: left; background-color: transparent; font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;234&lt;/TD&gt;&lt;TD style="color: #575757; text-align: left; background-color: transparent; font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;THB&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="20" style="color: #575757; text-align: left; background-color: transparent; font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;234.564.9875&lt;/TD&gt;&lt;TD style="color: #575757; text-align: left; background-color: transparent; font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;Name_3&lt;/TD&gt;&lt;TD align="right" style="color: #575757; text-align: left; background-color: transparent; font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;456&lt;/TD&gt;&lt;TD style="color: #575757; text-align: left; background-color: transparent; font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;XYZ&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Feb 2014 21:51:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-formatting-source-file-on-script-load/m-p/572044#M213125</guid>
      <dc:creator />
      <dc:date>2014-02-11T21:51:59Z</dc:date>
    </item>
    <item>
      <title>Re: Help formatting source file on script load</title>
      <link>https://community.qlik.com/t5/QlikView/Help-formatting-source-file-on-script-load/m-p/572045#M213126</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;just an idea&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;first read rows 1,3, 5, 7; make a field with row number (ID); this is TAB1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then read rows 2, 4, 6, 8, make a field with row number -1 (ID); this is TAB2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you have&amp;nbsp; 2 tables joined by the same ID&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Result&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="u.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/52980_u.jpg" style="width: auto; height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Script&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Source: &lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;Field_1, Some_Data_1, Some_Data_2&lt;/P&gt;&lt;P&gt;313.212.2112, 123, ABC&lt;/P&gt;&lt;P&gt;Name_1&lt;/P&gt;&lt;P&gt;212.556.9845, 234, THB&lt;/P&gt;&lt;P&gt;Name_2,&lt;/P&gt;&lt;P&gt;234.564.9875, 456, XYZ&lt;/P&gt;&lt;P&gt;Name_3&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tab1:&lt;/P&gt;&lt;P&gt;NoConcatenate LOAD RecNo() as ID, * Resident Source where not even(RecNo()); &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tab2:&lt;/P&gt;&lt;P&gt;NoConcatenate LOAD RecNo()-1 as ID, Field_1 as Name Resident Source where even(RecNo()); &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DROP Table Source;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Feb 2014 22:06:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-formatting-source-file-on-script-load/m-p/572045#M213126</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2014-02-11T22:06:50Z</dc:date>
    </item>
    <item>
      <title>Re: Help formatting source file on script load</title>
      <link>https://community.qlik.com/t5/QlikView/Help-formatting-source-file-on-script-load/m-p/572046#M213127</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good idea. Is there a simple way to only load odd/even rows?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Feb 2014 22:13:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-formatting-source-file-on-script-load/m-p/572046#M213127</guid>
      <dc:creator />
      <dc:date>2014-02-11T22:13:30Z</dc:date>
    </item>
    <item>
      <title>Re: Help formatting source file on script load</title>
      <link>https://community.qlik.com/t5/QlikView/Help-formatting-source-file-on-script-load/m-p/572047#M213128</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes, I found a function in the online help&lt;/P&gt;&lt;P class="syntax"&gt;&lt;A name="kanchor725"&gt;&lt;/A&gt;&lt;A name="even"&gt;&lt;/A&gt;&lt;SPAN class="Bold"&gt;even(&lt;/SPAN&gt;&lt;SPAN class="Italic"&gt;n&lt;/SPAN&gt;&lt;SPAN class="Bold"&gt;)&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;Returns true if &lt;SPAN class="Italic"&gt;n&lt;/SPAN&gt; is an even integer, false if &lt;SPAN class="Italic"&gt;n&lt;/SPAN&gt; is an odd integer and NULL if &lt;SPAN class="Italic"&gt;n&lt;/SPAN&gt; is not an integer. &lt;/P&gt;&lt;P class="example"&gt;Examples:&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Code"&gt;even( 3 )&lt;/SPAN&gt; returns false&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Code"&gt;even( 2 * 10 )&lt;/SPAN&gt; returns true&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Code"&gt;even( 3.14 )&lt;/SPAN&gt; returns NULL&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Feb 2014 22:15:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-formatting-source-file-on-script-load/m-p/572047#M213128</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2014-02-11T22:15:28Z</dc:date>
    </item>
    <item>
      <title>Re: Help formatting source file on script load</title>
      <link>https://community.qlik.com/t5/QlikView/Help-formatting-source-file-on-script-load/m-p/572048#M213129</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, I'll give it a go with RowNo() as the parameter.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Feb 2014 22:26:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-formatting-source-file-on-script-load/m-p/572048#M213129</guid>
      <dc:creator />
      <dc:date>2014-02-11T22:26:26Z</dc:date>
    </item>
    <item>
      <title>Re: Help formatting source file on script load</title>
      <link>https://community.qlik.com/t5/QlikView/Help-formatting-source-file-on-script-load/m-p/572049#M213130</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I suppose Rowno() will works as ID in my script but not in the WHERE condition; when you'll try, let me know; thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Feb 2014 22:34:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-formatting-source-file-on-script-load/m-p/572049#M213130</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2014-02-11T22:34:28Z</dc:date>
    </item>
    <item>
      <title>Re: Help formatting source file on script load</title>
      <link>https://community.qlik.com/t5/QlikView/Help-formatting-source-file-on-script-load/m-p/572050#M213131</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well is there a way to do this without editing the source file? I would like this process to be automated - i.e. not necessary to add an ID column each time new data is received.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Feb 2014 23:37:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-formatting-source-file-on-script-load/m-p/572050#M213131</guid>
      <dc:creator />
      <dc:date>2014-02-11T23:37:57Z</dc:date>
    </item>
    <item>
      <title>Re: Help formatting source file on script load</title>
      <link>https://community.qlik.com/t5/QlikView/Help-formatting-source-file-on-script-load/m-p/572051#M213132</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just as &lt;A href="https://community.qlik.com/qlik-users/10670"&gt;Massimo Grossi&lt;/A&gt; said you can use RowNo() / RecNo() to filter odds and even like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table:&lt;/P&gt;&lt;P&gt;LOAD Field1,&lt;/P&gt;&lt;P&gt;Field2,&lt;/P&gt;&lt;P&gt;from Table&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;where Even( RecNo() );&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can use even() or odd, depending on which rows you need. Also just to verify the results you can add a calculated field in your table as &lt;STRONG&gt;RecNo() as Field&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Regards&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Feb 2014 00:29:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-formatting-source-file-on-script-load/m-p/572051#M213132</guid>
      <dc:creator>jaimeaguilar</dc:creator>
      <dc:date>2014-02-12T00:29:05Z</dc:date>
    </item>
    <item>
      <title>Re: Help formatting source file on script load</title>
      <link>https://community.qlik.com/t5/QlikView/Help-formatting-source-file-on-script-load/m-p/572052#M213133</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you can drop ID column at the end&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Source:&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;Field_1, Some_Data_1, Some_Data_2&lt;/P&gt;&lt;P&gt;313.212.2112, 123, ABC&lt;/P&gt;&lt;P&gt;Name_1&lt;/P&gt;&lt;P&gt;212.556.9845, 234, THB&lt;/P&gt;&lt;P&gt;Name_2,&lt;/P&gt;&lt;P&gt;234.564.9875, 456, XYZ&lt;/P&gt;&lt;P&gt;Name_3&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tab1:&lt;/P&gt;&lt;P&gt;LOAD &lt;/P&gt;&lt;P&gt;if(even(RecNo()), Field_1, null()) as Field_1_Name,&lt;/P&gt;&lt;P&gt;if(not even(RecNo()), Field_1, peek(Field_1)) as Field_1&lt;/P&gt;&lt;P&gt;Resident Source;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tab:&lt;/P&gt;&lt;P&gt;NoConcatenate load * Resident Tab1 where len(Field_1_Name)&amp;gt;0; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DROP Table Source;&lt;/P&gt;&lt;P&gt;DROP Table Tab1;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Feb 2014 08:21:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-formatting-source-file-on-script-load/m-p/572052#M213133</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2014-02-12T08:21:49Z</dc:date>
    </item>
    <item>
      <title>Re: Help formatting source file on script load</title>
      <link>https://community.qlik.com/t5/QlikView/Help-formatting-source-file-on-script-load/m-p/572053#M213134</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I ended up loading the data as two separate tables and indicated which lines to pull using a WHERE Odd(RecNo()) clause (along with a few other conditions). After loading each table, I joined them, concatenated the joined table to my main table, and dropped the join table. It's a lot of back-end work, but it will be nice to have this autonomous from now on. Thanks for the help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Feb 2014 18:08:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-formatting-source-file-on-script-load/m-p/572053#M213134</guid>
      <dc:creator />
      <dc:date>2014-02-12T18:08:14Z</dc:date>
    </item>
  </channel>
</rss>

