<?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 LOAD statement, changing a value from a sharepoint list in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/LOAD-statement-changing-a-value-from-a-sharepoint-list/m-p/240843#M91306</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;If all records have "(Texas)" in the record name, the following might work:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;=SubField(Replace('Ericsson, Bob (Texas)', '(Texas)', ''), ', ', 2) &amp;amp; SubField(Replace('Ericsson, Bob (Texas)', '(Texas)', ''), ', ', 1)&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Hope that helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 06 Mar 2011 21:15:34 GMT</pubDate>
    <dc:creator>Miguel_Angel_Baeyens</dc:creator>
    <dc:date>2011-03-06T21:15:34Z</dc:date>
    <item>
      <title>LOAD statement, changing a value from a sharepoint list</title>
      <link>https://community.qlik.com/t5/QlikView/LOAD-statement-changing-a-value-from-a-sharepoint-list/m-p/240842#M91305</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;Hi,&lt;BR /&gt;&lt;/STRONG&gt;I have a sharepoint list I am importing and want to manipulate the input to Qlikview via the LOAD statement.&lt;BR /&gt;&lt;BR /&gt;The field contains a value in the following format: "Last Name, First Name (Texas)"&lt;BR /&gt;e.g. "Ericsson, Bob (Texas)"&lt;BR /&gt;&lt;BR /&gt;I remove Texas with:&lt;BR /&gt;TextBetween(ows_AssignedTo, '#', ' ('Texas'),&lt;BR /&gt;&lt;BR /&gt;But now I want to "flip it", so that the first name is shown first - and without a comma!&lt;BR /&gt;e.g. "Bob Ericsson"&lt;BR /&gt;&lt;BR /&gt;Can someone please help me with how this could be done?&lt;BR /&gt;&lt;BR /&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 06 Mar 2011 20:34:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/LOAD-statement-changing-a-value-from-a-sharepoint-list/m-p/240842#M91305</guid>
      <dc:creator />
      <dc:date>2011-03-06T20:34:29Z</dc:date>
    </item>
    <item>
      <title>LOAD statement, changing a value from a sharepoint list</title>
      <link>https://community.qlik.com/t5/QlikView/LOAD-statement-changing-a-value-from-a-sharepoint-list/m-p/240843#M91306</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;If all records have "(Texas)" in the record name, the following might work:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;=SubField(Replace('Ericsson, Bob (Texas)', '(Texas)', ''), ', ', 2) &amp;amp; SubField(Replace('Ericsson, Bob (Texas)', '(Texas)', ''), ', ', 1)&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Hope that helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 06 Mar 2011 21:15:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/LOAD-statement-changing-a-value-from-a-sharepoint-list/m-p/240843#M91306</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2011-03-06T21:15:34Z</dc:date>
    </item>
    <item>
      <title>LOAD statement, changing a value from a sharepoint list</title>
      <link>https://community.qlik.com/t5/QlikView/LOAD-statement-changing-a-value-from-a-sharepoint-list/m-p/240844#M91307</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;Hi Miguel,&lt;BR /&gt;&lt;/STRONG&gt;Thanks for replying!&lt;BR /&gt;&lt;BR /&gt;I get an error message;&lt;BR /&gt;&lt;BR /&gt;&lt;EM&gt;Error in expression:&lt;BR /&gt;&lt;STRONG&gt;Replace takes 3 parameters&lt;BR /&gt;&lt;/STRONG&gt;row:&lt;BR /&gt;LOAD ows_ID,&lt;BR /&gt; SubField(Replace(FieldName, '#', ' (Texas)', ''), ', ', 2) &amp;amp; SubField(Replace(FieldName, '#', ' (Texas)', ''), ', ', 1),&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/EM&gt;PS. as you can see the values also includes a "#"... DS.&lt;BR /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 06 Mar 2011 21:27:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/LOAD-statement-changing-a-value-from-a-sharepoint-list/m-p/240844#M91307</guid>
      <dc:creator />
      <dc:date>2011-03-06T21:27:23Z</dc:date>
    </item>
    <item>
      <title>LOAD statement, changing a value from a sharepoint list</title>
      <link>https://community.qlik.com/t5/QlikView/LOAD-statement-changing-a-value-from-a-sharepoint-list/m-p/240845#M91308</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I don't see the "#" in your example above. So the following should work:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;=SubField(Replace(FieldName, '(Texas)', ''), ', ', 2) &amp;amp; SubField(Replace(FieldName, '(Texas)', ''), ', ', 1)&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Am I missing something?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 06 Mar 2011 21:41:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/LOAD-statement-changing-a-value-from-a-sharepoint-list/m-p/240845#M91308</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2011-03-06T21:41:37Z</dc:date>
    </item>
    <item>
      <title>LOAD statement, changing a value from a sharepoint list</title>
      <link>https://community.qlik.com/t5/QlikView/LOAD-statement-changing-a-value-from-a-sharepoint-list/m-p/240846#M91309</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, I should have given you a better example.&lt;BR /&gt;&lt;BR /&gt;This is how the output from sharepoint look like unmodified:&lt;BR /&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width:170pt;border-collapse:collapse;" width="226"&gt;&lt;COLGROUP&gt;&lt;COL style="width:170pt;mso-width-source:userset;mso-width-alt:8265;mso-outline-parent:collapsed;" width="226" /&gt;&lt;/COLGROUP&gt;&lt;TBODY&gt;&lt;TR style="height:12.75pt;"&gt;&lt;TD class="xl22" height="17" style="border-right:#d4d0c8;border-top:#d4d0c8;border-left:gainsboro 0.5pt solid;width:170pt;border-bottom:#d4d0c8;height:12.75pt;background-color:white;" width="226"&gt;242;#Last, First (Texas)&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height:12.75pt;"&gt;&lt;TD class="xl22" height="17" style="border-right:#d4d0c8;border-top:#d4d0c8;border-left:gainsboro 0.5pt solid;border-bottom:#d4d0c8;height:12.75pt;background-color:white;"&gt;&lt;P&gt;263;#Last, First (Texas)&lt;BR /&gt;288;#Last, First (Texas)&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height:12.75pt;"&gt;&lt;TD class="xl22" height="17" style="border-right:#d4d0c8;border-top:#d4d0c8;border-left:gainsboro 0.5pt solid;border-bottom:#d4d0c8;height:12.75pt;background-color:white;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Again, sorry! Does this make better sense?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 06 Mar 2011 21:54:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/LOAD-statement-changing-a-value-from-a-sharepoint-list/m-p/240846#M91309</guid>
      <dc:creator />
      <dc:date>2011-03-06T21:54:24Z</dc:date>
    </item>
    <item>
      <title>LOAD statement, changing a value from a sharepoint list</title>
      <link>https://community.qlik.com/t5/QlikView/LOAD-statement-changing-a-value-from-a-sharepoint-list/m-p/240847#M91310</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, now it seems clearer:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;=SubField(TextBetween('242;#Last, First (Texas)', '#', '(Texas)'), ', ', 2) &amp;amp; SubField(TextBetween('242;#Last, First (Texas)', '#', '(Texas)'), ', ', 1)&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Hope that helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 06 Mar 2011 21:58:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/LOAD-statement-changing-a-value-from-a-sharepoint-list/m-p/240847#M91310</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2011-03-06T21:58:54Z</dc:date>
    </item>
    <item>
      <title>LOAD statement, changing a value from a sharepoint list</title>
      <link>https://community.qlik.com/t5/QlikView/LOAD-statement-changing-a-value-from-a-sharepoint-list/m-p/240848#M91311</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you thank you thank you thank you!!!&lt;BR /&gt;&lt;BR /&gt;(Hade to add a &amp;amp; ' ' to get the space, but works awesome!)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 06 Mar 2011 22:11:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/LOAD-statement-changing-a-value-from-a-sharepoint-list/m-p/240848#M91311</guid>
      <dc:creator />
      <dc:date>2011-03-06T22:11:03Z</dc:date>
    </item>
  </channel>
</rss>

