<?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: Script in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Script/m-p/1308551#M834054</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;STRONG style="font-size: 11.7px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;A _jive_internal="true" data-avatarid="-1" data-userid="183634" data-username="micheledenardi" href="https://community.qlik.com/people/micheledenardi" style="padding: 0 3px 0 0; font-weight: inherit; font-style: inherit; font-size: 1.1em; font-family: inherit; color: #3778c7;"&gt;Michele De Nardi&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;The requirement is like&lt;/P&gt;&lt;P&gt;If the Year is &amp;lt;&amp;nbsp; than today then it has to executive the table called " Income Tax"&amp;nbsp; else it has to Executive the the table&lt;/P&gt;&lt;P&gt;"Funds" i only tried to show u the sample example by taking fields&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What iam trying to do is like this &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF year&amp;lt;= Today&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;Year&lt;/P&gt;&lt;P&gt;Month&lt;/P&gt;&lt;P&gt;Incometax&lt;/P&gt;&lt;P&gt;travel&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;&lt;G&gt;&lt;/G&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Else&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;Year&lt;/P&gt;&lt;P&gt;Dept&lt;/P&gt;&lt;P&gt;Fund&lt;/P&gt;&lt;P&gt;Salary&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;G&gt;&lt;/G&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope you are clear now&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 05 Jun 2017 06:33:56 GMT</pubDate>
    <dc:creator>smilingjohn</dc:creator>
    <dc:date>2017-06-05T06:33:56Z</dc:date>
    <item>
      <title>Script</title>
      <link>https://community.qlik.com/t5/QlikView/Script/m-p/1308549#M834052</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 to achieve a condition in the edit script ..which is like below &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if year is less than Today then it has to executive a table &lt;/P&gt;&lt;P&gt;Load &lt;/P&gt;&lt;P&gt;Year&lt;/P&gt;&lt;P&gt;Mnth&lt;/P&gt;&lt;P&gt;office&lt;/P&gt;&lt;P&gt;Dept,&lt;/P&gt;&lt;P&gt;.from /..........qvd&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;else&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt; the other table has to be executed &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;year&lt;/P&gt;&lt;P&gt;Dept&lt;/P&gt;&lt;P&gt;Sect&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;. from /....qvd &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;can someone help me in writing this&amp;nbsp; in the edit script &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Thanks in Advance &lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script/m-p/1308549#M834052</guid>
      <dc:creator>smilingjohn</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Script</title>
      <link>https://community.qlik.com/t5/QlikView/Script/m-p/1308550#M834053</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi John,&lt;/P&gt;&lt;P&gt;The first table have only one row ?&lt;/P&gt;&lt;P&gt;Have we to check the first/last row of the first table to check the condition ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Jun 2017 06:17:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script/m-p/1308550#M834053</guid>
      <dc:creator>micheledenardi</dc:creator>
      <dc:date>2017-06-05T06:17:20Z</dc:date>
    </item>
    <item>
      <title>Re: Script</title>
      <link>https://community.qlik.com/t5/QlikView/Script/m-p/1308551#M834054</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;STRONG style="font-size: 11.7px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;A _jive_internal="true" data-avatarid="-1" data-userid="183634" data-username="micheledenardi" href="https://community.qlik.com/people/micheledenardi" style="padding: 0 3px 0 0; font-weight: inherit; font-style: inherit; font-size: 1.1em; font-family: inherit; color: #3778c7;"&gt;Michele De Nardi&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;The requirement is like&lt;/P&gt;&lt;P&gt;If the Year is &amp;lt;&amp;nbsp; than today then it has to executive the table called " Income Tax"&amp;nbsp; else it has to Executive the the table&lt;/P&gt;&lt;P&gt;"Funds" i only tried to show u the sample example by taking fields&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What iam trying to do is like this &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF year&amp;lt;= Today&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;Year&lt;/P&gt;&lt;P&gt;Month&lt;/P&gt;&lt;P&gt;Incometax&lt;/P&gt;&lt;P&gt;travel&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;&lt;G&gt;&lt;/G&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Else&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;Year&lt;/P&gt;&lt;P&gt;Dept&lt;/P&gt;&lt;P&gt;Fund&lt;/P&gt;&lt;P&gt;Salary&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;G&gt;&lt;/G&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope you are clear now&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Jun 2017 06:33:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script/m-p/1308551#M834054</guid>
      <dc:creator>smilingjohn</dc:creator>
      <dc:date>2017-06-05T06:33:56Z</dc:date>
    </item>
    <item>
      <title>Re: Script</title>
      <link>https://community.qlik.com/t5/QlikView/Script/m-p/1308552#M834055</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;first load both qvds in table A and B.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then u can try something like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;load *,&lt;/P&gt;&lt;P&gt;if( year&amp;lt;=year(Today()),office,dept resident A.qvd,&lt;/P&gt;&lt;P&gt;year,Dept,Sect resident B.qvd);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Khushboo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Jun 2017 06:39:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script/m-p/1308552#M834055</guid>
      <dc:creator />
      <dc:date>2017-06-05T06:39:17Z</dc:date>
    </item>
    <item>
      <title>Re: Script</title>
      <link>https://community.qlik.com/t5/QlikView/Script/m-p/1308553#M834056</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Yes,&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;but we have to evalue the "if" statement (&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;IncomeTax.Year &amp;lt; Year(today())) for each row of &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;IncomeTax table ?&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;Could be something like that ?&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;&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;IncomeTax&lt;/SPAN&gt;:&lt;/P&gt;&lt;P&gt;LOAD Year, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Mnth, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; office, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dept&lt;/P&gt;&lt;P&gt;FROM &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;IncomeTax&lt;/SPAN&gt;.xlsx (ooxml, embedded labels, table is Sheet1);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let vYear=peek('Year',0,'&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;IncomeTax&lt;/SPAN&gt;');&lt;/P&gt;&lt;P&gt;drop Table &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;IncomeTax&lt;/SPAN&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if vYear&amp;lt;year(today()) then&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;IncomeTax:&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; load *&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 13.3333px;"&gt;FROM &lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;IncomeTax&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;.xlsx (ooxml, embedded labels, table is Sheet1)&lt;/SPAN&gt;;&lt;/P&gt;&lt;P&gt;ELSE &lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Funds:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; load *&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 13.3333px;"&gt;FROM &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Funds&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;.xlsx (ooxml, embedded labels, table is Sheet1)&lt;/SPAN&gt;;&lt;/P&gt;&lt;P&gt;end if&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Jun 2017 06:39:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script/m-p/1308553#M834056</guid>
      <dc:creator>micheledenardi</dc:creator>
      <dc:date>2017-06-05T06:39:19Z</dc:date>
    </item>
    <item>
      <title>Re: Script</title>
      <link>https://community.qlik.com/t5/QlikView/Script/m-p/1308554#M834057</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you clarify what exactly is the YEAR? is it a field from any of the tables?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can you post some dummy data to explain what you want to achieve&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Jun 2017 08:30:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script/m-p/1308554#M834057</guid>
      <dc:creator>vinieme12</dc:creator>
      <dc:date>2017-06-05T08:30:17Z</dc:date>
    </item>
  </channel>
</rss>

