<?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: compare months in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/compare-months/m-p/1427426#M813343</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;The first month is showing red, even though there is no prior month.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 15 Sep 2017 16:42:51 GMT</pubDate>
    <dc:creator>surajap123</dc:creator>
    <dc:date>2017-09-15T16:42:51Z</dc:date>
    <item>
      <title>compare months</title>
      <link>https://community.qlik.com/t5/QlikView/compare-months/m-p/1427424#M813337</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to compare between months. I have pivot table and the there are 3 dimensions in chart and 2 horizontal dimension(along with month).&lt;/P&gt;&lt;P&gt;So in a new column, i want to show &lt;SPAN style="font-size: 13.3333px;"&gt;GREEN&amp;nbsp; color when current month is more than previous, otherwise show red color.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Please help.&lt;BR /&gt;&lt;/SPAN&gt;&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/compare-months/m-p/1427424#M813337</guid>
      <dc:creator>surajap123</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: compare months</title>
      <link>https://community.qlik.com/t5/QlikView/compare-months/m-p/1427425#M813340</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;check this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In expression tab click on + sign and in Background expression write like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;= IF(sum(Sales)/sum(Target) &amp;gt; Before(sum(Sales)/sum(Target)), LightGreen(), LightRed())&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OR using the expression Label name like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;= IF(sales1 &amp;gt; Before(&lt;SPAN style="font-size: 13.3333px;"&gt;sales1&lt;/SPAN&gt;), LightGreen(), LightRed())&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Sep 2017 15:59:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/compare-months/m-p/1427425#M813340</guid>
      <dc:creator>vishsaggi</dc:creator>
      <dc:date>2017-09-15T15:59:48Z</dc:date>
    </item>
    <item>
      <title>Re: compare months</title>
      <link>https://community.qlik.com/t5/QlikView/compare-months/m-p/1427426#M813343</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;The first month is showing red, even though there is no prior month.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Sep 2017 16:42:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/compare-months/m-p/1427426#M813343</guid>
      <dc:creator>surajap123</dc:creator>
      <dc:date>2017-09-15T16:42:51Z</dc:date>
    </item>
    <item>
      <title>Re: compare months</title>
      <link>https://community.qlik.com/t5/QlikView/compare-months/m-p/1427427#M813344</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What do you want to display for that? Like no color or any other color?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Sep 2017 16:49:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/compare-months/m-p/1427427#M813344</guid>
      <dc:creator>vishsaggi</dc:creator>
      <dc:date>2017-09-15T16:49:04Z</dc:date>
    </item>
    <item>
      <title>Re: compare months</title>
      <link>https://community.qlik.com/t5/QlikView/compare-months/m-p/1427428#M813345</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this in your background expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;= IF(ISNULL(Before(Sales1)), White(), &lt;/P&gt;&lt;P&gt;&amp;nbsp; IF(Sales1 &amp;gt; Before(Sales1), LightGreen(), LightRed()))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Sep 2017 16:54:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/compare-months/m-p/1427428#M813345</guid>
      <dc:creator>vishsaggi</dc:creator>
      <dc:date>2017-09-15T16:54:50Z</dc:date>
    </item>
    <item>
      <title>Re: compare months</title>
      <link>https://community.qlik.com/t5/QlikView/compare-months/m-p/1427429#M813346</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I actually want the output as shown in the screenshot. I am not sure, if it is possible using pivot table.&lt;/P&gt;&lt;P&gt;Between every month there is a comparison column that should show the color(red for low sales compared to previous month, green for increase in sales and yellow for same sales as previous month).&lt;/P&gt;&lt;P&gt;Notice that there are 2 horizontal dimensions. The green count column should show count of green color(ie. positive trend count)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;!&lt;IMG __jive_id="176804" alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/176804_Capture.PNG" style="height: 55px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Sep 2017 17:47:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/compare-months/m-p/1427429#M813346</guid>
      <dc:creator>surajap123</dc:creator>
      <dc:date>2017-09-15T17:47:33Z</dc:date>
    </item>
    <item>
      <title>Re: compare months</title>
      <link>https://community.qlik.com/t5/QlikView/compare-months/m-p/1427430#M813347</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok. Probably we need to use Dimensionality() or Pick(Dim()) Synthetic Dimensions. I will have to try for that. However, will ask &lt;A href="https://community.qlik.com/qlik-users/171708"&gt;stalwar1&lt;/A&gt; if he has any ideas and chip in some time to help us on this. I have worked until this. Check attached.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Sep 2017 19:04:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/compare-months/m-p/1427430#M813347</guid>
      <dc:creator>vishsaggi</dc:creator>
      <dc:date>2017-09-15T19:04:57Z</dc:date>
    </item>
    <item>
      <title>Re: compare months</title>
      <link>https://community.qlik.com/t5/QlikView/compare-months/m-p/1427431#M813348</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good day,&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;Add in another expression and add a space in the definition. Under background color for the new expression add the following.&lt;/P&gt;&lt;P&gt;= if(isnull(Before(sum(Sales))),Yellow(),&lt;/P&gt;&lt;P&gt;if((sum(Sales)/sum(Target))&amp;gt;Before(sum(Sales)/sum(Target)),LightGreen() ,&lt;/P&gt;&lt;P&gt;if((sum(Sales)/sum(Target))&amp;lt; Before(sum(Sales)/sum(Target)),LightRed())))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Sep 2017 22:17:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/compare-months/m-p/1427431#M813348</guid>
      <dc:creator>kamielrajaram</dc:creator>
      <dc:date>2017-09-15T22:17:18Z</dc:date>
    </item>
  </channel>
</rss>

