<?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 Re: How to use string content of field in SetAnalysis function? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-use-string-content-of-field-in-SetAnalysis-function/m-p/616759#M227350</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the task is to solve it in the SetAnalysis Function, not to change the data model.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thx - Marcel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 21 Feb 2014 12:45:15 GMT</pubDate>
    <dc:creator>hugmarcel</dc:creator>
    <dc:date>2014-02-21T12:45:15Z</dc:date>
    <item>
      <title>How to use string content of field in SetAnalysis function?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-use-string-content-of-field-in-SetAnalysis-function/m-p/616751#M227342</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;see test.qvw attached.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;having data:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008000; font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;// Data&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;BOOKINGS:&lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;LOAD&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; * &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;INLINE&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[&lt;BR /&gt;PRODUCT, AMOUNT_SOLD, TARGET_PRODUCTS, &lt;BR /&gt;Product 1, 100, '"Product 1","Product 2","Product 3"'&lt;BR /&gt;Product 2, 200, '"Product 2","Product 3"'&lt;BR /&gt;Product 3, 300, '"Product 3"'&lt;BR /&gt;]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008000; font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;//Goal: Show this Pivot:&lt;BR /&gt;//PRODUCT, sum(AMOUNT_SOLD), sum(AMOUNT_SOLD) for TARGET_PRODUCTS&lt;BR /&gt;//Product 1, 100, 600 //100 + 200 + 300&lt;BR /&gt;//Product 2, 200, 500 //200 + 300&lt;BR /&gt;//Product 3, 300, 300 //300&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008000; font-size: 8pt;"&gt;//What is the correct formular for column 3 "sum(AMOUNT_SOLD) for TARGET_PRODUCTS"? &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thx - Marcel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Feb 2014 10:09:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-use-string-content-of-field-in-SetAnalysis-function/m-p/616751#M227342</guid>
      <dc:creator>hugmarcel</dc:creator>
      <dc:date>2014-02-21T10:09:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to use string content of field in SetAnalysis function?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-use-string-content-of-field-in-SetAnalysis-function/m-p/616752#M227343</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use this in SCRIPT... what is your requirements?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BOOKINGS:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp; PRODUCT,&lt;/P&gt;&lt;P&gt;&amp;nbsp; AMOUNT_SOLD,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Replace(SubField([TARGET_PRODUCTS],','),'"','') as [TARGET_PRODUCTS]&lt;/P&gt;&lt;P&gt;INLINE&lt;/P&gt;&lt;P&gt;[&lt;/P&gt;&lt;P&gt;&amp;nbsp; PRODUCT, AMOUNT_SOLD, TARGET_PRODUCTS,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Product 1, 100, '"Product 1","Product 2","Product 3"'&lt;/P&gt;&lt;P&gt;&amp;nbsp; Product 2, 200, '"Product 2","Product 3"'&lt;/P&gt;&lt;P&gt;&amp;nbsp; Product 3, 300, '"Product 3"'&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;UPDATE : FILE ENCLOSED.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Feb 2014 10:41:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-use-string-content-of-field-in-SetAnalysis-function/m-p/616752#M227343</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-02-21T10:41:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to use string content of field in SetAnalysis function?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-use-string-content-of-field-in-SetAnalysis-function/m-p/616753#M227344</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I do not want to have the products listed, but the amounts calculated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So column3 of the pivot should contain values 600, 500 and 300.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thx - Marcel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Feb 2014 11:12:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-use-string-content-of-field-in-SetAnalysis-function/m-p/616753#M227344</guid>
      <dc:creator>hugmarcel</dc:creator>
      <dc:date>2014-02-21T11:12:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to use string content of field in SetAnalysis function?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-use-string-content-of-field-in-SetAnalysis-function/m-p/616754#M227345</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry but i dont understand your requirement.&lt;/P&gt;&lt;P&gt;Can you clarify?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Feb 2014 11:25:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-use-string-content-of-field-in-SetAnalysis-function/m-p/616754#M227345</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-02-21T11:25:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to use string content of field in SetAnalysis function?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-use-string-content-of-field-in-SetAnalysis-function/m-p/616755#M227346</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marcel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;use rangesum (Below(AMOUNT_SOLD,0,3)) formula ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have done this Plz find the attachment..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Feb 2014 11:27:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-use-string-content-of-field-in-SetAnalysis-function/m-p/616755#M227346</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-02-21T11:27:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to use string content of field in SetAnalysis function?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-use-string-content-of-field-in-SetAnalysis-function/m-p/616756#M227347</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See attached&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Feb 2014 11:39:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-use-string-content-of-field-in-SetAnalysis-function/m-p/616756#M227347</guid>
      <dc:creator>giakoum</dc:creator>
      <dc:date>2014-02-21T11:39:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to use string content of field in SetAnalysis function?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-use-string-content-of-field-in-SetAnalysis-function/m-p/616757#M227348</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marcel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Plz see the attachment. It is correct as your requirement..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Feb 2014 11:46:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-use-string-content-of-field-in-SetAnalysis-function/m-p/616757#M227348</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-02-21T11:46:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to use string content of field in SetAnalysis function?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-use-string-content-of-field-in-SetAnalysis-function/m-p/616758#M227349</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Hi&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;rangesum&lt;SPAN style="font-size: 8pt;"&gt; (&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Below&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;AMOUNT_SOLD&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,0,3)) is not generally correct, as it uses the order of the products for calculation, but not the target_product string in the table.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;To have a general solution, the target_product data must be part of the formula.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Thx - Marcel&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Feb 2014 12:42:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-use-string-content-of-field-in-SetAnalysis-function/m-p/616758#M227349</guid>
      <dc:creator>hugmarcel</dc:creator>
      <dc:date>2014-02-21T12:42:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to use string content of field in SetAnalysis function?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-use-string-content-of-field-in-SetAnalysis-function/m-p/616759#M227350</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the task is to solve it in the SetAnalysis Function, not to change the data model.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thx - Marcel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Feb 2014 12:45:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-use-string-content-of-field-in-SetAnalysis-function/m-p/616759#M227350</guid>
      <dc:creator>hugmarcel</dc:creator>
      <dc:date>2014-02-21T12:45:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to use string content of field in SetAnalysis function?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-use-string-content-of-field-in-SetAnalysis-function/m-p/616760#M227351</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can you explain below?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12.800000190734863px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;What is your logic&amp;nbsp; to receive below ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12.800000190734863px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;So column3 of the pivot should contain values 600, 500 and 300.&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Feb 2014 12:49:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-use-string-content-of-field-in-SetAnalysis-function/m-p/616760#M227351</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-02-21T12:49:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to use string content of field in SetAnalysis function?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-use-string-content-of-field-in-SetAnalysis-function/m-p/616761#M227352</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the logic / requirment is to evaluate the content of field TARGET_PRODUCTS in the SetAnalysis Formula.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TARGET_PRODUCTS has 3 values&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"Product1","Product2","Product3"&lt;/P&gt;&lt;P&gt;"Product2","Product3"&lt;/P&gt;&lt;P&gt;"Product3"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thx&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Feb 2014 12:53:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-use-string-content-of-field-in-SetAnalysis-function/m-p/616761#M227352</guid>
      <dc:creator>hugmarcel</dc:creator>
      <dc:date>2014-02-21T12:53:59Z</dc:date>
    </item>
    <item>
      <title>Re: Re: How to use string content of field in SetAnalysis function?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-use-string-content-of-field-in-SetAnalysis-function/m-p/616762#M227353</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm not sure of the logic behind what you are after, but I believe this script will achieve it:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Temp_Source:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; *&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;INLINE [&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;PRODUCT, AMOUNT_SOLD, TARGET_PRODUCTS,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Product 1, 100, '"Product 1","Product 2","Product 3"'&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Product 2, 200, '"Product 2","Product 3"'&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Product 3, 300, '"Product 3"'&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;];&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;BOOKINGS:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; PRODUCT,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; Replace(SubField(TARGET_PRODUCTS, ','), '"', '') as JOINPRODUCT&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;RESIDENT Temp_Source&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LEFT JOIN (BOOKINGS)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; PRODUCT as JOINPRODUCT,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; AMOUNT_SOLD&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;RESIDENT Temp_Source;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;DROP TABLE Temp_Source;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Solution attached also.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-users/4484"&gt;Steve Dark&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Feb 2014 13:10:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-use-string-content-of-field-in-SetAnalysis-function/m-p/616762#M227353</guid>
      <dc:creator>stevedark</dc:creator>
      <dc:date>2014-02-21T13:10:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to use string content of field in SetAnalysis function?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-use-string-content-of-field-in-SetAnalysis-function/m-p/616763#M227354</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thx for the answer, as said, I do not want to change the data model.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For Product 1, TARGET_PRODUCTS amount should be 600, because&lt;/P&gt;&lt;P&gt;TARGET_PRODUCTS field contains string "Product 1","Product 2","Product 3", indicating that individual&lt;/P&gt;&lt;P&gt;amounts 300 (Product 1), 200 (Product 2), 100 (Product 1) must be summed.&lt;/P&gt;&lt;P&gt;For Product 2, TARGET_PRODUCTS amount should be 500, because&lt;/P&gt;&lt;P&gt;TARGET_PRODUCTS field contains string "Product 2","Product 3", indicating that individual&lt;/P&gt;&lt;P&gt;amounts 300 (Product 1), 200 (Product 2) must be summed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Calculation should be done in SetAnalysis function, thus evaluating content of TARGET_PRODUCTS in the formula.&lt;/P&gt;&lt;P&gt;etc.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Feb 2014 13:24:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-use-string-content-of-field-in-SetAnalysis-function/m-p/616763#M227354</guid>
      <dc:creator>hugmarcel</dc:creator>
      <dc:date>2014-02-21T13:24:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to use string content of field in SetAnalysis function?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-use-string-content-of-field-in-SetAnalysis-function/m-p/616764#M227355</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marcel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You will struggle to do this in Set Analysis.&amp;nbsp; As soon as you do a dollar expansion ($()) this will be evaluated at a global rather than a dimensional level.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried with index and match functions and with Aggr, but I don't think you will get there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This alternate script leaves the original data model intact, but gives you another value (&lt;STRONG&gt;TARGET_AMOUNT_SOLD&lt;/STRONG&gt;) you can tot up and get the value you are after:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Temp_Source:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; *&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;INLINE [&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;PRODUCT, AMOUNT_SOLD, TARGET_PRODUCTS,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Product 1, 100, '"Product 1","Product 2","Product 3"'&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Product 2, 200, '"Product 2","Product 3"'&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Product 3, 300, '"Product 3"'&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;];&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;BOOKINGS:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;NOCONCATENATE LOAD&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; PRODUCT,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; AMOUNT_SOLD,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; TARGET_PRODUCTS&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;RESIDENT Temp_Source&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;AllAmounts:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; Replace(SubField(TARGET_PRODUCTS, ','), '"', '') as PRODUCT,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; AMOUNT_SOLD as TARGET_AMOUNT_SOLD&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;RESIDENT Temp_Source;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;DROP TABLE Temp_Source;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-users/4484"&gt;Steve Dark&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Feb 2014 13:51:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-use-string-content-of-field-in-SetAnalysis-function/m-p/616764#M227355</guid>
      <dc:creator>stevedark</dc:creator>
      <dc:date>2014-02-21T13:51:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to use string content of field in SetAnalysis function?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-use-string-content-of-field-in-SetAnalysis-function/m-p/616765#M227356</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry for missing file&amp;nbsp; check it out now &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Feb 2014 13:51:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-use-string-content-of-field-in-SetAnalysis-function/m-p/616765#M227356</guid>
      <dc:creator>sunilkumarqv</dc:creator>
      <dc:date>2014-02-21T13:51:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to use string content of field in SetAnalysis function?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-use-string-content-of-field-in-SetAnalysis-function/m-p/616766#M227357</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;wrong file uploaded? cant see a solution&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Feb 2014 13:55:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-use-string-content-of-field-in-SetAnalysis-function/m-p/616766#M227357</guid>
      <dc:creator>hugmarcel</dc:creator>
      <dc:date>2014-02-21T13:55:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to use string content of field in SetAnalysis function?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-use-string-content-of-field-in-SetAnalysis-function/m-p/616767#M227358</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;R u checked that &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Feb 2014 13:59:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-use-string-content-of-field-in-SetAnalysis-function/m-p/616767#M227358</guid>
      <dc:creator>sunilkumarqv</dc:creator>
      <dc:date>2014-02-21T13:59:10Z</dc:date>
    </item>
  </channel>
</rss>

