<?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: store expression into variable in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/store-expression-into-variable/m-p/915436#M988385</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;go to settings&amp;gt; Variable overview&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Click on add &amp;gt; give variable name and then click on that variable and in definition box give your expression;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=not WildMatch(F_Quarter,'*Q1')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;Sushil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 27 Jul 2015 07:04:49 GMT</pubDate>
    <dc:creator>sushil353</dc:creator>
    <dc:date>2015-07-27T07:04:49Z</dc:date>
    <item>
      <title>store expression into variable</title>
      <link>https://community.qlik.com/t5/QlikView/store-expression-into-variable/m-p/915434#M988383</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi i have a scenario in this i need to store expression into variable but the expression gives to values in that i want only one value&lt;/P&gt;&lt;P&gt;plzz help me&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this is the expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=not WildMatch(F_Quarter,'*Q1')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it is displaying 2 values 0 and -1 i want to store this expression into variable &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Jul 2015 06:55:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/store-expression-into-variable/m-p/915434#M988383</guid>
      <dc:creator />
      <dc:date>2015-07-27T06:55:35Z</dc:date>
    </item>
    <item>
      <title>Re: store expression into variable</title>
      <link>https://community.qlik.com/t5/QlikView/store-expression-into-variable/m-p/915435#M988384</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did you try to use SET?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SET vMyVariable='&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt; not WildMatch(F_Quarter,'*Q1')';&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ariel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Jul 2015 07:01:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/store-expression-into-variable/m-p/915435#M988384</guid>
      <dc:creator>ariel_klien</dc:creator>
      <dc:date>2015-07-27T07:01:36Z</dc:date>
    </item>
    <item>
      <title>Re: store expression into variable</title>
      <link>https://community.qlik.com/t5/QlikView/store-expression-into-variable/m-p/915436#M988385</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;go to settings&amp;gt; Variable overview&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Click on add &amp;gt; give variable name and then click on that variable and in definition box give your expression;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=not WildMatch(F_Quarter,'*Q1')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;Sushil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Jul 2015 07:04:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/store-expression-into-variable/m-p/915436#M988385</guid>
      <dc:creator>sushil353</dc:creator>
      <dc:date>2015-07-27T07:04:49Z</dc:date>
    </item>
    <item>
      <title>Re: store expression into variable</title>
      <link>https://community.qlik.com/t5/QlikView/store-expression-into-variable/m-p/915437#M988386</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you planning to use this in a chart or table? If yes, make sure that it is stored without the leading = sign. Ariel Klein's suggestion is correct, except that you need to escape the single quotes like this:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5em; color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Set vVar = 'not WildMatch(F_Quarter,''*Q1'')';&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Use the expression in a $ expansion. Provide more details about your use of the variable for more specific help.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are planning to use this in a context where F_Quarter has more than one possible value, then this expression (and consequently the variable) will not work as there is no way to determine which F_Quarter value to test. You will need an aggregate function (like Max(), Min() etc). I suggest you provide more information about what you are trying to achieve.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Jul 2015 07:14:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/store-expression-into-variable/m-p/915437#M988386</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2015-07-27T07:14:36Z</dc:date>
    </item>
  </channel>
</rss>

