<?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: An issue with a variable with parameter in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/An-issue-with-a-variable-with-parameter/m-p/2510859#M104967</link>
    <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/28038"&gt;@marcus_sommer&lt;/a&gt;&amp;nbsp;interesting idea. thank you for this hint&lt;/P&gt;</description>
    <pubDate>Thu, 20 Mar 2025 14:59:40 GMT</pubDate>
    <dc:creator>Peony</dc:creator>
    <dc:date>2025-03-20T14:59:40Z</dc:date>
    <item>
      <title>An issue with a variable with parameter</title>
      <link>https://community.qlik.com/t5/App-Development/An-issue-with-a-variable-with-parameter/m-p/2510082#M104819</link>
      <description>&lt;P&gt;Hi all. Please, could anyone give a piece of advice regarding an issue described below.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I created a variable with parameter v_Total_Dollar_Sales = Sum({&amp;lt;$1&amp;gt;} Dollar_Sales).&lt;BR /&gt;Also, I created a variable with list of fields that should be applied to $1 parameter v_Chicken_Dim_Total_Exclude = '%Chicken_Brand=, %Chicken_Segment=, %Chicken_Retailer=, %Chicken_Subcategory='&lt;BR /&gt;But when I applied it only %Chicken_Brand appeared in set analysis. Why is it so?&lt;BR /&gt;&lt;BR /&gt;=$(v_Total_Dollar_Sales($(v_Chicken_Dim_Total_Exclude)))&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Peony_0-1742073664574.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/178639iC549DB6B59490522/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Peony_0-1742073664574.png" alt="Peony_0-1742073664574.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 15 Mar 2025 21:21:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/An-issue-with-a-variable-with-parameter/m-p/2510082#M104819</guid>
      <dc:creator>Peony</dc:creator>
      <dc:date>2025-03-15T21:21:24Z</dc:date>
    </item>
    <item>
      <title>Re: An issue with a variable with parameter</title>
      <link>https://community.qlik.com/t5/App-Development/An-issue-with-a-variable-with-parameter/m-p/2510097#M104824</link>
      <description>&lt;P&gt;Hi Peony,&lt;/P&gt;&lt;P&gt;you need to prefix = to the definition of the variable.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Variable Name:&amp;nbsp; &amp;nbsp; v_Chicken_Dim_Total_Exclude&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Variable definition&amp;nbsp; &amp;nbsp;='%Chicken_Brand=, %Chicken_Segment=, %Chicken_Retailer=, %Chicken_Subcategory='&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ramchalla_0-1742102896867.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/178640iBB1CDCE025032019/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ramchalla_0-1742102896867.png" alt="ramchalla_0-1742102896867.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 16 Mar 2025 05:28:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/An-issue-with-a-variable-with-parameter/m-p/2510097#M104824</guid>
      <dc:creator>ramchalla</dc:creator>
      <dc:date>2025-03-16T05:28:32Z</dc:date>
    </item>
    <item>
      <title>Re: An issue with a variable with parameter</title>
      <link>https://community.qlik.com/t5/App-Development/An-issue-with-a-variable-with-parameter/m-p/2510243#M104852</link>
      <description>&lt;P&gt;Each comma within a variable-value will be treated as parameter-delimiter. There is no way to mask them but of course (quite ugly) workarounds to replace the commas in the creation as well within the call again.&lt;/P&gt;&lt;P&gt;Much better is to avoid the comma-stuff itself by dividing the content into n ones and/or to use a comma-free syntax - this may look like:&lt;/P&gt;&lt;P&gt;v: sum({ &amp;lt; $1, $2 &amp;gt;} Value)&lt;BR /&gt;$(v(a =, b =))&lt;/P&gt;&lt;P&gt;v: sum({ $1} Value)&lt;BR /&gt;$(v(&amp;lt; a = {(x|y|z)} &amp;gt; * &amp;lt; b = {(1|2|3)} &amp;gt;))&lt;/P&gt;</description>
      <pubDate>Mon, 17 Mar 2025 11:53:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/An-issue-with-a-variable-with-parameter/m-p/2510243#M104852</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2025-03-17T11:53:07Z</dc:date>
    </item>
    <item>
      <title>Re: An issue with a variable with parameter</title>
      <link>https://community.qlik.com/t5/App-Development/An-issue-with-a-variable-with-parameter/m-p/2510858#M104966</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/8840"&gt;@ramchalla&lt;/a&gt;&amp;nbsp;thank you!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Mar 2025 14:59:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/An-issue-with-a-variable-with-parameter/m-p/2510858#M104966</guid>
      <dc:creator>Peony</dc:creator>
      <dc:date>2025-03-20T14:59:01Z</dc:date>
    </item>
    <item>
      <title>Re: An issue with a variable with parameter</title>
      <link>https://community.qlik.com/t5/App-Development/An-issue-with-a-variable-with-parameter/m-p/2510859#M104967</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/28038"&gt;@marcus_sommer&lt;/a&gt;&amp;nbsp;interesting idea. thank you for this hint&lt;/P&gt;</description>
      <pubDate>Thu, 20 Mar 2025 14:59:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/An-issue-with-a-variable-with-parameter/m-p/2510859#M104967</guid>
      <dc:creator>Peony</dc:creator>
      <dc:date>2025-03-20T14:59:40Z</dc:date>
    </item>
  </channel>
</rss>

