<?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: Variables with Parameters in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Variables-with-Parameters/m-p/1054240#M353531</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;this does not apply in this case, unfortunately i cannot submit data, i figure out another way of doing it &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 18 Feb 2016 10:16:09 GMT</pubDate>
    <dc:creator>felcar2013</dc:creator>
    <dc:date>2016-02-18T10:16:09Z</dc:date>
    <item>
      <title>Variables with Parameters</title>
      <link>https://community.qlik.com/t5/QlikView/Variables-with-Parameters/m-p/1054235#M353526</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;how can i represent a variable which ignores the Dimension?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vSales($1,$2)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where&lt;/P&gt;&lt;P&gt;vSales = sum({$&amp;lt;dim1={a},dim2=&amp;gt;} sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;with Parameters, how is this representation?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vSales(a,&lt;STRONG&gt;?&lt;/STRONG&gt;)&lt;/P&gt;&lt;P&gt;i tried several Options, but None of them worked, do you have an idea on this?&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Feb 2016 13:00:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variables-with-Parameters/m-p/1054235#M353526</guid>
      <dc:creator>felcar2013</dc:creator>
      <dc:date>2016-02-17T13:00:57Z</dc:date>
    </item>
    <item>
      <title>Re: Variables with Parameters</title>
      <link>https://community.qlik.com/t5/QlikView/Variables-with-Parameters/m-p/1054236#M353527</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could use something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vSales:&lt;/P&gt;&lt;P&gt;sum({$1 &amp;lt;$2 = {$3},$4 =&amp;gt;} $5)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and as expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;$(vSales(, [dim1], 'a', [dim2], [sales]))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See also: &lt;A href="https://community.qlik.com/docs/DOC-14559"&gt;Variables&lt;/A&gt;.&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, 17 Feb 2016 14:46:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variables-with-Parameters/m-p/1054236#M353527</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2016-02-17T14:46:17Z</dc:date>
    </item>
    <item>
      <title>Re: Variables with Parameters</title>
      <link>https://community.qlik.com/t5/QlikView/Variables-with-Parameters/m-p/1054237#M353528</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;Definition of the vSales variable with parameters:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;vSales = Sum( {&amp;lt;$&amp;lt;dim1=$1,dim2=$2&amp;gt;} Sales )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Use of the vSales with actual parameters {a} and a space:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;vSales({a}, )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;notice that you have to have a space after the comma in the above expression - if you don't it will leave the $2 into the resulting evaluation....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Will give you:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum( {&amp;lt;$&amp;lt;dim1={a},dim2=&amp;gt;} Sales )&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Feb 2016 15:30:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variables-with-Parameters/m-p/1054237#M353528</guid>
      <dc:creator>petter</dc:creator>
      <dc:date>2016-02-17T15:30:39Z</dc:date>
    </item>
    <item>
      <title>Re: Variables with Parameters</title>
      <link>https://community.qlik.com/t5/QlikView/Variables-with-Parameters/m-p/1054238#M353529</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you are talking about ignoring the dimension, are you talking about chart dimensions?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Set expression won't ignore chart dimensions, your syntax will just clear user selections in field dim2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you need to ignore chart dimensions, look into TOTAL qualifier, with / without additional field list&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Sum(TOTAL Sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Sum(TOTAL&amp;lt;Dim1&amp;gt; Sales)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Feb 2016 15:36:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variables-with-Parameters/m-p/1054238#M353529</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-02-17T15:36:12Z</dc:date>
    </item>
    <item>
      <title>Re: Variables with Parameters</title>
      <link>https://community.qlik.com/t5/QlikView/Variables-with-Parameters/m-p/1054239#M353530</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks, did not work&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Feb 2016 10:08:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variables-with-Parameters/m-p/1054239#M353530</guid>
      <dc:creator>felcar2013</dc:creator>
      <dc:date>2016-02-18T10:08:03Z</dc:date>
    </item>
    <item>
      <title>Re: Variables with Parameters</title>
      <link>https://community.qlik.com/t5/QlikView/Variables-with-Parameters/m-p/1054240#M353531</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;this does not apply in this case, unfortunately i cannot submit data, i figure out another way of doing it &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Feb 2016 10:16:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variables-with-Parameters/m-p/1054240#M353531</guid>
      <dc:creator>felcar2013</dc:creator>
      <dc:date>2016-02-18T10:16:09Z</dc:date>
    </item>
    <item>
      <title>Re: Variables with Parameters</title>
      <link>https://community.qlik.com/t5/QlikView/Variables-with-Parameters/m-p/1054241#M353532</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;this worked perfectly, thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Feb 2016 10:20:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variables-with-Parameters/m-p/1054241#M353532</guid>
      <dc:creator>felcar2013</dc:creator>
      <dc:date>2016-02-18T10:20:47Z</dc:date>
    </item>
    <item>
      <title>Re: Variables with Parameters</title>
      <link>https://community.qlik.com/t5/QlikView/Variables-with-Parameters/m-p/1054242#M353533</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry to hear that. I specifically tested it in a QlikView application and it worked for me. I should have attached the application I guess - since there might be subtle differences in how you apply my instructions in an application that would make a difference...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I am happy to see that you found a solution that worked for you anyway &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Feb 2016 10:48:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variables-with-Parameters/m-p/1054242#M353533</guid>
      <dc:creator>petter</dc:creator>
      <dc:date>2016-02-18T10:48:32Z</dc:date>
    </item>
    <item>
      <title>Re: Variables with Parameters</title>
      <link>https://community.qlik.com/t5/QlikView/Variables-with-Parameters/m-p/1054243#M353534</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks Petter&lt;/P&gt;&lt;P&gt;the solution from Marcus worked perfectly. I tried before all solutions like yours, but with no success. I never parametrized everything in the Expression. Now i know it is possible.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Feb 2016 15:56:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variables-with-Parameters/m-p/1054243#M353534</guid>
      <dc:creator>felcar2013</dc:creator>
      <dc:date>2016-02-18T15:56:05Z</dc:date>
    </item>
  </channel>
</rss>

