<?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: Month Sorting and Background Color in Pivot Table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Month-Sorting-and-Background-Color-in-Pivot-Table/m-p/482095#M180152</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;for background Try This expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if( Before(sum(Sales))&amp;lt;=sum(Sales),Green(),Red()),&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or you can Use RGB Value instead of green() and red().&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Like RGB(200,100,0), RGB = RED&amp;gt;&amp;gt; GREEN&amp;gt;&amp;gt; BLUE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for sorting, Check Text A&amp;gt;Z and uncheck load order..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 05 Nov 2013 14:10:59 GMT</pubDate>
    <dc:creator>israrkhan</dc:creator>
    <dc:date>2013-11-05T14:10:59Z</dc:date>
    <item>
      <title>Month Sorting and Background Color in Pivot Table</title>
      <link>https://community.qlik.com/t5/QlikView/Month-Sorting-and-Background-Color-in-Pivot-Table/m-p/482092#M180149</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt;"&gt;Addition to my previous question….&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;OL style="list-style-type: decimal;"&gt;&lt;LI&gt;&lt;SPAN style="font-size: 12.0pt;"&gt;1) &lt;/SPAN&gt;&lt;SPAN style="font-size: 12.0pt;"&gt;How can I sort Months as Jan,Feb,Mar,Apr etc…&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 12.0pt;"&gt;2) How to get Months number from Months name......&lt;BR /&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 12.0pt;"&gt;3) &lt;/SPAN&gt;&lt;SPAN style="font-size: 12.0pt;"&gt;Need Green Background of cell if sales is higher compare to previous month….and red or orange if lower….&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; line-height: 1.5em;"&gt;i.e. (this might be wrong as Months are not sorted but below example is for reference only.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="521"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD nowrap="nowrap" style="border: solid gainsboro 1.0pt; background: whitesmoke; padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="79"&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 10.0pt;"&gt;&lt;STRONG&gt;Branch Code&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border: solid gainsboro 1.0pt; border-left: none; background: whitesmoke; padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="43"&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 10.0pt;"&gt;&lt;STRONG&gt;TOP 3&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border: solid gainsboro 1.0pt; border-left: none; background: whitesmoke; padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="45"&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 10.0pt;"&gt;&lt;STRONG&gt;Month&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: solid gainsboro 1.0pt; border-left: none; border-bottom: none; border-right: solid gainsboro 1.0pt; background: whitesmoke; padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="51"&gt;&lt;P&gt;&lt;SPAN style="color: black; font-size: 10.0pt;"&gt;&lt;STRONG&gt;Total&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border: solid gainsboro 1.0pt; border-left: none; background: white; padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="51"&gt;&lt;P align="center" style="text-align: center;"&gt;&lt;SPAN style="font-size: 10.0pt; color: #333333;"&gt;#######&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border: solid gainsboro 1.0pt; border-left: none; background: white; padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="51"&gt;&lt;P align="center" style="text-align: center;"&gt;&lt;SPAN style="font-size: 10.0pt; color: #333333;"&gt;#######&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border: solid gainsboro 1.0pt; border-left: none; background: white; padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="51"&gt;&lt;P align="center" style="text-align: center;"&gt;&lt;SPAN style="font-size: 10.0pt; color: #333333;"&gt;#######&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border: solid gainsboro 1.0pt; border-left: none; background: white; padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="51"&gt;&lt;P align="center" style="text-align: center;"&gt;&lt;SPAN style="font-size: 10.0pt; color: #333333;"&gt;#######&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border: solid gainsboro 1.0pt; border-left: none; background: white; padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="51"&gt;&lt;P align="center" style="text-align: center;"&gt;&lt;SPAN style="font-size: 10.0pt; color: #333333;"&gt;#######&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border: solid gainsboro 1.0pt; border-left: none; background: white; padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="51"&gt;&lt;P align="center" style="text-align: center;"&gt;&lt;SPAN style="font-size: 10.0pt; color: #333333;"&gt;#######&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD nowrap="nowrap" style="border: solid gainsboro 1.0pt; border-top: none; background: white; padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="79"&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: #333333;"&gt;Branch 01&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border: none; border-bottom: solid gainsboro 1.0pt; background: white; padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="43"&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: #333333;"&gt;pshan&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid gainsboro 1.0pt; border-right: solid gainsboro 1.0pt; background: white; padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="45"&gt;&lt;P&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border: solid gainsboro 1.0pt; border-left: none; background: whitesmoke; padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="51"&gt;&lt;P align="right" style="text-align: right;"&gt;&lt;SPAN style="color: black; font-size: 10.0pt;"&gt;&lt;STRONG&gt;105,706&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid gainsboro 1.0pt; border-right: solid gainsboro 1.0pt; background: white; padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="51"&gt;&lt;P align="right" style="text-align: right;"&gt;&lt;SPAN style="font-size: 10.0pt; color: #333333;"&gt;15,139&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid gainsboro 1.0pt; border-right: solid gainsboro 1.0pt; background: #92D050; padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="51"&gt;&lt;P align="right" style="text-align: right;"&gt;&lt;SPAN style="font-size: 10.0pt; color: #333333;"&gt;15,876&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid gainsboro 1.0pt; border-right: solid gainsboro 1.0pt; background: #92D050; padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="51"&gt;&lt;P align="right" style="text-align: right;"&gt;&lt;SPAN style="font-size: 10.0pt; color: #333333;"&gt;27,376&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid gainsboro 1.0pt; border-right: solid gainsboro 1.0pt; background: #E26B0A; padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="51"&gt;&lt;P align="right" style="text-align: right;"&gt;&lt;SPAN style="font-size: 10.0pt; color: #333333;"&gt;18,801&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid gainsboro 1.0pt; border-right: solid gainsboro 1.0pt; background: #E26B0A; padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="51"&gt;&lt;P align="right" style="text-align: right;"&gt;&lt;SPAN style="font-size: 10.0pt; color: #333333;"&gt;17,567&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid gainsboro 1.0pt; border-right: solid gainsboro 1.0pt; background: #E26B0A; padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="51"&gt;&lt;P align="right" style="text-align: right;"&gt;&lt;SPAN style="font-size: 10.0pt; color: #333333;"&gt;10,948&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Nov 2013 13:45:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Month-Sorting-and-Background-Color-in-Pivot-Table/m-p/482092#M180149</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2013-11-05T13:45:48Z</dc:date>
    </item>
    <item>
      <title>Re: Month Sorting and Background Color in Pivot Table</title>
      <link>https://community.qlik.com/t5/QlikView/Month-Sorting-and-Background-Color-in-Pivot-Table/m-p/482093#M180150</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;To convert a MonthName (text field) into a month dual value:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Month(Date#(MonthName &amp;amp; ' 2013', 'MMM YYYY'))&amp;nbsp; --- if MonthName = 'Jan', 'Feb', ....&lt;/P&gt;&lt;P&gt;Month(Date#(MonthName &amp;amp; ' 2013', 'MMMM YYYY'))&amp;nbsp; --- if MonthName = 'January', 'February', ....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now sort the months by numeric value as they are duals (which has a number underlying value).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the comparison, use Before() or Before(TOTAL) function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Nov 2013 14:00:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Month-Sorting-and-Background-Color-in-Pivot-Table/m-p/482093#M180150</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2013-11-05T14:00:17Z</dc:date>
    </item>
    <item>
      <title>Re: Month Sorting and Background Color in Pivot Table</title>
      <link>https://community.qlik.com/t5/QlikView/Month-Sorting-and-Background-Color-in-Pivot-Table/m-p/482094#M180151</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly find the attachment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i hope it will help you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Nov 2013 14:05:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Month-Sorting-and-Background-Color-in-Pivot-Table/m-p/482094#M180151</guid>
      <dc:creator>mdmukramali</dc:creator>
      <dc:date>2013-11-05T14:05:48Z</dc:date>
    </item>
    <item>
      <title>Re: Month Sorting and Background Color in Pivot Table</title>
      <link>https://community.qlik.com/t5/QlikView/Month-Sorting-and-Background-Color-in-Pivot-Table/m-p/482095#M180152</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;for background Try This expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if( Before(sum(Sales))&amp;lt;=sum(Sales),Green(),Red()),&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or you can Use RGB Value instead of green() and red().&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Like RGB(200,100,0), RGB = RED&amp;gt;&amp;gt; GREEN&amp;gt;&amp;gt; BLUE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for sorting, Check Text A&amp;gt;Z and uncheck load order..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Nov 2013 14:10:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Month-Sorting-and-Background-Color-in-Pivot-Table/m-p/482095#M180152</guid>
      <dc:creator>israrkhan</dc:creator>
      <dc:date>2013-11-05T14:10:59Z</dc:date>
    </item>
  </channel>
</rss>

