<?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 In the Edit Script how can create a new field, with an attribute from an existing in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/In-the-Edit-Script-how-can-create-a-new-field-with-an-attribute/m-p/793855#M660371</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to use an existing field called Project ID, in order to create a new field called Office ID.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Each Project ID is made up of four key areas structured like.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Project Type-ProjectYear-Project Office-ProjectCount&lt;/P&gt;&lt;P&gt;The length of the characters between each "-" varies, but basically I'd like to create a new field that essentially grabs the Project Office. Is this possible using something like mid?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD [Project ID],&lt;/P&gt;&lt;P&gt;&amp;nbsp; replace(mid([Project ID], X, X), '-', '') as [ProjectOffice],&lt;/P&gt;&lt;P&gt;Field&lt;/P&gt;&lt;P&gt;Field&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Myles&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Mar 2015 20:00:17 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-03-25T20:00:17Z</dc:date>
    <item>
      <title>In the Edit Script how can create a new field, with an attribute from an existing</title>
      <link>https://community.qlik.com/t5/QlikView/In-the-Edit-Script-how-can-create-a-new-field-with-an-attribute/m-p/793855#M660371</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to use an existing field called Project ID, in order to create a new field called Office ID.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Each Project ID is made up of four key areas structured like.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Project Type-ProjectYear-Project Office-ProjectCount&lt;/P&gt;&lt;P&gt;The length of the characters between each "-" varies, but basically I'd like to create a new field that essentially grabs the Project Office. Is this possible using something like mid?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD [Project ID],&lt;/P&gt;&lt;P&gt;&amp;nbsp; replace(mid([Project ID], X, X), '-', '') as [ProjectOffice],&lt;/P&gt;&lt;P&gt;Field&lt;/P&gt;&lt;P&gt;Field&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Myles&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Mar 2015 20:00:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/In-the-Edit-Script-how-can-create-a-new-field-with-an-attribute/m-p/793855#M660371</guid>
      <dc:creator />
      <dc:date>2015-03-25T20:00:17Z</dc:date>
    </item>
    <item>
      <title>Re: In the Edit Script how can create a new field, with an attribute from an existing</title>
      <link>https://community.qlik.com/t5/QlikView/In-the-Edit-Script-how-can-create-a-new-field-with-an-attribute/m-p/793856#M660372</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;load&lt;/P&gt;&lt;P&gt;......,&lt;/P&gt;&lt;P&gt;subfield(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;[Project ID]&lt;/SPAN&gt;, '-', 3) as &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;[ProjectOffice],,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;......&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Mar 2015 20:04:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/In-the-Edit-Script-how-can-create-a-new-field-with-an-attribute/m-p/793856#M660372</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2015-03-25T20:04:44Z</dc:date>
    </item>
    <item>
      <title>Re: In the Edit Script how can create a new field, with an attribute from an existing</title>
      <link>https://community.qlik.com/t5/QlikView/In-the-Edit-Script-how-can-create-a-new-field-with-an-attribute/m-p/793857#M660373</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Massimo!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Mar 2015 13:00:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/In-the-Edit-Script-how-can-create-a-new-field-with-an-attribute/m-p/793857#M660373</guid>
      <dc:creator />
      <dc:date>2015-03-26T13:00:52Z</dc:date>
    </item>
    <item>
      <title>Re: In the Edit Script how can create a new field, with an attribute from an existing</title>
      <link>https://community.qlik.com/t5/QlikView/In-the-Edit-Script-how-can-create-a-new-field-with-an-attribute/m-p/793858#M660374</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;You can rename your current field&amp;nbsp; with 'as' new field name,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Mar 2015 13:02:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/In-the-Edit-Script-how-can-create-a-new-field-with-an-attribute/m-p/793858#M660374</guid>
      <dc:creator>rajkumarb</dc:creator>
      <dc:date>2015-03-26T13:02:17Z</dc:date>
    </item>
  </channel>
</rss>

