<?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: Comparing Tables with Colors in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Comparing-Tables-with-Colors/m-p/1941571#M1219352</link>
    <description>&lt;P&gt;Hi &lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/144616"&gt;@Learnerr&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;It would be possible to achieve this with the month and a valuelist for the years as dimensions.&lt;/P&gt;
&lt;P&gt;Dimension 1:&lt;BR /&gt;=valuelist(2021,2020)&lt;/P&gt;
&lt;P&gt;Dimension 2:&lt;BR /&gt;=Month&lt;/P&gt;
&lt;P&gt;Expression:&lt;/P&gt;
&lt;P&gt;if(valuelist(2021,2020)=2021,&lt;BR /&gt;&amp;nbsp;&amp;nbsp; sum( {$&amp;lt; Year={2021}&amp;gt;} sales),&lt;BR /&gt;if valuelist(2021,2020)=2020,&lt;BR /&gt;&amp;nbsp;&amp;nbsp; sum( {$&amp;lt; Year={2020}&amp;gt;} sales)&lt;BR /&gt;))&lt;/P&gt;
&lt;P&gt;Then right click on the expression column in the table, and click 'Custom format cell'. Click on 'Background color', then 'Calculated' and use the expression:&lt;BR /&gt;if( sum( {$&amp;lt; Year={2021}&amp;gt;} sales) &amp;gt; sum( {$&amp;lt; Year={2020}&amp;gt;} sales),green() )&lt;/P&gt;
&lt;P&gt;Hope it helps!&lt;/P&gt;</description>
    <pubDate>Thu, 09 Jun 2022 11:13:02 GMT</pubDate>
    <dc:creator>Marijn</dc:creator>
    <dc:date>2022-06-09T11:13:02Z</dc:date>
    <item>
      <title>Comparing Tables with Colors</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-Tables-with-Colors/m-p/1939404#M1219280</link>
      <description>&lt;P&gt;Hi experts,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would like to compare&amp;nbsp; &amp;nbsp;yeears' sellings for months.&lt;/P&gt;
&lt;P&gt;For example i am going to choose January and want to see in this table how was it like in 2021 and 2022.&lt;/P&gt;
&lt;P&gt;Also ı&amp;nbsp; would like to compare the values with colors.&lt;/P&gt;
&lt;P&gt;I mean if 2022 january&amp;gt; 2021 January make the related column green.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How can i do that comparision analysis?&lt;/P&gt;
&lt;P&gt;Best Regards.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Learnerr_0-1654255199104.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/80973iD928C7E967AEB73A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Learnerr_0-1654255199104.png" alt="Learnerr_0-1654255199104.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Jun 2022 11:21:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-Tables-with-Colors/m-p/1939404#M1219280</guid>
      <dc:creator>Learnerr</dc:creator>
      <dc:date>2022-06-03T11:21:09Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing Tables with Colors</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-Tables-with-Colors/m-p/1941571#M1219352</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/144616"&gt;@Learnerr&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;It would be possible to achieve this with the month and a valuelist for the years as dimensions.&lt;/P&gt;
&lt;P&gt;Dimension 1:&lt;BR /&gt;=valuelist(2021,2020)&lt;/P&gt;
&lt;P&gt;Dimension 2:&lt;BR /&gt;=Month&lt;/P&gt;
&lt;P&gt;Expression:&lt;/P&gt;
&lt;P&gt;if(valuelist(2021,2020)=2021,&lt;BR /&gt;&amp;nbsp;&amp;nbsp; sum( {$&amp;lt; Year={2021}&amp;gt;} sales),&lt;BR /&gt;if valuelist(2021,2020)=2020,&lt;BR /&gt;&amp;nbsp;&amp;nbsp; sum( {$&amp;lt; Year={2020}&amp;gt;} sales)&lt;BR /&gt;))&lt;/P&gt;
&lt;P&gt;Then right click on the expression column in the table, and click 'Custom format cell'. Click on 'Background color', then 'Calculated' and use the expression:&lt;BR /&gt;if( sum( {$&amp;lt; Year={2021}&amp;gt;} sales) &amp;gt; sum( {$&amp;lt; Year={2020}&amp;gt;} sales),green() )&lt;/P&gt;
&lt;P&gt;Hope it helps!&lt;/P&gt;</description>
      <pubDate>Thu, 09 Jun 2022 11:13:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-Tables-with-Colors/m-p/1941571#M1219352</guid>
      <dc:creator>Marijn</dc:creator>
      <dc:date>2022-06-09T11:13:02Z</dc:date>
    </item>
  </channel>
</rss>

