<?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 convert text (January) to month (1) in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/how-convert-text-January-to-month-1/m-p/284232#M1201307</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I find solution:&lt;/P&gt;&lt;P&gt;=num(month(date#(MyMonthName,'MMM')))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 26 Oct 2010 10:53:05 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-10-26T10:53:05Z</dc:date>
    <item>
      <title>how convert text (January) to month (1)</title>
      <link>https://community.qlik.com/t5/QlikView/how-convert-text-January-to-month-1/m-p/284230#M1201305</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi friends,&lt;/P&gt;&lt;P&gt;how can I convert text "January" (February, ...) to month: 1 (2, ...) ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Detail info:&lt;BR /&gt;in datasource is column "MyMonthName" (with values: January, February, March, ... ) and column "MyMonthID" (with related values: I, II, III, IV, ..., XII)&lt;BR /&gt;Now I want after select of month "January" (in QlikView object ListBox with field "MyMonthName") and select of year (eg.2010) (in object Year) create text with date "1.1.2010"&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Oct 2010 10:20:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-convert-text-January-to-month-1/m-p/284230#M1201305</guid>
      <dc:creator />
      <dc:date>2010-10-26T10:20:26Z</dc:date>
    </item>
    <item>
      <title>how convert text (January) to month (1)</title>
      <link>https://community.qlik.com/t5/QlikView/how-convert-text-January-to-month-1/m-p/284231#M1201306</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;if you dont wanna change your SET MonthNames format (which would automatically makes u able to compare the month "February" with number 2 for example) then you could use this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Month_Number:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD distinct&lt;/P&gt;&lt;P&gt;RECNO() AS Month_Number,&lt;/P&gt;&lt;P&gt;MyMonthName&lt;/P&gt;&lt;P&gt;resident MyTable while RecNo()&amp;lt;=12;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;This way you can use Month_Number when u need to compare the month as text, having it associated with MyMonthName.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Oct 2010 10:50:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-convert-text-January-to-month-1/m-p/284231#M1201306</guid>
      <dc:creator>lucas4bi</dc:creator>
      <dc:date>2010-10-26T10:50:21Z</dc:date>
    </item>
    <item>
      <title>how convert text (January) to month (1)</title>
      <link>https://community.qlik.com/t5/QlikView/how-convert-text-January-to-month-1/m-p/284232#M1201307</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I find solution:&lt;/P&gt;&lt;P&gt;=num(month(date#(MyMonthName,'MMM')))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Oct 2010 10:53:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-convert-text-January-to-month-1/m-p/284232#M1201307</guid>
      <dc:creator />
      <dc:date>2010-10-26T10:53:05Z</dc:date>
    </item>
    <item>
      <title>how convert text (January) to month (1)</title>
      <link>https://community.qlik.com/t5/QlikView/how-convert-text-January-to-month-1/m-p/284233#M1201308</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Juraj&lt;/P&gt;&lt;P&gt;The Month() function should do what you need. It returns a dual value, with a text representation of Jan, Feb, Mar... and a numeric value 1, 2, 3.If your data table also contains a Year field (like the script below), then you can select records for that month and year if you create listboxes for MyMonthName and MyYearName:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;I&gt;DATATABLE:&lt;BR /&gt;&lt;/I&gt;LOAD TranDate AS Date,&lt;BR /&gt; Month(TranDate) AS MyMonthName,&lt;BR /&gt; Year(TranDate) AS MyYearName,&lt;BR /&gt; ....&lt;BR /&gt; ;&lt;BR /&gt;SQL SELECT&lt;BR /&gt; TranDate,&lt;BR /&gt; ...&lt;BR /&gt;FROM ...&lt;BR /&gt;;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;If you &lt;I&gt;must&lt;/I&gt; get the date as a value when the Month and Year are selected in listoxes, then I suggest that you create a variable like this in your script:&lt;/P&gt;&lt;P&gt;Set vMyDate = MakeDate(myYearName, MyMonthName);&lt;/P&gt;&lt;P&gt;Now vMyDate will contain 1.1.2010 when Jan and 2010 are selected. It will contain null if no month or no year is selected.&lt;/P&gt;&lt;P&gt;Hope that helps&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Oct 2010 11:09:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-convert-text-January-to-month-1/m-p/284233#M1201308</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2010-10-26T11:09:29Z</dc:date>
    </item>
    <item>
      <title>how convert text (January) to month (1)</title>
      <link>https://community.qlik.com/t5/QlikView/how-convert-text-January-to-month-1/m-p/284234#M1201309</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A _jive_internal="true" class="jiveTT-hover-user jive-username-link" href="https://community.qlik.com/people/jurajchovan" id="jive-3261420780911964774059" style="background-color: #e0eaf3; font-size: 12px; color: #007fc0; font-weight: bold; font-family: Arial; text-align: center;"&gt;&lt;SPAN&gt;&lt;SPAN&gt;JurajChovan&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/A&gt;!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, sans-serif; line-height: 18px; text-align: -webkit-auto; background-color: #ffffff;"&gt;For the text with the name of the month, is actually converted to a month value, try this:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, sans-serif; line-height: 18px; text-align: -webkit-auto; background-color: #ffffff;"&gt;Date( Date# ( &lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #eef4f9;"&gt;MyMonthName&lt;/SPAN&gt;,'MMM'),'MMM')&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, sans-serif; line-height: 18px; text-align: -webkit-auto; background-color: #ffffff;"&gt;God bless you!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, sans-serif; line-height: 18px; text-align: -webkit-auto; background-color: #ffffff;"&gt;Stive&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, sans-serif; line-height: 18px; text-align: -webkit-auto; background-color: #ffffff;"&gt;Brazil&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Mar 2012 16:57:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-convert-text-January-to-month-1/m-p/284234#M1201309</guid>
      <dc:creator />
      <dc:date>2012-03-21T16:57:36Z</dc:date>
    </item>
    <item>
      <title>Re: how convert text (January) to month (1)</title>
      <link>https://community.qlik.com/t5/QlikView/how-convert-text-January-to-month-1/m-p/1657411#M1201310</link>
      <description />
      <pubDate>Fri, 13 Dec 2019 06:23:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-convert-text-January-to-month-1/m-p/1657411#M1201310</guid>
      <dc:creator>manjunatha_av</dc:creator>
      <dc:date>2019-12-13T06:23:59Z</dc:date>
    </item>
  </channel>
</rss>

