<?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 variable in script? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-create-a-variable-in-script/m-p/1340913#M413089</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE __default_attr="sql" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_15017101170615278 jive_text_macro" jivemacro_uid="_15017101170615278" modifiedtitle="true"&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;LET vToday=&amp;nbsp; today(1);&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;ControlTable:&lt;BR /&gt;Load * Inline [&lt;BR /&gt;Month;Start;End;"Fiscal Year"&lt;BR /&gt;1;12.12.2016;15.01.2017;2017&lt;BR /&gt;2;16.01.2017;12.02.2017;2017&lt;BR /&gt;3;13.02.2017;12.03.2017;2017&lt;BR /&gt;4;13.03.2017;16.04.2017;2017&lt;BR /&gt;5;17.04.2017;14.05.2017;2017&lt;BR /&gt;6;15.05.2017;11.06.2017;2017&lt;BR /&gt;7;12.06.2017;16.07.2017;2017&lt;BR /&gt;8;17.07.2017;13.08.2017;2017&lt;BR /&gt;9;14.08.2017;10.09.2017;2017&lt;BR /&gt;10;11.09.2017;15.10.2017;2017&lt;BR /&gt;11;16.10.2017;12.11.2017;2017&lt;BR /&gt;12;13.11.2017;10.12.2017;2017&lt;BR /&gt;1;11.12.2017;14.01.2018;2018&lt;BR /&gt;2;15.01.2018;11.02.2018;2018&lt;BR /&gt;3;12.02.2018;11.03.2018;2018&lt;BR /&gt;4;12.03.2018;15.04.2018;2018&lt;BR /&gt;5;16.04.2018;13.05.2018;2018&lt;BR /&gt;6;14.05.2018;10.06.2018;2018&lt;BR /&gt;7;11.06.2018;15.07.2018;2018&lt;BR /&gt;8;16.07.2018;12.08.2018;2018&lt;BR /&gt;9;13.08.2018;09.09.2018;2018&lt;BR /&gt;10;10.09.2018;14.10.2018;2018&lt;BR /&gt;11;15.10.2018;11.11.2018;2018&lt;BR /&gt;12;12.11.2018;09.12.2018;2018&lt;BR /&gt;](delimiter is ';');&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;TempTable:&amp;nbsp; &lt;BR /&gt;LOAD "Fiscal Year"&lt;BR /&gt;Resident ControlTable&lt;BR /&gt;WHERE '$(vToday)' &amp;gt;= Date#(Start,'DD.MM.YYYY') AND '$(vToday)' &amp;lt;= Date#(End,'DD.MM.YYYY');&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;LET vFiscalYear = Peek('Fiscal Year',0,TempTable);&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;DROP TABLE TempTable, ControlTable; &lt;/P&gt;
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 02 Aug 2017 21:43:03 GMT</pubDate>
    <dc:creator>tomasz_tru</dc:creator>
    <dc:date>2017-08-02T21:43:03Z</dc:date>
    <item>
      <title>How to create a variable in script?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-create-a-variable-in-script/m-p/1340912#M413088</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;It is probably an easy one for these who know. I can't figure out how to create a variable in script for current fiscal month. This variable will be used in other script (not included in this example) to determine which value to be pulled. It would be great if variable value stays and Date table goes away. Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Aug 2017 20:40:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-create-a-variable-in-script/m-p/1340912#M413088</guid>
      <dc:creator>posywang</dc:creator>
      <dc:date>2017-08-02T20:40:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a variable in script?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-create-a-variable-in-script/m-p/1340913#M413089</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE __default_attr="sql" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_15017101170615278 jive_text_macro" jivemacro_uid="_15017101170615278" modifiedtitle="true"&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;LET vToday=&amp;nbsp; today(1);&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;ControlTable:&lt;BR /&gt;Load * Inline [&lt;BR /&gt;Month;Start;End;"Fiscal Year"&lt;BR /&gt;1;12.12.2016;15.01.2017;2017&lt;BR /&gt;2;16.01.2017;12.02.2017;2017&lt;BR /&gt;3;13.02.2017;12.03.2017;2017&lt;BR /&gt;4;13.03.2017;16.04.2017;2017&lt;BR /&gt;5;17.04.2017;14.05.2017;2017&lt;BR /&gt;6;15.05.2017;11.06.2017;2017&lt;BR /&gt;7;12.06.2017;16.07.2017;2017&lt;BR /&gt;8;17.07.2017;13.08.2017;2017&lt;BR /&gt;9;14.08.2017;10.09.2017;2017&lt;BR /&gt;10;11.09.2017;15.10.2017;2017&lt;BR /&gt;11;16.10.2017;12.11.2017;2017&lt;BR /&gt;12;13.11.2017;10.12.2017;2017&lt;BR /&gt;1;11.12.2017;14.01.2018;2018&lt;BR /&gt;2;15.01.2018;11.02.2018;2018&lt;BR /&gt;3;12.02.2018;11.03.2018;2018&lt;BR /&gt;4;12.03.2018;15.04.2018;2018&lt;BR /&gt;5;16.04.2018;13.05.2018;2018&lt;BR /&gt;6;14.05.2018;10.06.2018;2018&lt;BR /&gt;7;11.06.2018;15.07.2018;2018&lt;BR /&gt;8;16.07.2018;12.08.2018;2018&lt;BR /&gt;9;13.08.2018;09.09.2018;2018&lt;BR /&gt;10;10.09.2018;14.10.2018;2018&lt;BR /&gt;11;15.10.2018;11.11.2018;2018&lt;BR /&gt;12;12.11.2018;09.12.2018;2018&lt;BR /&gt;](delimiter is ';');&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;TempTable:&amp;nbsp; &lt;BR /&gt;LOAD "Fiscal Year"&lt;BR /&gt;Resident ControlTable&lt;BR /&gt;WHERE '$(vToday)' &amp;gt;= Date#(Start,'DD.MM.YYYY') AND '$(vToday)' &amp;lt;= Date#(End,'DD.MM.YYYY');&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;LET vFiscalYear = Peek('Fiscal Year',0,TempTable);&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;DROP TABLE TempTable, ControlTable; &lt;/P&gt;
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Aug 2017 21:43:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-create-a-variable-in-script/m-p/1340913#M413089</guid>
      <dc:creator>tomasz_tru</dc:creator>
      <dc:date>2017-08-02T21:43:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a variable in script?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-create-a-variable-in-script/m-p/1340914#M413090</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I can't edit post: change Fiscal Year to Month in lines 33 and 37.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Aug 2017 21:46:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-create-a-variable-in-script/m-p/1340914#M413090</guid>
      <dc:creator>tomasz_tru</dc:creator>
      <dc:date>2017-08-02T21:46:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a variable in script?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-create-a-variable-in-script/m-p/1340915#M413091</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, peek function works like a charm!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Aug 2017 12:48:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-create-a-variable-in-script/m-p/1340915#M413091</guid>
      <dc:creator>posywang</dc:creator>
      <dc:date>2017-08-03T12:48:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a variable in script?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-create-a-variable-in-script/m-p/1973922#M1220680</link>
      <description>&lt;P&gt;how to create a variable to entire table&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 28 Aug 2022 09:04:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-create-a-variable-in-script/m-p/1973922#M1220680</guid>
      <dc:creator>kesavagopalam123</dc:creator>
      <dc:date>2022-08-28T09:04:10Z</dc:date>
    </item>
  </channel>
</rss>

