<?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 create a Table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-create-a-Table/m-p/885097#M992270</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The problem is due to the $ expansion in the Set command returning a null. Although a Set command expression is not evaluated, the $ expansion happens before the Set statement. What you need to do is to defer the $ expansions. You can do 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: 13px;"&gt;Let vRangeMax = '$' &amp;amp; '(vMaxYear)';&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: 13px;"&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: 13px;"&gt;This prevents the $ expansion from happening in the script.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 06 Jul 2015 07:00:06 GMT</pubDate>
    <dc:creator>jonathandienst</dc:creator>
    <dc:date>2015-07-06T07:00:06Z</dc:date>
    <item>
      <title>How to create a Table</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-create-a-Table/m-p/885096#M992269</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All&lt;/P&gt;&lt;P&gt; I have the following scenario,......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;YearRange:&lt;/P&gt;&lt;P&gt;Load Max(Year) as MaxYear, Min(Year) as MinYear resident Table1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let vMaxYear= Peek('MaxYear',0,'YearRange');&lt;/P&gt;&lt;P&gt;Let vMinYear= Peek('MinYear',0,'YearRange');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Set vRangeMax=$(vMaxYear);&lt;/P&gt;&lt;P&gt;Set vRangeMin=$(vMinYear);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Drop Table YearRange;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do &lt;/P&gt;&lt;P&gt;Load &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN style="font-size: 14pt;"&gt;$(vRangeMax)&lt;/SPAN&gt; &lt;/STRONG&gt; as Year&lt;/P&gt;&lt;P&gt;Resident Table1&lt;/P&gt;&lt;P&gt;where Year=$(vRangeMax)-1;&lt;/P&gt;&lt;P&gt;Set vRangeMax= Num($(vRangeMax))-1;&lt;/P&gt;&lt;P&gt;LOOP while $(vRangeMax) &amp;gt;$(vRangeMin);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Store Table1 into 'D:\Table1.qvd';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note : " &lt;STRONG style="font-size: 14pt;"&gt;$(vRangeMax)&lt;/STRONG&gt; "&amp;nbsp;&amp;nbsp; is showing an error......&lt;/P&gt;&lt;P&gt;How we can load table...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Madhu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jul 2015 06:53:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-create-a-Table/m-p/885096#M992269</guid>
      <dc:creator>madhubabum</dc:creator>
      <dc:date>2015-07-06T06:53:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a Table</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-create-a-Table/m-p/885097#M992270</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The problem is due to the $ expansion in the Set command returning a null. Although a Set command expression is not evaluated, the $ expansion happens before the Set statement. What you need to do is to defer the $ expansions. You can do 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: 13px;"&gt;Let vRangeMax = '$' &amp;amp; '(vMaxYear)';&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: 13px;"&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: 13px;"&gt;This prevents the $ expansion from happening in the script.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jul 2015 07:00:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-create-a-Table/m-p/885097#M992270</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2015-07-06T07:00:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a Table</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-create-a-Table/m-p/885098#M992271</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I often do this instead:&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: 13px;"&gt;Set vRangeMax = #(vMaxYear);&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: 13px;"&gt;Let &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;vRangeMax = Replace(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;vRangeMax, '#', '$');&lt;/SPAN&gt;&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; font-size: 13px;"&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: 13px;"&gt;This is useful for complex expressions which are awkward with the single step process - although for simple ones i would use the first suggestion.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jul 2015 07:02:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-create-a-Table/m-p/885098#M992271</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2015-07-06T07:02:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a Table</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-create-a-Table/m-p/885099#M992274</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jonathan&lt;/P&gt;&lt;P&gt;Thanks Your reply...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where i want to use &amp;amp; Where i want to declare variables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Madhu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jul 2015 07:26:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-create-a-Table/m-p/885099#M992274</guid>
      <dc:creator>madhubabum</dc:creator>
      <dc:date>2015-07-06T07:26:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a Table</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-create-a-Table/m-p/885100#M992276</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jonathan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&amp;gt; Once we debug the script ...&lt;/P&gt;&lt;P&gt;Output :&lt;/P&gt;&lt;P&gt;Syntax error, missing/misplaced FROM:&lt;/P&gt;&lt;P&gt;Load &lt;/P&gt;&lt;P&gt;&amp;nbsp; as Year,..........&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jul 2015 07:39:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-create-a-Table/m-p/885100#M992276</guid>
      <dc:creator>madhubabum</dc:creator>
      <dc:date>2015-07-06T07:39:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a Table</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-create-a-Table/m-p/885101#M992279</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;madhu babu wrote:&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Where i want to use &amp;amp; Where i want to declare variables.&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;I don't understand the question&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jul 2015 07:44:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-create-a-Table/m-p/885101#M992279</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2015-07-06T07:44:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a Table</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-create-a-Table/m-p/885102#M992281</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;madhu babu wrote:&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;-&amp;gt; Once we debug the script ...&lt;/P&gt;
&lt;P&gt;Output :&lt;/P&gt;
&lt;P&gt;Syntax error, missing/misplaced FROM:&lt;/P&gt;
&lt;P&gt;Load&lt;/P&gt;
&lt;P&gt;&amp;nbsp; as Year,..........&lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;You are probably missing a semi-colon or comma somewhere&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jul 2015 07:44:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-create-a-Table/m-p/885102#M992281</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2015-07-06T07:44:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a Table</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-create-a-Table/m-p/885103#M992282</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jonathan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After Load&lt;/P&gt;&lt;P&gt;"$(vRangeMax)"&amp;nbsp; does not recognize &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jul 2015 07:53:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-create-a-Table/m-p/885103#M992282</guid>
      <dc:creator>madhubabum</dc:creator>
      <dc:date>2015-07-06T07:53:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a Table</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-create-a-Table/m-p/885104#M992283</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;change Set vRangeMax= Num($(vRangeMax))-1;&lt;/P&gt;&lt;P&gt;to let vRangeMax= Num($(vRangeMax))-1;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jul 2015 07:57:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-create-a-Table/m-p/885104#M992283</guid>
      <dc:creator>sasiparupudi1</dc:creator>
      <dc:date>2015-07-06T07:57:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a Table</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-create-a-Table/m-p/885105#M992284</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Something is wrong with your (updated) script, but without seeing it, I cannot help you.&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;madhu babu wrote:&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;After Load&lt;/P&gt;
&lt;P&gt;"$(vRangeMax)"&amp;nbsp; does not recognize&lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jul 2015 08:00:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-create-a-Table/m-p/885105#M992284</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2015-07-06T08:00:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a Table</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-create-a-Table/m-p/885106#M992285</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Is your problem solved?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jul 2015 07:16:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-create-a-Table/m-p/885106#M992285</guid>
      <dc:creator>sasiparupudi1</dc:creator>
      <dc:date>2015-07-08T07:16:43Z</dc:date>
    </item>
  </channel>
</rss>

