<?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 Simple variable expansion in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Simple-variable-expansion/m-p/374664#M139533</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; I was trying too hard.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=AsOf&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=vAsOf&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;both return what I want.&amp;nbsp; I'm going home now..........&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 29 Mar 2012 00:59:50 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-03-29T00:59:50Z</dc:date>
    <item>
      <title>Simple variable expansion</title>
      <link>https://community.qlik.com/t5/QlikView/Simple-variable-expansion/m-p/374661#M139530</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It seems the simplest of things are the hardest.&amp;nbsp; I have set a variable in the load script &lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;LET AsOf='3/3/2012';&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All I want to do is show a text box on the main sheet with the value of that variable.&amp;nbsp; I make a text box, click the ellipses in the Text box on the General tab to get the Edit Expression window, and then click the variables tab.&amp;nbsp; It shows my only variable AsOf in the listbox, and the value below shows 3/3/2012.&amp;nbsp; I place &lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;=$(AsOf)&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;BR /&gt;in the expression. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The text object shows the value 0.0004970789264414&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Date($(AsOf)) shows 12/30/1899.&amp;nbsp; Format codes seem to be irrelevant.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help - this shouldn't be this difficult!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Mar 2012 23:29:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Simple-variable-expansion/m-p/374661#M139530</guid>
      <dc:creator />
      <dc:date>2012-03-28T23:29:10Z</dc:date>
    </item>
    <item>
      <title>Simple variable expansion</title>
      <link>https://community.qlik.com/t5/QlikView/Simple-variable-expansion/m-p/374662#M139531</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/blush.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry, folks. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is a LET vs SET issue.&amp;nbsp; Using SET will give me the correct string.&amp;nbsp; Using LET gives me 3 divided by 3 divided by 2012. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Been a long day.... &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Mar 2012 23:49:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Simple-variable-expansion/m-p/374662#M139531</guid>
      <dc:creator />
      <dc:date>2012-03-28T23:49:14Z</dc:date>
    </item>
    <item>
      <title>Simple variable expansion</title>
      <link>https://community.qlik.com/t5/QlikView/Simple-variable-expansion/m-p/374663#M139532</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Actually, this is not the correct answer.&amp;nbsp; I now have two variable in the script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LET AsOf='3/3/2012';&lt;/P&gt;&lt;P&gt;SET vAsOf='3/3/2012';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Both of these behave the same way.&amp;nbsp; I guess I really don't understand this right now....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Mar 2012 00:53:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Simple-variable-expansion/m-p/374663#M139532</guid>
      <dc:creator />
      <dc:date>2012-03-29T00:53:58Z</dc:date>
    </item>
    <item>
      <title>Simple variable expansion</title>
      <link>https://community.qlik.com/t5/QlikView/Simple-variable-expansion/m-p/374664#M139533</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; I was trying too hard.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=AsOf&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=vAsOf&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;both return what I want.&amp;nbsp; I'm going home now..........&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Mar 2012 00:59:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Simple-variable-expansion/m-p/374664#M139533</guid>
      <dc:creator />
      <dc:date>2012-03-29T00:59:50Z</dc:date>
    </item>
  </channel>
</rss>

