<?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: use a variable to create another variable in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/use-a-variable-to-create-another-variable/m-p/827655#M291399</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'll rewrite it it posted halfway through sorry&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 16 Jun 2015 06:25:50 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-06-16T06:25:50Z</dc:date>
    <item>
      <title>use a variable to create another variable</title>
      <link>https://community.qlik.com/t5/QlikView/use-a-variable-to-create-another-variable/m-p/827653#M291397</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am not an expert so I am probably not doing this extremely efficiently but here goes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to be able to present the user with listbox so they can define the current month called CurrentMonth e.g. Jun-14 and then for another variable to populate with a number relating to that month.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I created a list with month names, this populates the list box they see:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="; color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG&gt;load&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; * &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;inline&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[CurrentMonth&lt;BR /&gt;Jul-14&lt;BR /&gt;Aug-14&lt;BR /&gt;Sep-14&lt;BR /&gt;Oct-14&lt;BR /&gt;Nov-14&lt;BR /&gt;Dec-14&lt;BR /&gt;Jan-15 &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also created a table with the month numbers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;load&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; * &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;inline&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Period, PeriodNum,PeriodName&lt;BR /&gt;11501,25,Jul-14&lt;BR /&gt;11502,26,Aug-14&lt;BR /&gt;11503,27,Sep-14&lt;BR /&gt;11504,28,Oct-14 &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #808080; font-size: 10pt;"&gt;CurrentMonth and PeriodName are the same data and when the user selects the CurrentMonth of Jul-14 I want a variable called vCurrentPeriodNum to return 25&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #808080; font-size: 10pt;"&gt;I dont want them to filter the report to only show Jul-14 so I am doing this to be able to define a formula going back a number of months from what is defined as the current month&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #808080; font-size: 10pt;"&gt;Does this make sense?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #808080; font-size: 10pt;"&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #808080; font-size: 10pt;"&gt;David&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jun 2015 06:17:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/use-a-variable-to-create-another-variable/m-p/827653#M291397</guid>
      <dc:creator />
      <dc:date>2015-06-16T06:17:09Z</dc:date>
    </item>
    <item>
      <title>Re: use a variable to create another variable</title>
      <link>https://community.qlik.com/t5/QlikView/use-a-variable-to-create-another-variable/m-p/827654#M291398</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Question is not clear ! Could you please describe little more for your requirement?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jun 2015 06:24:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/use-a-variable-to-create-another-variable/m-p/827654#M291398</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2015-06-16T06:24:26Z</dc:date>
    </item>
    <item>
      <title>Re: use a variable to create another variable</title>
      <link>https://community.qlik.com/t5/QlikView/use-a-variable-to-create-another-variable/m-p/827655#M291399</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'll rewrite it it posted halfway through sorry&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jun 2015 06:25:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/use-a-variable-to-create-another-variable/m-p/827655#M291399</guid>
      <dc:creator />
      <dc:date>2015-06-16T06:25:50Z</dc:date>
    </item>
    <item>
      <title>Re: use a variable to create another variable</title>
      <link>https://community.qlik.com/t5/QlikView/use-a-variable-to-create-another-variable/m-p/827656#M291400</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am not complete sure I got what you trying to explain, but I believe you want to use dual function, &lt;A href="https://community.qlik.com/docs/DOC-8106"&gt;How to use- Dual()&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jun 2015 22:03:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/use-a-variable-to-create-another-variable/m-p/827656#M291400</guid>
      <dc:creator>ramoncova06</dc:creator>
      <dc:date>2015-06-23T22:03:56Z</dc:date>
    </item>
  </channel>
</rss>

