<?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: How to use variables in expressions in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-use-variables-in-expressions/m-p/466010#M1152944</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use dollar-expansion. This looks like $(vMyVariable) for a variable name vMyVariable&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 8pt; color: #737373; font-family: Arial;"&gt;( {$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 8pt; font-family: Arial; color: #800000;"&gt;AcNo&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 8pt; color: #737373; font-family: Arial;"&gt;= {'&amp;gt;=3000&amp;lt;=3999'},&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 8pt; font-family: Arial; color: #800000;"&gt;VoDt&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 8pt; color: #737373; font-family: Arial;"&gt;= {'&amp;gt;$(from_date)&amp;lt;$(to_date)'}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 8pt; font-family: Arial; color: #800000;"&gt;AcAm&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 8pt; color: #737373; font-family: Arial;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 21 Mar 2013 12:54:29 GMT</pubDate>
    <dc:creator>Gysbert_Wassenaar</dc:creator>
    <dc:date>2013-03-21T12:54:29Z</dc:date>
    <item>
      <title>How to use variables in expressions</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-use-variables-in-expressions/m-p/466009#M1152943</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have this expression in pivot table:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum&lt;SPAN style="font-size: 8pt;"&gt;( {$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;AcNo&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;= {'&amp;gt;=3000&amp;lt;=3999'},&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;VoDt&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;= {'&amp;gt;20130101&amp;lt;20130328'}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;AcAm&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;I like to use variables from_date and to_date (ihave created) instead of 20130101 and 20130328. How to do that?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;//Gunnar&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Mar 2013 12:50:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-use-variables-in-expressions/m-p/466009#M1152943</guid>
      <dc:creator />
      <dc:date>2013-03-21T12:50:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to use variables in expressions</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-use-variables-in-expressions/m-p/466010#M1152944</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use dollar-expansion. This looks like $(vMyVariable) for a variable name vMyVariable&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 8pt; color: #737373; font-family: Arial;"&gt;( {$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 8pt; font-family: Arial; color: #800000;"&gt;AcNo&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 8pt; color: #737373; font-family: Arial;"&gt;= {'&amp;gt;=3000&amp;lt;=3999'},&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 8pt; font-family: Arial; color: #800000;"&gt;VoDt&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 8pt; color: #737373; font-family: Arial;"&gt;= {'&amp;gt;$(from_date)&amp;lt;$(to_date)'}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 8pt; font-family: Arial; color: #800000;"&gt;AcAm&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 8pt; color: #737373; font-family: Arial;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Mar 2013 12:54:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-use-variables-in-expressions/m-p/466010#M1152944</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2013-03-21T12:54:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to use variables in expressions</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-use-variables-in-expressions/m-p/466011#M1152945</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sum ( {$&amp;lt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;AcNo&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;= {'&amp;gt;=3000&amp;lt;=3999'},&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;VoDt&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt; {"$(='&amp;gt;='&amp;amp; MonthStart(date(vHOY),-2)&amp;amp;'&amp;lt;='&amp;amp;MonthEnd(date(vHOY),0)"}&amp;gt;}&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;AcAm&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;vHOY = DATE(TODAY())&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Hope it helps you.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Regards.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Mar 2013 12:55:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-use-variables-in-expressions/m-p/466011#M1152945</guid>
      <dc:creator>fdelacal</dc:creator>
      <dc:date>2013-03-21T12:55:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to use variables in expressions</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-use-variables-in-expressions/m-p/466012#M1152946</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;try this&lt;/P&gt;&lt;P&gt;sum&lt;SPAN style="font-size: 8pt;"&gt;( {$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;AcNo&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;= {'&amp;gt;=3000&amp;lt;=3999'},&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;VoDt&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;= {&lt;/SPAN&gt;'&amp;gt; $(from_date) &amp;lt; $( to_date )'&lt;SPAN style="font-size: 8pt;"&gt;}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;AcAm&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Mar 2013 13:02:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-use-variables-in-expressions/m-p/466012#M1152946</guid>
      <dc:creator />
      <dc:date>2013-03-21T13:02:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to use variables in expressions</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-use-variables-in-expressions/m-p/466013#M1152947</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What do $ sign mean in the syntax?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//Gunnar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Mar 2013 13:04:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-use-variables-in-expressions/m-p/466013#M1152947</guid>
      <dc:creator />
      <dc:date>2013-03-21T13:04:48Z</dc:date>
    </item>
  </channel>
</rss>

