<?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: Trend displayed on bar chart in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Trend-displayed-on-bar-chart/m-p/613622#M226405</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks whiteline. That would be useful, but the size of the numbers used to plot the chart - in the millions - makes these impractical to display on the size of the graph I am using. A % increase/decrease figure would be OK, but the actual figures plus % increase/decrease would make the graph quite unreadable.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 07 Mar 2014 11:42:06 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-03-07T11:42:06Z</dc:date>
    <item>
      <title>Trend displayed on bar chart</title>
      <link>https://community.qlik.com/t5/QlikView/Trend-displayed-on-bar-chart/m-p/613619#M226402</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 have a bar chart with 5 expressions detailing our total fee income over the last 5 years. The expression for the current year is:&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;BILLED_TIME.PERIOD&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;$(YTD)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;}, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;TIME.PERIOD_FIN_YEAR&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = , &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;INT_DATE&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; =&amp;gt; } &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;BILLED_TIME.BILLED_AMT&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;The 'YTD' variable uses the following expression, &lt;SPAN style="color: #333333; font-size: 10pt;"&gt;where the currentPeriod is equal to '201412'.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "&amp;gt;=$(=Num(Left($(currentPeriod), 4) &amp;amp; '01'))&amp;lt;=$(=Num($(currentPeriod) - 1))" &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;SPAN style="font-size: 10pt;"&gt; The other 4 expressions / bars in the chart are identical but for the previous 4 years.&lt;/SPAN&gt; What I'd like to do, if it's possible, is to display the % increase or decrease from the previous year, somewhere on the chart. So for example if the total fee income for this year is down 5% on the previous year, I'd like to display this '-5%' figure somewhere on or above the bar for the current year. Is this possible?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt; Alternatively, if there is an alternative or more elegant way to do the same thing, I'd appreciate any suggestions.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt; Thanks, Gavin&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Mar 2014 09:59:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trend-displayed-on-bar-chart/m-p/613619#M226402</guid>
      <dc:creator />
      <dc:date>2014-03-07T09:59:09Z</dc:date>
    </item>
    <item>
      <title>Re: Trend displayed on bar chart</title>
      <link>https://community.qlik.com/t5/QlikView/Trend-displayed-on-bar-chart/m-p/613620#M226403</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;You can use 'Values on data points' to display the values.&lt;/P&gt;&lt;P&gt;Then you can use dual() function to replace the text with the expression you want but keep the numeric value that is used to plot the bar chart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;dual([the expression for % increase], [the expression for the bar])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Notice that you have to use Num() function to get the text in a proper format.&lt;/P&gt;&lt;P&gt;Also you have to set the 'Expression default' number format for the expression.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Mar 2014 11:11:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trend-displayed-on-bar-chart/m-p/613620#M226403</guid>
      <dc:creator>whiteline</dc:creator>
      <dc:date>2014-03-07T11:11:36Z</dc:date>
    </item>
    <item>
      <title>Re: Trend displayed on bar chart</title>
      <link>https://community.qlik.com/t5/QlikView/Trend-displayed-on-bar-chart/m-p/613621#M226404</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you want something like below...&lt;/P&gt;&lt;P&gt;Please try&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="trend.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/54495_trend.png" style="width: 620px; height: 496px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Mar 2014 11:13:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trend-displayed-on-bar-chart/m-p/613621#M226404</guid>
      <dc:creator />
      <dc:date>2014-03-07T11:13:31Z</dc:date>
    </item>
    <item>
      <title>Re: Trend displayed on bar chart</title>
      <link>https://community.qlik.com/t5/QlikView/Trend-displayed-on-bar-chart/m-p/613622#M226405</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks whiteline. That would be useful, but the size of the numbers used to plot the chart - in the millions - makes these impractical to display on the size of the graph I am using. A % increase/decrease figure would be OK, but the actual figures plus % increase/decrease would make the graph quite unreadable.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Mar 2014 11:42:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trend-displayed-on-bar-chart/m-p/613622#M226405</guid>
      <dc:creator />
      <dc:date>2014-03-07T11:42:06Z</dc:date>
    </item>
    <item>
      <title>Re: Trend displayed on bar chart</title>
      <link>https://community.qlik.com/t5/QlikView/Trend-displayed-on-bar-chart/m-p/613623#M226406</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Vinay. That was a useful suggestion but unfortunately the required white space between the visible and invisible bars mean unacceptable changes to the overall formatting of the chart. I have decided instead to create another small pivot table below the existing chart, showing the % increase / decrease.&lt;/P&gt;&lt;P&gt;Gavin &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Mar 2014 12:07:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trend-displayed-on-bar-chart/m-p/613623#M226406</guid>
      <dc:creator />
      <dc:date>2014-03-07T12:07:44Z</dc:date>
    </item>
    <item>
      <title>Re: Trend displayed on bar chart</title>
      <link>https://community.qlik.com/t5/QlikView/Trend-displayed-on-bar-chart/m-p/613624#M226407</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hmm.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can calculate a bit more complex values, to show previous year values and the difference (so you should decide how to show negatives). And then use labels as I've described for that delta. Then the % values will have also a visual representation. It should make the chart readable.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Mar 2014 12:14:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trend-displayed-on-bar-chart/m-p/613624#M226407</guid>
      <dc:creator>whiteline</dc:creator>
      <dc:date>2014-03-07T12:14:54Z</dc:date>
    </item>
    <item>
      <title>Re: Trend displayed on bar chart</title>
      <link>https://community.qlik.com/t5/QlikView/Trend-displayed-on-bar-chart/m-p/613625#M226408</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks again - I've decided instead to insert a basic straight chart right below the main chart showing the % differences. Not quite as slick, but it looks fine and seems very readable.&lt;/P&gt;&lt;P&gt;Gavin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Mar 2014 12:53:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trend-displayed-on-bar-chart/m-p/613625#M226408</guid>
      <dc:creator />
      <dc:date>2014-03-07T12:53:38Z</dc:date>
    </item>
  </channel>
</rss>

