<?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 Scripting help please in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Scripting-help-please/m-p/365303#M135960</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Giving yourself credit for the answer doesn't help other visitors to this thread knowing which solution worked for you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Apr 2012 15:46:08 GMT</pubDate>
    <dc:creator>Jason_Michaelides</dc:creator>
    <dc:date>2012-04-25T15:46:08Z</dc:date>
    <item>
      <title>Scripting help please</title>
      <link>https://community.qlik.com/t5/QlikView/Scripting-help-please/m-p/365297#M135954</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have a littele difficulty in writing a script.&lt;/P&gt;&lt;P&gt;i have a long list of channel Ids and i i know which channel ID sold our product. Now for the purpose of overview i want to calculate a column which only show which different chanels were used before that sale was made.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i am using this left function&lt;/P&gt;&lt;P&gt;left('CIDconsecution.channel',Visitor.consecution) as List&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but its always giving me invalid expression error. As the second parameter should be number. Is there anyother way to do this or any script help?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Salman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Apr 2012 08:18:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Scripting-help-please/m-p/365297#M135954</guid>
      <dc:creator />
      <dc:date>2012-04-24T08:18:42Z</dc:date>
    </item>
    <item>
      <title>Scripting help please</title>
      <link>https://community.qlik.com/t5/QlikView/Scripting-help-please/m-p/365298#M135955</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Set the Visitor.consecution as a variable&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;untested but something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;set vVisitor.consecution = 3;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;left('CIDconsecution.channel',$(vVisitor.consecution)) as List&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Apr 2012 08:49:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Scripting-help-please/m-p/365298#M135955</guid>
      <dc:creator>Michiel_QV_Fan</dc:creator>
      <dc:date>2012-04-24T08:49:36Z</dc:date>
    </item>
    <item>
      <title>Scripting help please</title>
      <link>https://community.qlik.com/t5/QlikView/Scripting-help-please/m-p/365299#M135956</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Salman,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Which form has a sample line you want to modify? Left() function returns the &lt;EM&gt;n&lt;/EM&gt; first (starting from left) characters of a given string or field, hence the second parameter needs to be a number or an expressionor variable that returns a numeric value. Is that what you need?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Miguel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Apr 2012 08:51:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Scripting-help-please/m-p/365299#M135956</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2012-04-24T08:51:59Z</dc:date>
    </item>
    <item>
      <title>Scripting help please</title>
      <link>https://community.qlik.com/t5/QlikView/Scripting-help-please/m-p/365300#M135957</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you post some sample data, or better still your app?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Apr 2012 08:53:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Scripting-help-please/m-p/365300#M135957</guid>
      <dc:creator>Jason_Michaelides</dc:creator>
      <dc:date>2012-04-24T08:53:53Z</dc:date>
    </item>
    <item>
      <title>Scripting help please</title>
      <link>https://community.qlik.com/t5/QlikView/Scripting-help-please/m-p/365301#M135958</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;SubField() will do it if I understand you correctly.&amp;nbsp; Or a mixture of LEFT() and Index.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SubField(pfad,'Visitor.consecution',1)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jason&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Apr 2012 09:08:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Scripting-help-please/m-p/365301#M135958</guid>
      <dc:creator>Jason_Michaelides</dc:creator>
      <dc:date>2012-04-24T09:08:43Z</dc:date>
    </item>
    <item>
      <title>Scripting help please</title>
      <link>https://community.qlik.com/t5/QlikView/Scripting-help-please/m-p/365302#M135959</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks everyone for the help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Apr 2012 15:34:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Scripting-help-please/m-p/365302#M135959</guid>
      <dc:creator />
      <dc:date>2012-04-25T15:34:32Z</dc:date>
    </item>
    <item>
      <title>Scripting help please</title>
      <link>https://community.qlik.com/t5/QlikView/Scripting-help-please/m-p/365303#M135960</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Giving yourself credit for the answer doesn't help other visitors to this thread knowing which solution worked for you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Apr 2012 15:46:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Scripting-help-please/m-p/365303#M135960</guid>
      <dc:creator>Jason_Michaelides</dc:creator>
      <dc:date>2012-04-25T15:46:08Z</dc:date>
    </item>
  </channel>
</rss>

