<?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 Convert month number to a string in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Convert-month-number-to-a-string/m-p/229069#M81036</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Maybe you can try something like this:&lt;/P&gt;&lt;P&gt;=&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;B&gt;Month&lt;/B&gt;(&lt;B&gt;MakeDate&lt;/B&gt;(2009, monthField))&lt;/P&gt;&lt;P&gt;The "2009" is just so the MakeDate can work.&lt;/P&gt;&lt;P&gt;Steve&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 02 Feb 2010 15:47:52 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-02-02T15:47:52Z</dc:date>
    <item>
      <title>Convert month number to a string</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-month-number-to-a-string/m-p/229065#M81032</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;I want to display a pivoted report by month only, without the year part.&lt;/P&gt;&lt;P&gt;Assuming I have a transactions table with customer, date, sum fields - how can I do that? I want the columns on the top to show Jan,Feb,Mar and so on and not 1,2,3.&lt;/P&gt;&lt;P&gt;I know how to solve it on the sql level by doing&lt;/P&gt;&lt;P&gt;LEFT(DATENAME(MM,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;H.DocDate),3)&lt;/P&gt;&lt;P&gt;but I am looking for some cleaner way of extracting the month name (without year, so MonthName is not good) out of the month number ( I have it anyway) or the full date&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Feb 2010 14:49:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-month-number-to-a-string/m-p/229065#M81032</guid>
      <dc:creator>m4u</dc:creator>
      <dc:date>2010-02-02T14:49:36Z</dc:date>
    </item>
    <item>
      <title>Convert month number to a string</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-month-number-to-a-string/m-p/229066#M81033</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you can do&lt;/P&gt;&lt;P&gt;Month(date) as xMonth;&lt;/P&gt;&lt;P&gt;in the load statement, and use xMonth Field&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Feb 2010 14:54:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-month-number-to-a-string/m-p/229066#M81033</guid>
      <dc:creator />
      <dc:date>2010-02-02T14:54:46Z</dc:date>
    </item>
    <item>
      <title>Convert month number to a string</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-month-number-to-a-string/m-p/229067#M81034</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am loading from SQL Server so it gives me the month number..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Feb 2010 15:30:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-month-number-to-a-string/m-p/229067#M81034</guid>
      <dc:creator>m4u</dc:creator>
      <dc:date>2010-02-02T15:30:15Z</dc:date>
    </item>
    <item>
      <title>Convert month number to a string</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-month-number-to-a-string/m-p/229068#M81035</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes&lt;/P&gt;&lt;P&gt;Month(month_no)&lt;/P&gt;&lt;P&gt;will convert it to Jan, Feb, ......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Feb 2010 15:47:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-month-number-to-a-string/m-p/229068#M81035</guid>
      <dc:creator />
      <dc:date>2010-02-02T15:47:33Z</dc:date>
    </item>
    <item>
      <title>Convert month number to a string</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-month-number-to-a-string/m-p/229069#M81036</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Maybe you can try something like this:&lt;/P&gt;&lt;P&gt;=&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;B&gt;Month&lt;/B&gt;(&lt;B&gt;MakeDate&lt;/B&gt;(2009, monthField))&lt;/P&gt;&lt;P&gt;The "2009" is just so the MakeDate can work.&lt;/P&gt;&lt;P&gt;Steve&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Feb 2010 15:47:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-month-number-to-a-string/m-p/229069#M81036</guid>
      <dc:creator />
      <dc:date>2010-02-02T15:47:52Z</dc:date>
    </item>
    <item>
      <title>Convert month number to a string</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-month-number-to-a-string/m-p/229070#M81037</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use a preceding load and the QlikView month() function with your date field, e.g.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR /&gt;Calendar:&lt;BR /&gt;LOAD TransactionDate,&lt;BR /&gt;month(TransactionDate) as Month;&lt;BR /&gt;SQL SELECT TransactionDate&lt;BR /&gt;FROM SQLCalendar;&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Feb 2010 15:49:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-month-number-to-a-string/m-p/229070#M81037</guid>
      <dc:creator>msteedle</dc:creator>
      <dc:date>2010-02-02T15:49:20Z</dc:date>
    </item>
    <item>
      <title>Convert month number to a string</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-month-number-to-a-string/m-p/229071#M81038</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="jive_text_macro jive_macro_quote" jivemacro="quote"&gt;&lt;BR /&gt;M4U wrote:&lt;BR /&gt;I am loading from SQL Server so it gives me the month number.. &amp;lt;div&amp;gt;&amp;lt;/div&amp;gt;&lt;BR /&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Somethink like&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;LOAD ... SubField(MonthNames, ';', DateField) AS MonthStr ...&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;should work, having that MonthName is an environment variable you are already loading in your main tab of your load script. Hope this helps. &lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Feb 2010 16:32:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-month-number-to-a-string/m-p/229071#M81038</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2010-02-02T16:32:06Z</dc:date>
    </item>
  </channel>
</rss>

