<?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 convert Month to number format in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-convert-Month-to-number-format/m-p/1386674#M815456</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe like this used for example in your script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Month( Date#(YOURFIELD,'MMM-YY')) as Month,&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Num(Month( Date#(YOURFIELD,'MMM-YY'))) as NumMonth,&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 11 Sep 2017 09:14:43 GMT</pubDate>
    <dc:creator>swuehl</dc:creator>
    <dc:date>2017-09-11T09:14:43Z</dc:date>
    <item>
      <title>How to convert Month to number format</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-convert-Month-to-number-format/m-p/1386673#M815455</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a Month field like below&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/176088_pastedImage_1.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;I need to create Month and NumMonth fields separately from above field Month like one field Month contains only jan,feb,mar and nummonth field contains 1,2,3...12. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me how to do.&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-convert-Month-to-number-format/m-p/1386673#M815455</guid>
      <dc:creator>bhavvibudagam</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert Month to number format</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-convert-Month-to-number-format/m-p/1386674#M815456</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe like this used for example in your script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Month( Date#(YOURFIELD,'MMM-YY')) as Month,&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Num(Month( Date#(YOURFIELD,'MMM-YY'))) as NumMonth,&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Sep 2017 09:14:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-convert-Month-to-number-format/m-p/1386674#M815456</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2017-09-11T09:14:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert Month to number format</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-convert-Month-to-number-format/m-p/1386675#M815457</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be these?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Month( Date#(Month,'MMM-YY')) as Month,&lt;/P&gt;&lt;P style="color: #666666; font-family: Helvetica, Arial, sans-serif; font-size: 14px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Num(Month( Date#(Month,'MMM-YY'))) as NumMonth,&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Sep 2017 09:16:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-convert-Month-to-number-format/m-p/1386675#M815457</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-09-11T09:16:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert Month to number format</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-convert-Month-to-number-format/m-p/1386676#M815458</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try to load different fields this way and i ask to you do you have date field in the data model &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;*,&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Month ( Month )&amp;nbsp; as MonthField,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;NUM ( Month )&amp;nbsp; as NumMonth&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;From Source;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Sep 2017 09:30:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-convert-Month-to-number-format/m-p/1386676#M815458</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2017-09-11T09:30:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert Month to number format</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-convert-Month-to-number-format/m-p/1386677#M815459</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bhavani,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Derive a data field in script like below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;*,&lt;/P&gt;&lt;P&gt;Date(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Date#(YOURFIELD,'MMM-YY')) AS Date,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Month( Date#(YOURFIELD,'MMM-YY')) as Month,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;Num(Month( Date#(YOURFIELD,'MMM-YY'))) as NumMonth&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;FROM DataSource;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;Now use below expression to restrict last 6 months&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #3d3d3d; font-style: inherit; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-weight: inherit;"&gt;=Sum({&amp;lt;Area = {B},Month=, NumMonth=, Date={'&amp;gt;=$(=MonthStart(Max(Date), -6))&amp;lt;=$(=&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Max(Date)&lt;/SPAN&gt;)'}&amp;gt;}Staff)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #3d3d3d; font-style: inherit; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-weight: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #3d3d3d; font-style: inherit; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-weight: inherit;"&gt;Hope this helps you.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #3d3d3d; font-style: inherit; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-weight: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #3d3d3d; font-style: inherit; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-weight: inherit;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;jagan.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Sep 2017 09:31:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-convert-Month-to-number-format/m-p/1386677#M815459</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2017-09-11T09:31:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert Month to number format</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-convert-Month-to-number-format/m-p/1386678#M815460</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jagan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply. Actually I don't have the Data field only have Month -Year field as like original post image.&lt;/P&gt;&lt;P&gt;I have tried like below&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Month( Date#(YOURFIELD,'MMM-YY')) as Month,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;Num(Month( Date#(YOURFIELD,'MMM-YY'))) as NumMonth&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;by this i got crt month and nummonth fields. But when i take like this&lt;/SPAN&gt;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;=Max(Month) &amp;amp; &lt;/TD&gt;&lt;TD&gt;'&amp;nbsp; DUI AND CITATIONS' &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;its showing like--------&amp;gt; 12 DUI AND CITATIONS&lt;/P&gt;&lt;P&gt;NOT LIKE ---------------&amp;gt; Dec DUI AND CITATIONS (Expecting this)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Sep 2017 09:38:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-convert-Month-to-number-format/m-p/1386678#M815460</guid>
      <dc:creator>bhavvibudagam</dc:creator>
      <dc:date>2017-09-11T09:38:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert Month to number format</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-convert-Month-to-number-format/m-p/1386679#M815461</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No Anand I don't have the date field. I have direct Month - Year field only&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Sep 2017 09:38:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-convert-Month-to-number-format/m-p/1386679#M815461</guid>
      <dc:creator>bhavvibudagam</dc:creator>
      <dc:date>2017-09-11T09:38:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert Month to number format</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-convert-Month-to-number-format/m-p/1386680#M815462</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;YOu can derive Date field from the month field.&amp;nbsp; It is easier if you use date field for this type of calculations.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you use Max(Month) you will get numeric one, you can try Text(Max(Month)) or Month(Max(Month))..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;jagna.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Sep 2017 09:41:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-convert-Month-to-number-format/m-p/1386680#M815462</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2017-09-11T09:41:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert Month to number format</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-convert-Month-to-number-format/m-p/1386681#M815463</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Then try this to convert it into Num date and then proper Month and NumMonth fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Load&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;*,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;Month (Date#( Month,'MMM-YY' ) )&amp;nbsp; as MonthField,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;NUM (Month( Date#( Month,'MMM-YY' ) ) )&amp;nbsp; as NumMonth&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;From Source;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Sep 2017 09:43:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-convert-Month-to-number-format/m-p/1386681#M815463</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2017-09-11T09:43:02Z</dc:date>
    </item>
  </channel>
</rss>

