<?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 List of values in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/List-of-values/m-p/1884957#M72896</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I need to improve a qlik saas applciation targeting around sales representatives in a specific areas.&lt;/P&gt;
&lt;P&gt;For this year sales rep are targeting around 5 products (for the sake of the example we will call them A, B,C,D,E&lt;/P&gt;
&lt;P&gt;But those products may change or evolve (it could be more or less).&lt;/P&gt;
&lt;P&gt;initially in the sales sheet there were many calculation&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SUM({&amp;lt;PRODUCT = {'A','B','C','D','E'}&amp;gt;}Total revenue)&lt;/P&gt;
&lt;P&gt;But i create a variable in the script :&lt;/P&gt;
&lt;P&gt;vL.Target2022 = 'A'&amp;amp;chr(39)&amp;amp; chr(44)&amp;amp;chr(39)&amp;amp;'B'&amp;amp;chr(39)&amp;amp;chr(44)&amp;amp;chr(39)&amp;amp;'C'&amp;amp;chr(39)&amp;amp;chr(44)&amp;amp;chr(39)&amp;amp;'D'&amp;amp;chr(39)&amp;amp;chr(44)&amp;amp;chr(39)&amp;amp;'E'&lt;/P&gt;
&lt;P&gt;that way i can make the set analysis the following more easy to read.&lt;/P&gt;
&lt;P&gt;But i would like to put the top product in an excel sheet/sharepoint and make it available for the sales rep so that if they want to add more product they can.&lt;/P&gt;
&lt;P&gt;Can you help me.&lt;/P&gt;
&lt;P&gt;Thank you&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 25 Jan 2022 11:11:34 GMT</pubDate>
    <dc:creator>random_user_3869</dc:creator>
    <dc:date>2022-01-25T11:11:34Z</dc:date>
    <item>
      <title>List of values</title>
      <link>https://community.qlik.com/t5/App-Development/List-of-values/m-p/1884957#M72896</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I need to improve a qlik saas applciation targeting around sales representatives in a specific areas.&lt;/P&gt;
&lt;P&gt;For this year sales rep are targeting around 5 products (for the sake of the example we will call them A, B,C,D,E&lt;/P&gt;
&lt;P&gt;But those products may change or evolve (it could be more or less).&lt;/P&gt;
&lt;P&gt;initially in the sales sheet there were many calculation&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SUM({&amp;lt;PRODUCT = {'A','B','C','D','E'}&amp;gt;}Total revenue)&lt;/P&gt;
&lt;P&gt;But i create a variable in the script :&lt;/P&gt;
&lt;P&gt;vL.Target2022 = 'A'&amp;amp;chr(39)&amp;amp; chr(44)&amp;amp;chr(39)&amp;amp;'B'&amp;amp;chr(39)&amp;amp;chr(44)&amp;amp;chr(39)&amp;amp;'C'&amp;amp;chr(39)&amp;amp;chr(44)&amp;amp;chr(39)&amp;amp;'D'&amp;amp;chr(39)&amp;amp;chr(44)&amp;amp;chr(39)&amp;amp;'E'&lt;/P&gt;
&lt;P&gt;that way i can make the set analysis the following more easy to read.&lt;/P&gt;
&lt;P&gt;But i would like to put the top product in an excel sheet/sharepoint and make it available for the sales rep so that if they want to add more product they can.&lt;/P&gt;
&lt;P&gt;Can you help me.&lt;/P&gt;
&lt;P&gt;Thank you&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Jan 2022 11:11:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/List-of-values/m-p/1884957#M72896</guid>
      <dc:creator>random_user_3869</dc:creator>
      <dc:date>2022-01-25T11:11:34Z</dc:date>
    </item>
    <item>
      <title>Re: List of values</title>
      <link>https://community.qlik.com/t5/App-Development/List-of-values/m-p/1885197#M72904</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;like you already suggested, the PRODUCT TargetGroup relation could be defined in an Excel source&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MarcoWedel_0-1643129980017.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/70955i82283EB50DA4ECB5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MarcoWedel_0-1643129980017.png" alt="MarcoWedel_0-1643129980017.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;added to your load script using&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;tabTargetGroups:
LOAD TargetGroup, 
     PRODUCT
FROM [TargetGroups.xlsx] (ooxml, embedded labels, table is Sheet1);
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;and changing your expression to simply&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Sum({$&amp;lt;TargetGroup={'TargetGroup1'}&amp;gt;} Total revenue)&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;enabling your sales representatives to edit the relevant products outside of QlikView in the Excel document instead.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;hope this helps&lt;/P&gt;
&lt;P&gt;Marco&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Jan 2022 17:04:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/List-of-values/m-p/1885197#M72904</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2022-01-25T17:04:03Z</dc:date>
    </item>
  </channel>
</rss>

