<?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: User variable in a dimension in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/User-variable-in-a-dimension/m-p/707654#M1056543</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Flemming,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;=if(Geography_CountryCode='IT' and WildMatch(Supplier, $(vSuppliers)),'Italy')&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;where &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;vSuppliers = 'A', 'B'&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Hope this helps you,.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Jagan.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 13 Oct 2014 02:26:03 GMT</pubDate>
    <dc:creator>jagan</dc:creator>
    <dc:date>2014-10-13T02:26:03Z</dc:date>
    <item>
      <title>User variable in a dimension</title>
      <link>https://community.qlik.com/t5/QlikView/User-variable-in-a-dimension/m-p/707649#M1056538</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Got a question how to use a user variable in a dimension.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have this dimension definition:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if(Geography_CountryCode='IT' and Supplier &amp;lt;&amp;gt; 'A' and Supplier &amp;lt;&amp;gt; 'B','Italy')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;No i want this part - and Supplier &amp;lt;&amp;gt; 'A' and Supplier &amp;lt;&amp;gt; 'B - to be replaced by a user variable, because i need this formula many places and there might be a C and a D as well &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can i do that?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;something like&lt;/P&gt;&lt;P&gt;=if(Geography_CountryCode='IT' and $uvSupplier,'Italy')&lt;/P&gt;&lt;P&gt;doesnt work (of course)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyone that can direct me the the right direction?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Oct 2014 16:16:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/User-variable-in-a-dimension/m-p/707649#M1056538</guid>
      <dc:creator />
      <dc:date>2014-10-12T16:16:01Z</dc:date>
    </item>
    <item>
      <title>Re: User variable in a dimension</title>
      <link>https://community.qlik.com/t5/QlikView/User-variable-in-a-dimension/m-p/707650#M1056539</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you want users to select suppliers they do not want. So they would&amp;nbsp; select suppliers they do not want in an input box for example&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Oct 2014 17:04:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/User-variable-in-a-dimension/m-p/707650#M1056539</guid>
      <dc:creator>robert99</dc:creator>
      <dc:date>2014-10-12T17:04:38Z</dc:date>
    </item>
    <item>
      <title>Re: User variable in a dimension</title>
      <link>https://community.qlik.com/t5/QlikView/User-variable-in-a-dimension/m-p/707651#M1056540</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No in the first part, I would like to maintain the number of suppliers that should not be included in the dimension as a variable - not editable by users&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Oct 2014 17:21:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/User-variable-in-a-dimension/m-p/707651#M1056540</guid>
      <dc:creator />
      <dc:date>2014-10-12T17:21:16Z</dc:date>
    </item>
    <item>
      <title>Re: User variable in a dimension</title>
      <link>https://community.qlik.com/t5/QlikView/User-variable-in-a-dimension/m-p/707652#M1056541</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Unsure if this can be done&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But if you put the details in an expression and exclude zero it could be done&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;count({&amp;lt;Call_Supp_Num =- {$(vSupp)}&amp;gt;}Supplier)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;with variable set up as vSupp = A,B,C&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This would exclude supplier A,B and C and D also if you add to the variable&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you also want D just add as required&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I,m unsure if this is what you want or not.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Oct 2014 19:41:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/User-variable-in-a-dimension/m-p/707652#M1056541</guid>
      <dc:creator>robert99</dc:creator>
      <dc:date>2014-10-12T19:41:59Z</dc:date>
    </item>
    <item>
      <title>Re: User variable in a dimension</title>
      <link>https://community.qlik.com/t5/QlikView/User-variable-in-a-dimension/m-p/707653#M1056542</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;you might refer to dollar sign expansion to buid a parametrizable calculated dimensions.&lt;/P&gt;&lt;P style="margin-bottom: 1em; color: #666666; font-family: Arial, Helvetica, sans-serif; font-size: 12px; background-color: #f2f2f2;"&gt;&lt;STRONG&gt;Dollar-Sign Expansion with Parameters&lt;/STRONG&gt;&lt;BR /&gt;Parameters can be used in variable expansions. The variable must then contain formal parameters, such as $1, $2, $3 etc. When expanding the variable, the parameters should be stated in a comma separated list.&lt;/P&gt;&lt;P style="margin-bottom: 1em; color: #666666; font-family: Arial, Helvetica, sans-serif; font-size: 12px; background-color: #f2f2f2;"&gt;Examples:&lt;BR /&gt;set MUL=’$1*$2’;&lt;/P&gt;&lt;P style="margin-bottom: 1em; color: #666666; font-family: Arial, Helvetica, sans-serif; font-size: 12px; background-color: #f2f2f2;"&gt;set X=$(MUL(3,7)); // returns ‘3*7′ in X&lt;/P&gt;&lt;P style="margin-bottom: 1em; color: #666666; font-family: Arial, Helvetica, sans-serif; font-size: 12px; background-color: #f2f2f2;"&gt;let X=$(MUL(3,7)); // returns 21 in X&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Oct 2014 20:18:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/User-variable-in-a-dimension/m-p/707653#M1056542</guid>
      <dc:creator>agilos_mla</dc:creator>
      <dc:date>2014-10-12T20:18:49Z</dc:date>
    </item>
    <item>
      <title>Re: User variable in a dimension</title>
      <link>https://community.qlik.com/t5/QlikView/User-variable-in-a-dimension/m-p/707654#M1056543</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Flemming,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;=if(Geography_CountryCode='IT' and WildMatch(Supplier, $(vSuppliers)),'Italy')&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;where &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;vSuppliers = 'A', 'B'&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Hope this helps you,.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Jagan.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Oct 2014 02:26:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/User-variable-in-a-dimension/m-p/707654#M1056543</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2014-10-13T02:26:03Z</dc:date>
    </item>
    <item>
      <title>Re: User variable in a dimension</title>
      <link>https://community.qlik.com/t5/QlikView/User-variable-in-a-dimension/m-p/707655#M1056544</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jagan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is nice, thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How if I want to exclude the list of suppliers, so the wildmatch argument should be &amp;lt;&amp;gt; and not =&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Flemming&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Oct 2014 07:18:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/User-variable-in-a-dimension/m-p/707655#M1056544</guid>
      <dc:creator />
      <dc:date>2014-10-13T07:18:44Z</dc:date>
    </item>
    <item>
      <title>Re: User variable in a dimension</title>
      <link>https://community.qlik.com/t5/QlikView/User-variable-in-a-dimension/m-p/707656#M1056545</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Flemming,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #ffffee;"&gt;NOT WildMatch(Supplier, $(vSuppliers))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #ffffee;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #ffffee;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #ffffee;"&gt;Jagan.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Oct 2014 07:27:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/User-variable-in-a-dimension/m-p/707656#M1056545</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2014-10-13T07:27:31Z</dc:date>
    </item>
    <item>
      <title>Re: User variable in a dimension</title>
      <link>https://community.qlik.com/t5/QlikView/User-variable-in-a-dimension/m-p/707657#M1056546</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You are a genious...:-)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot - exactly what i needed....&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Flemming&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Oct 2014 07:38:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/User-variable-in-a-dimension/m-p/707657#M1056546</guid>
      <dc:creator />
      <dc:date>2014-10-13T07:38:20Z</dc:date>
    </item>
  </channel>
</rss>

