<?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 two years data in bar chart showing minus and plus values in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Comparing-two-years-data-in-bar-chart-showing-minus-and-plus/m-p/674407#M1077138</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK, i created &lt;/P&gt;&lt;P&gt;Count({&amp;lt;[Year]={'2012'}&amp;gt;} [VIN]) - named "2012"&lt;/P&gt;&lt;P&gt;and&lt;/P&gt;&lt;P&gt;Count({&amp;lt;[Year]={'2013'}&amp;gt;} [VIN]) - named "2013"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I am not sure how to calculate the variance % ...i just wrote the expression as "=2013/2012" and then tried "=((2013/2012)*100)-100 but nothing of these gave me data to show &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To the variables - I am a real beginner an I am not sure what they (variables) are supposed to do (but I will find It somewhere here and learn&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/laugh.png" /&gt;) ...so If its not necessary to use variables, I wouldn't for now.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 30 Jul 2014 06:18:57 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-07-30T06:18:57Z</dc:date>
    <item>
      <title>Comparing two years data in bar chart showing minus and plus values</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-two-years-data-in-bar-chart-showing-minus-and-plus/m-p/674404#M1077135</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to create bar chart which will compare two years and show if 2013 was + or - in comparison with 2012.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It should look like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="63322" alt="20140729_133559.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/63322_20140729_133559.jpg" style="width: 620px; height: 452px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The expression of the right (green) chart is Count(VIN) - because we are counting VIN codes of cars in excel file, and dimension is Segment, or Category and Year.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am unable to create the right expression to compare two years, in excel it should be like ((2013/2012)*100)-100&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here are few lines from the Excel source file... (Rok is Year, Mesiac is Month)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.zapsr.sk/wp-content/uploads/2014/07/Two-year-comparison.xlsx"&gt;http://www.zapsr.sk/wp-content/uploads/2014/07/Two-year-comparison.xlsx&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for all suggestions.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Jul 2014 12:00:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-two-years-data-in-bar-chart-showing-minus-and-plus/m-p/674404#M1077135</guid>
      <dc:creator />
      <dc:date>2014-07-29T12:00:16Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing two year´s data in bar chart showing minus and plus values</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-two-years-data-in-bar-chart-showing-minus-and-plus/m-p/674405#M1077136</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;* please do not post *.qvw files - I didnt purchase Qlickview yet... so I am not able to view others apps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Jul 2014 12:04:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-two-years-data-in-bar-chart-showing-minus-and-plus/m-p/674405#M1077136</guid>
      <dc:creator />
      <dc:date>2014-07-29T12:04:55Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing two years data in bar chart showing minus and plus values</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-two-years-data-in-bar-chart-showing-minus-and-plus/m-p/674406#M1077137</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;- Create a bar chart&lt;/P&gt;&lt;P&gt;- Set the orientation to horizontal&lt;/P&gt;&lt;P&gt;- Create expressions to calculate the figures for the 2 years you would like to compare (but don't show these on the chart)&lt;/P&gt;&lt;P&gt;&amp;nbsp; (I would create variables for these to include in the expressions)&lt;/P&gt;&lt;P&gt;- Create an expression to calculate the variance % (and show this on the chart)&lt;/P&gt;&lt;P&gt;- Check show values on data points&lt;/P&gt;&lt;P&gt;- Set a conditional background colour so that positive values are green, and negative values are red.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Jul 2014 14:42:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-two-years-data-in-bar-chart-showing-minus-and-plus/m-p/674406#M1077137</guid>
      <dc:creator>c_gilbert</dc:creator>
      <dc:date>2014-07-29T14:42:47Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing two years data in bar chart showing minus and plus values</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-two-years-data-in-bar-chart-showing-minus-and-plus/m-p/674407#M1077138</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK, i created &lt;/P&gt;&lt;P&gt;Count({&amp;lt;[Year]={'2012'}&amp;gt;} [VIN]) - named "2012"&lt;/P&gt;&lt;P&gt;and&lt;/P&gt;&lt;P&gt;Count({&amp;lt;[Year]={'2013'}&amp;gt;} [VIN]) - named "2013"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I am not sure how to calculate the variance % ...i just wrote the expression as "=2013/2012" and then tried "=((2013/2012)*100)-100 but nothing of these gave me data to show &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To the variables - I am a real beginner an I am not sure what they (variables) are supposed to do (but I will find It somewhere here and learn&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/laugh.png" /&gt;) ...so If its not necessary to use variables, I wouldn't for now.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jul 2014 06:18:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-two-years-data-in-bar-chart-showing-minus-and-plus/m-p/674407#M1077138</guid>
      <dc:creator />
      <dc:date>2014-07-30T06:18:57Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing two years data in bar chart showing minus and plus values</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-two-years-data-in-bar-chart-showing-minus-and-plus/m-p/674408#M1077139</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I wouldn't worry about the variables for now then.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would first create an expression that will just show the variance:&lt;/P&gt;&lt;P&gt;= [2013] - [2012] - named "Variance"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then you can reference this expression in another expression:&lt;/P&gt;&lt;P&gt;= [Variance] / [2012]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Make sure only the Variance expression is shown as a bar chart, and for the rest, just untick any display options (but don't disable the expression)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Next, make sure the number format of this expression is set to show as %.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jul 2014 07:58:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-two-years-data-in-bar-chart-showing-minus-and-plus/m-p/674408#M1077139</guid>
      <dc:creator>c_gilbert</dc:creator>
      <dc:date>2014-07-30T07:58:04Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing two years data in bar chart showing minus and plus values</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-two-years-data-in-bar-chart-showing-minus-and-plus/m-p/674409#M1077140</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I still have no data to display. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My expressions are as follows. Dimensions are Category and Year&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="2013.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/63376_2013.png" style="width: 620px; height: 506px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Variance.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/63377_Variance.png" style="width: 620px; height: 504px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Va12.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/63379_Va12.png" style="width: 620px; height: 506px;" /&gt;&lt;/P&gt;&lt;P&gt;Number is set to Number and show in % &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jul 2014 08:25:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-two-years-data-in-bar-chart-showing-minus-and-plus/m-p/674409#M1077140</guid>
      <dc:creator />
      <dc:date>2014-07-30T08:25:16Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing two years data in bar chart showing minus and plus values</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-two-years-data-in-bar-chart-showing-minus-and-plus/m-p/674410#M1077141</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's probably because you have disabled all your expressions!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check 'enable' on [2012], [2013] and [Variance], but then in the 'Display Options' section, untick any options there (e.g. bar / symbol / line) so they don't display on the chart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also... I'm still learning myself, but I think you need an extra symbol in your set analysis, i.e.:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Count ( {$&amp;lt;[Year] = {'2013'} &amp;gt;}&amp;nbsp; [VIN] )&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jul 2014 08:29:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-two-years-data-in-bar-chart-showing-minus-and-plus/m-p/674410#M1077141</guid>
      <dc:creator>c_gilbert</dc:creator>
      <dc:date>2014-07-30T08:29:56Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing two years data in bar chart showing minus and plus values</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-two-years-data-in-bar-chart-showing-minus-and-plus/m-p/674411#M1077142</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/blush.png" /&gt; Yes, that was the problem... Thank you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actually It is working also without the extra symbol &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/silly.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="63383" alt="Yes.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/63383_Yes.png" style="width: 620px; height: 176px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jul 2014 09:08:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-two-years-data-in-bar-chart-showing-minus-and-plus/m-p/674411#M1077142</guid>
      <dc:creator />
      <dc:date>2014-07-30T09:08:09Z</dc:date>
    </item>
  </channel>
</rss>

