<?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 How to write the script ? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-write-the-script/m-p/1138200#M900644</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;I have declared a variable vSelect in my sample model which has the value - which the user will select 'Fiscal Year' and 'Fiscal Period'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;eg,&lt;/P&gt;&lt;P&gt;vSelect = =GetFieldSelections([Planning Year])&amp;nbsp; * 100 + GetFieldSelections([Planning Period])&lt;/P&gt;&lt;P&gt;201601&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/130977_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to use this variable in the qlikview script - &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select * as vCurrMonth FROM JNBVDW02A.[edw].[dbo].[qlk_dim_period] where [Fiscal Year] &amp;gt;=2015 and [fiscal_month_key]=&lt;STRONG style="font-size: 12pt;"&gt;vSelect&lt;/STRONG&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to do that ?&lt;/P&gt;&lt;P&gt;sample attached.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator>suvechha_b</dc:creator>
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>How to write the script ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-write-the-script/m-p/1138200#M900644</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;I have declared a variable vSelect in my sample model which has the value - which the user will select 'Fiscal Year' and 'Fiscal Period'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;eg,&lt;/P&gt;&lt;P&gt;vSelect = =GetFieldSelections([Planning Year])&amp;nbsp; * 100 + GetFieldSelections([Planning Period])&lt;/P&gt;&lt;P&gt;201601&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/130977_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to use this variable in the qlikview script - &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select * as vCurrMonth FROM JNBVDW02A.[edw].[dbo].[qlk_dim_period] where [Fiscal Year] &amp;gt;=2015 and [fiscal_month_key]=&lt;STRONG style="font-size: 12pt;"&gt;vSelect&lt;/STRONG&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to do that ?&lt;/P&gt;&lt;P&gt;sample attached.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&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/How-to-write-the-script/m-p/1138200#M900644</guid>
      <dc:creator>suvechha_b</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to write the script ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-write-the-script/m-p/1138201#M900645</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try using a trigger to assign numeric value to vSelect and then try to use it in the script&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jul 2016 10:39:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-write-the-script/m-p/1138201#M900645</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-07-12T10:39:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to write the script ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-write-the-script/m-p/1138202#M900646</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Didn't got you&lt;/P&gt;&lt;P&gt;Please show by screenshot.&lt;/P&gt;&lt;P&gt;Any also show how to write in script.&lt;/P&gt;&lt;P&gt;Many Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jul 2016 11:03:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-write-the-script/m-p/1138202#M900646</guid>
      <dc:creator>suvechha_b</dc:creator>
      <dc:date>2016-07-12T11:03:42Z</dc:date>
    </item>
  </channel>
</rss>

