<?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 Pivot table Grouping by Month not working in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Pivot-table-Grouping-by-Month-not-working/m-p/495870#M1143294</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 521px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl65" height="17" width="98"&gt;DEPT&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;" width="98"&gt;YEAR&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;" width="98"&gt;MONTH&lt;/TD&gt;&lt;TD class="xl66" style="border-left: none;" width="109"&gt;SUM(INV_AMOUNT)&lt;/TD&gt;&lt;TD class="xl66" style="border-left: none;" width="118"&gt;sum(Fre_Amount)&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;CDD&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;2012&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;Jan&lt;/TD&gt;&lt;TD align="right" class="xl69" style="border-top: none; border-left: none;"&gt;3252433.17&lt;/TD&gt;&lt;TD align="right" class="xl69" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;CDD&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;2012&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;Feb&lt;/TD&gt;&lt;TD align="right" class="xl69" style="border-top: none; border-left: none;"&gt;1478532.78&lt;/TD&gt;&lt;TD align="right" class="xl69" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;CDD&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;2012&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;Mar&lt;/TD&gt;&lt;TD align="right" class="xl69" style="border-top: none; border-left: none;"&gt;1657229.35&lt;/TD&gt;&lt;TD align="right" class="xl69" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;CDD&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;2012&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;Jan&lt;/TD&gt;&lt;TD align="right" class="xl69" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl69" style="border-top: none; border-left: none;"&gt;2950000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;CDD&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;2012&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;Feb&lt;/TD&gt;&lt;TD align="right" class="xl69" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl69" style="border-top: none; border-left: none;"&gt;1270000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;CDD&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;2012&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;Mar&lt;/TD&gt;&lt;TD align="right" class="xl69" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl69" style="border-top: none; border-left: none;"&gt;3750000&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In Qlikview the first 3 rows in the above example - JAN,FEB,MAR are right alligned, the last 3 rows Left alligned.&lt;/P&gt;&lt;P&gt;First 3 records from database and last 3 records loaded from excel.&amp;nbsp; while loading any truncate function available to make both values similar ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 07 Sep 2013 20:27:38 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-09-07T20:27:38Z</dc:date>
    <item>
      <title>Pivot table Grouping by Month not working</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-table-Grouping-by-Month-not-working/m-p/495870#M1143294</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 521px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl65" height="17" width="98"&gt;DEPT&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;" width="98"&gt;YEAR&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;" width="98"&gt;MONTH&lt;/TD&gt;&lt;TD class="xl66" style="border-left: none;" width="109"&gt;SUM(INV_AMOUNT)&lt;/TD&gt;&lt;TD class="xl66" style="border-left: none;" width="118"&gt;sum(Fre_Amount)&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;CDD&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;2012&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;Jan&lt;/TD&gt;&lt;TD align="right" class="xl69" style="border-top: none; border-left: none;"&gt;3252433.17&lt;/TD&gt;&lt;TD align="right" class="xl69" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;CDD&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;2012&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;Feb&lt;/TD&gt;&lt;TD align="right" class="xl69" style="border-top: none; border-left: none;"&gt;1478532.78&lt;/TD&gt;&lt;TD align="right" class="xl69" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;CDD&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;2012&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;Mar&lt;/TD&gt;&lt;TD align="right" class="xl69" style="border-top: none; border-left: none;"&gt;1657229.35&lt;/TD&gt;&lt;TD align="right" class="xl69" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;CDD&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;2012&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;Jan&lt;/TD&gt;&lt;TD align="right" class="xl69" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl69" style="border-top: none; border-left: none;"&gt;2950000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;CDD&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;2012&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;Feb&lt;/TD&gt;&lt;TD align="right" class="xl69" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl69" style="border-top: none; border-left: none;"&gt;1270000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;CDD&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;2012&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;Mar&lt;/TD&gt;&lt;TD align="right" class="xl69" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl69" style="border-top: none; border-left: none;"&gt;3750000&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In Qlikview the first 3 rows in the above example - JAN,FEB,MAR are right alligned, the last 3 rows Left alligned.&lt;/P&gt;&lt;P&gt;First 3 records from database and last 3 records loaded from excel.&amp;nbsp; while loading any truncate function available to make both values similar ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 07 Sep 2013 20:27:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-table-Grouping-by-Month-not-working/m-p/495870#M1143294</guid>
      <dc:creator />
      <dc:date>2013-09-07T20:27:38Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot table Grouping by Month not working</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-table-Grouping-by-Month-not-working/m-p/495871#M1143296</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jayadevan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Generally, in QlikView the content that is right aligned is interpreted as number,&lt;/P&gt;&lt;P&gt;whereas left aligned content is interpreted as text.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So the Months loaded from your database are interpreted as number, whereas the months being loaded from Excel are interpreted as text 'Oct', 'Nov'.. etc.&lt;/P&gt;&lt;P&gt;In the script, where you load the month column from Excel, try loading your month column using the following syntax:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;Month(Date#(MONTH, 'MMM')) as MONTH&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This basically does the string-to-numeric conversion. Check if this works, else&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;please attach your excel with sample data, this would help resolve the issue ..&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, please find attached a Technical brief on 'QlikView Date Fields' for your reference.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH,&lt;/P&gt;&lt;P&gt;KD&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 07 Sep 2013 21:22:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-table-Grouping-by-Month-not-working/m-p/495871#M1143296</guid>
      <dc:creator>kedar_dandekar</dc:creator>
      <dc:date>2013-09-07T21:22:58Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot table Grouping by Month not working</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-table-Grouping-by-Month-not-working/m-p/495872#M1143297</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: blue; font-family: 'Helvetica','sans-serif'; font-size: 10.5pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;I tried &lt;/SPAN&gt;&lt;SPAN style="color: blue; font-family: 'Helvetica','sans-serif'; font-size: 10.5pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;Date#(Month,'MMM') as Month. Still it comes right aligned.&amp;nbsp; I have given the command as follows :-&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Date#(Month((&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;INV_DATE&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;),'MMM')&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;MONTH&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #008000; font-size: 8pt;"&gt;//Jan, Feb &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008000; font-size: 8pt;"&gt;Thanks.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 08 Sep 2013 07:08:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-table-Grouping-by-Month-not-working/m-p/495872#M1143297</guid>
      <dc:creator />
      <dc:date>2013-09-08T07:08:36Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot table Grouping by Month not working</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-table-Grouping-by-Month-not-working/m-p/495873#M1143298</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You've got it the wrong way round - KD suggested&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Month(Date#(MONTH, 'MMM')) as MONTH&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 08 Sep 2013 16:27:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-table-Grouping-by-Month-not-working/m-p/495873#M1143298</guid>
      <dc:creator>Jason_Michaelides</dc:creator>
      <dc:date>2013-09-08T16:27:17Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot table Grouping by Month not working</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-table-Grouping-by-Month-not-working/m-p/495874#M1143300</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Sep 2013 05:46:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-table-Grouping-by-Month-not-working/m-p/495874#M1143300</guid>
      <dc:creator />
      <dc:date>2013-09-09T05:46:55Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot table Grouping by Month not working</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-table-Grouping-by-Month-not-working/m-p/495875#M1143301</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Simply use Make date function from Back end this will resolve &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Sep 2013 06:19:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-table-Grouping-by-Month-not-working/m-p/495875#M1143301</guid>
      <dc:creator>qlikpahadi07</dc:creator>
      <dc:date>2013-09-09T06:19:19Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot table Grouping by Month not working</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-table-Grouping-by-Month-not-working/m-p/495876#M1143303</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jayadevan,&amp;nbsp; Also, ensure that you apply this script logic to the month column of your EXCEL load script and not your DB load script. This script logic assumes your month data in Excel is in text MMM format e.g. 'Jan','Feb'...&amp;nbsp; Post load, the resulting format of your Excel Month field should then match with the DB Month format loaded.&amp;nbsp; - KD&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Sep 2013 06:44:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-table-Grouping-by-Month-not-working/m-p/495876#M1143303</guid>
      <dc:creator>kedar_dandekar</dc:creator>
      <dc:date>2013-09-09T06:44:08Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot table Grouping by Month not working</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-table-Grouping-by-Month-not-working/m-p/495877#M1143304</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Sep 2013 09:05:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-table-Grouping-by-Month-not-working/m-p/495877#M1143304</guid>
      <dc:creator />
      <dc:date>2013-09-09T09:05:31Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot table Grouping by Month not working</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-table-Grouping-by-Month-not-working/m-p/495878#M1143305</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please make sure you mark the correct answer to close the thread.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Sep 2013 19:11:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-table-Grouping-by-Month-not-working/m-p/495878#M1143305</guid>
      <dc:creator>Jason_Michaelides</dc:creator>
      <dc:date>2013-09-09T19:11:37Z</dc:date>
    </item>
  </channel>
</rss>

