<?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 Converting a variable name to Month number in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Converting-a-variable-name-to-Month-number/m-p/914854#M317318</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a variable (vMonthNum) that I access through an input box. I have a constraint on it to show listed values referencing a Month field (Jan, Feb, Mar, etc)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to convert the selection the user makes (Jan, Feb, Mar, etc) to a number that corresponds to the month. So if from the drop down the user selects Mar I need it converted to 3. Looking for the expression to do this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steve&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 25 Jul 2015 17:00:28 GMT</pubDate>
    <dc:creator>zagzebski</dc:creator>
    <dc:date>2015-07-25T17:00:28Z</dc:date>
    <item>
      <title>Converting a variable name to Month number</title>
      <link>https://community.qlik.com/t5/QlikView/Converting-a-variable-name-to-Month-number/m-p/914854#M317318</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a variable (vMonthNum) that I access through an input box. I have a constraint on it to show listed values referencing a Month field (Jan, Feb, Mar, etc)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to convert the selection the user makes (Jan, Feb, Mar, etc) to a number that corresponds to the month. So if from the drop down the user selects Mar I need it converted to 3. Looking for the expression to do this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steve&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 25 Jul 2015 17:00:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Converting-a-variable-name-to-Month-number/m-p/914854#M317318</guid>
      <dc:creator>zagzebski</dc:creator>
      <dc:date>2015-07-25T17:00:28Z</dc:date>
    </item>
    <item>
      <title>Re: Converting a variable name to Month number</title>
      <link>https://community.qlik.com/t5/QlikView/Converting-a-variable-name-to-Month-number/m-p/914855#M317319</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="text-decoration: line-through;"&gt;vVar2 = Num(Date#(vVar1, 'MMM'))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;STRONG style="font-size: 13.3333330154419px;"&gt;vVar2 = N&lt;/STRONG&gt;um(Month(Date#(vVar1, 'MMM')))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where vVar1 is linked to your inputbox&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 25 Jul 2015 17:03:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Converting-a-variable-name-to-Month-number/m-p/914855#M317319</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-07-25T17:03:12Z</dc:date>
    </item>
    <item>
      <title>Re: Converting a variable name to Month number</title>
      <link>https://community.qlik.com/t5/QlikView/Converting-a-variable-name-to-Month-number/m-p/914856#M317320</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Attaching a sample:&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 25 Jul 2015 17:07:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Converting-a-variable-name-to-Month-number/m-p/914856#M317320</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-07-25T17:07:24Z</dc:date>
    </item>
    <item>
      <title>Re: Converting a variable name to Month number</title>
      <link>https://community.qlik.com/t5/QlikView/Converting-a-variable-name-to-Month-number/m-p/914857#M317321</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank so much!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 25 Jul 2015 17:24:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Converting-a-variable-name-to-Month-number/m-p/914857#M317321</guid>
      <dc:creator>zagzebski</dc:creator>
      <dc:date>2015-07-25T17:24:11Z</dc:date>
    </item>
    <item>
      <title>Re: Converting a variable name to Month number</title>
      <link>https://community.qlik.com/t5/QlikView/Converting-a-variable-name-to-Month-number/m-p/914858#M317322</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No problem &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;I am glad I was able to help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 25 Jul 2015 17:24:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Converting-a-variable-name-to-Month-number/m-p/914858#M317322</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-07-25T17:24:55Z</dc:date>
    </item>
  </channel>
</rss>

