<?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: passing multiple members to set Analysis stored in variable with parameter in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/passing-multiple-members-to-set-Analysis-stored-in-variable-with/m-p/1235131#M858339</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marcus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am sorry not having answered yet. I tried you proposal but it did not work. May it because of the spaces in the values that I am looking for?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you have a small sample app where you tried these things which I can learn from?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marcel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 10 Feb 2017 17:22:44 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-02-10T17:22:44Z</dc:date>
    <item>
      <title>passing multiple members to set Analysis stored in variable with parameter</title>
      <link>https://community.qlik.com/t5/QlikView/passing-multiple-members-to-set-Analysis-stored-in-variable-with/m-p/1235128#M858336</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I did found the following thread (&lt;A href="https://community.qlikview.com/thread/95051" title="https://community.qlikview.com/thread/95051" target="_blank"&gt;Set Analysis - how to use variables inside set ... | Qlik Community&lt;/A&gt;) which deals with the problem I have.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunately, I could not figure out how it finally works. Here is my problem:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a variable (Calculation) with the following content:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;Product={$1}, Customer={$2}&amp;gt;} Sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to use this variable in a text box and display the summation value for two products (Product 1 and Product 2) at one customer (Customer 1).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is my problem: I am unable to pass two members to the parameter $1, however, if I just pass one product and one customer it works fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;I tried the following syntax options in my textbox without success:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;=$(Calculation('Product 1, Product 2','Customer 1)) &lt;SPAN style="color: #ff0000;"&gt;&lt;EM&gt;---&amp;gt; Just providing the list with single quotes&lt;/EM&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;=$(Calculation('"Product 1", "Product 2"','Customer 1)) &lt;EM&gt;---&amp;gt; Enclosing each product with a double quote&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;=$(Calculation('[Product 1], [Product 2]','Customer 1)) &lt;EM&gt;---&amp;gt; Enclosing each product with brackets&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;=$(Calculation("'Product 1, Product 2'",'Customer 1)) &lt;/SPAN&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;EM&gt;---&amp;gt; Using double quotes for the product parameter in total while enclosing each product with single quotes&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have no further idea how to make it work.... &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/confused.png" /&gt;&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, as mentioned if I just pass one product either Product 1 or Product 2 it works in two ways:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;=$(Calculation('Product 1','Customer 1)) ---&amp;gt; Enclosing product in single quotes&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;=$(Calculation("Product 1",'Customer 1)) ---&amp;gt; Enclosing product in double quotes&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;Thanks for any help!&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/passing-multiple-members-to-set-Analysis-stored-in-variable-with/m-p/1235128#M858336</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: passing multiple members to set Analysis stored in variable with parameter</title>
      <link>https://community.qlik.com/t5/QlikView/passing-multiple-members-to-set-Analysis-stored-in-variable-with/m-p/1235129#M858337</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In your variable you have only two members but you are trying to pass three members (2 products and 1 Customer): &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So if you want to pass two Product, please follow below steps:&lt;/P&gt;&lt;P&gt;1) Your variable (Calculation) expression should be as below:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sum({&amp;lt;Product={$1,$2}, Customer={$3}&amp;gt;} Sales)&lt;/P&gt;&lt;P&gt;2) And your expression should be as below:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; =$(Calculation(Product1,Product2,Customer1))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to pass only one Product then give the following expression:&lt;/P&gt;&lt;P&gt; =$(Calculation(Product1,'',Customer1)) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jan 2017 16:41:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/passing-multiple-members-to-set-Analysis-stored-in-variable-with/m-p/1235129#M858337</guid>
      <dc:creator>trdandamudi</dc:creator>
      <dc:date>2017-01-25T16:41:50Z</dc:date>
    </item>
    <item>
      <title>Re: passing multiple members to set Analysis stored in variable with parameter</title>
      <link>https://community.qlik.com/t5/QlikView/passing-multiple-members-to-set-Analysis-stored-in-variable-with/m-p/1235130#M858338</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, commas within the variable parameters are difficult - here you will find much background informations for it:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/message/1129861"&gt;Re: variable with comma parameter&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Beside them the following workaround which transferred a compound search-string might be the easiest way to handle your case:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;Product={'($1)'}, Customer={$2}&amp;gt;} Sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=$(Calculation("Product 1"|"Product 2","Customer 1"))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jan 2017 16:52:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/passing-multiple-members-to-set-Analysis-stored-in-variable-with/m-p/1235130#M858338</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2017-01-25T16:52:23Z</dc:date>
    </item>
    <item>
      <title>Re: passing multiple members to set Analysis stored in variable with parameter</title>
      <link>https://community.qlik.com/t5/QlikView/passing-multiple-members-to-set-Analysis-stored-in-variable-with/m-p/1235131#M858339</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marcus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am sorry not having answered yet. I tried you proposal but it did not work. May it because of the spaces in the values that I am looking for?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you have a small sample app where you tried these things which I can learn from?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marcel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Feb 2017 17:22:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/passing-multiple-members-to-set-Analysis-stored-in-variable-with/m-p/1235131#M858339</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-02-10T17:22:44Z</dc:date>
    </item>
    <item>
      <title>Re: passing multiple members to set Analysis stored in variable with parameter</title>
      <link>https://community.qlik.com/t5/QlikView/passing-multiple-members-to-set-Analysis-stored-in-variable-with/m-p/1235132#M858340</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;for me it worked:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/152818_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Feb 2017 18:36:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/passing-multiple-members-to-set-Analysis-stored-in-variable-with/m-p/1235132#M858340</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2017-02-10T18:36:58Z</dc:date>
    </item>
  </channel>
</rss>

