<?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: RE:Explaination in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/RE-Explaination/m-p/1071407#M639942</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thnx manish...nice expln.&amp;nbsp; easy to u.stnd.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 19 Feb 2016 09:25:59 GMT</pubDate>
    <dc:creator>Chanty4u</dc:creator>
    <dc:date>2016-02-19T09:25:59Z</dc:date>
    <item>
      <title>RE:Explaination</title>
      <link>https://community.qlik.com/t5/QlikView/RE-Explaination/m-p/1071401#M639936</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;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can any one Explain the below code how it works?&lt;/P&gt;&lt;P&gt;My data has two fileds in excel&lt;/P&gt;&lt;P&gt;LOAD ColorNo, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ColorCode&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;[C\...\....\ColorCodes.xlsx]&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is Sheet1);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let vNumberOfRows = NoOfRows('ColorCodes');&lt;/P&gt;&lt;P&gt;For vI = 0 to (vNumberOfRows - 1)&lt;/P&gt;&lt;P&gt;Let vVariable_Name = Peek('ColorNo',vI,'Expression');&lt;/P&gt;&lt;P&gt;Let [$(vVariable_Name)] = Peek('ColorCode',vI,'Expression');&lt;/P&gt;&lt;P&gt;Next&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DROP Table ColorCodes;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Feb 2016 09:13:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/RE-Explaination/m-p/1071401#M639936</guid>
      <dc:creator>Chanty4u</dc:creator>
      <dc:date>2016-02-19T09:13:20Z</dc:date>
    </item>
    <item>
      <title>Re: RE:Explaination</title>
      <link>https://community.qlik.com/t5/QlikView/RE-Explaination/m-p/1071402#M639937</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think loading the data part is simple and I am sure you understand that part. For the next few lines this is what is going on:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG&gt;Let vNumberOfRows = NoOfRows('ColorCodes');&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Setting a variable for estimating how many rows of data is available in the Excel file we just loaded.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;For vI = 0 to (vNumberOfRows - 1)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Start a for loop and loop through x number of times where x depends on the number of rows of data&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;Let vVariable_Name = Peek('ColorNo',vI,'Expression');&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; In each look vVariable_Name would pick the value of ColorNo and save it to vVariable_Name&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;Let [$(vVariable_Name)] = Peek('ColorCode',vI,'Expression');&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Use the value if ColorNo as the variable Name and save the value of ColorCode in it&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Next&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Repeat the same step for all the rows.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Feb 2016 09:20:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/RE-Explaination/m-p/1071402#M639937</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-02-19T09:20:29Z</dc:date>
    </item>
    <item>
      <title>Re: RE:Explaination</title>
      <link>https://community.qlik.com/t5/QlikView/RE-Explaination/m-p/1071403#M639938</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Let vNumberOfRows = NoOfRows('ColorCodes');&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;This will count the number of Rows for COlorCodes column and store in vNumberOfRows variable.&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;For vI = 0 to (vNumberOfRows - 1)&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;This is for loop... which will run one line at a time starting from 0 to &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;vNumberOfRows-1 times&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Let vVariable_Name = Peek('ColorNo',vI,'Expression');&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;this will pick ColorNo respect to ColorCodes from Expression table and store in vVariable_Name variable&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;This variable you can use as lable&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Let [$(vVariable_Name)] = Peek('ColorCode',vI,'Expression');&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;The above vVariable_Name is now stored as an Expression.&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;This variable you can use as expression.&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Next&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;This will make sure taht your next loop will run&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;DROP Table ColorCodes;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Feb 2016 09:21:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/RE-Explaination/m-p/1071403#M639938</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2016-02-19T09:21:05Z</dc:date>
    </item>
    <item>
      <title>Re: RE:Explaination</title>
      <link>https://community.qlik.com/t5/QlikView/RE-Explaination/m-p/1071404#M639939</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;there is some gaps in the script... &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;NoOfRows('&lt;SPAN style="color: #993300;"&gt;ColorCodes&lt;/SPAN&gt;') and &lt;SPAN style="color: #993300;"&gt;Expression&lt;/SPAN&gt; Table in Peek function..&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;trying to create variables with&amp;nbsp; the&amp;nbsp; 'ColorNo' Values as Variable Names&amp;nbsp; and 'ColoeCode' values as the variable value....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We use this type of scripting in applications, when we defined the expressions/variables in excel; and reading the same thru qlikview application&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Pradeep&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Feb 2016 09:22:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/RE-Explaination/m-p/1071404#M639939</guid>
      <dc:creator>PradeepReddy</dc:creator>
      <dc:date>2016-02-19T09:22:39Z</dc:date>
    </item>
    <item>
      <title>Re: RE:Explaination</title>
      <link>https://community.qlik.com/t5/QlikView/RE-Explaination/m-p/1071405#M639940</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;ColorCodes&lt;/STRONG&gt;:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LOAD ColorNo,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ColorCode&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;FROM&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;[C\...\....\ColorCodes.xlsx]&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;(ooxml, embedded labels, table is Sheet1);&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Let vNumberOfRows = NoOfRows('ColorCodes');&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;For vI = 0 to (vNumberOfRows - 1)&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Let vVariable_Name = Peek('ColorNo',vI,'&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;ColorCodes&lt;/STRONG&gt;&lt;/SPAN&gt;');&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Let [$(vVariable_Name)] = Peek('ColorCode',vI,'&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;ColorCodes&lt;/STRONG&gt;&lt;/SPAN&gt;');&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Next&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;For every color Number you are assigning a color code , &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Feb 2016 09:22:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/RE-Explaination/m-p/1071405#M639940</guid>
      <dc:creator>sasikanth</dc:creator>
      <dc:date>2016-02-19T09:22:42Z</dc:date>
    </item>
    <item>
      <title>Re: RE:Explaination</title>
      <link>https://community.qlik.com/t5/QlikView/RE-Explaination/m-p/1071406#M639941</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thnk u sunny...still am learner only.&amp;nbsp; thnks&amp;nbsp; for ur grt explntion and time.&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;always be in top&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/plus.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Suresh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Feb 2016 09:25:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/RE-Explaination/m-p/1071406#M639941</guid>
      <dc:creator>Chanty4u</dc:creator>
      <dc:date>2016-02-19T09:25:21Z</dc:date>
    </item>
    <item>
      <title>Re: RE:Explaination</title>
      <link>https://community.qlik.com/t5/QlikView/RE-Explaination/m-p/1071407#M639942</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thnx manish...nice expln.&amp;nbsp; easy to u.stnd.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Feb 2016 09:25:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/RE-Explaination/m-p/1071407#M639942</guid>
      <dc:creator>Chanty4u</dc:creator>
      <dc:date>2016-02-19T09:25:59Z</dc:date>
    </item>
    <item>
      <title>Re: RE:Explaination</title>
      <link>https://community.qlik.com/t5/QlikView/RE-Explaination/m-p/1071408#M639943</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;simple line Thnx sunny.&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;&lt;STRONG&gt;For every color Number you are assigning a color code ,&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Feb 2016 09:27:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/RE-Explaination/m-p/1071408#M639943</guid>
      <dc:creator>Chanty4u</dc:creator>
      <dc:date>2016-02-19T09:27:20Z</dc:date>
    </item>
    <item>
      <title>Re: RE:Explaination</title>
      <link>https://community.qlik.com/t5/QlikView/RE-Explaination/m-p/1071409#M639944</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Pradeep we alrdy done this part in my application by my collegue as i cnt u.stnd how its works. now its clear.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And thnx for response.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Feb 2016 09:28:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/RE-Explaination/m-p/1071409#M639944</guid>
      <dc:creator>Chanty4u</dc:creator>
      <dc:date>2016-02-19T09:28:23Z</dc:date>
    </item>
    <item>
      <title>Re: RE:Explaination</title>
      <link>https://community.qlik.com/t5/QlikView/RE-Explaination/m-p/1071410#M639945</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;This code dynamically creates the variables for all the colors in the &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;ColorCodes.xlsx file.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Feb 2016 09:39:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/RE-Explaination/m-p/1071410#M639945</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2016-02-19T09:39:29Z</dc:date>
    </item>
    <item>
      <title>Re: RE:Explaination</title>
      <link>https://community.qlik.com/t5/QlikView/RE-Explaination/m-p/1071411#M639946</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thnx jagan.&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Feb 2016 10:10:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/RE-Explaination/m-p/1071411#M639946</guid>
      <dc:creator>Chanty4u</dc:creator>
      <dc:date>2016-02-19T10:10:52Z</dc:date>
    </item>
  </channel>
</rss>

