<?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: Qlikview bar chart in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Qlikview-bar-chart/m-p/1394350#M512774</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think I understand your question.&lt;/P&gt;&lt;P&gt;However, can you also make a screenshot of the Table viewer? I want to understand if Sales and Budget are in separate tables or as different categories in the same table etc. The screenshot would really help.&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;Cristina&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 02 Nov 2017 08:38:21 GMT</pubDate>
    <dc:creator>cristinapo</dc:creator>
    <dc:date>2017-11-02T08:38:21Z</dc:date>
    <item>
      <title>Qlikview bar chart</title>
      <link>https://community.qlik.com/t5/QlikView/Qlikview-bar-chart/m-p/1394347#M512771</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;Please tell me if its possible to display in a bar chart the pourentage i highlight in the screenshot : ( it represents the difference between the bars : example the difference between sales&amp;nbsp; and budget)&lt;/P&gt;&lt;P&gt;thank you in advance&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="181742" alt="qlikk.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/181742_qlikk.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Nov 2017 15:05:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Qlikview-bar-chart/m-p/1394347#M512771</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-11-01T15:05:19Z</dc:date>
    </item>
    <item>
      <title>Re: Qlikview bar chart</title>
      <link>https://community.qlik.com/t5/QlikView/Qlikview-bar-chart/m-p/1394348#M512772</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, can you attach the QVW file?&lt;/P&gt;&lt;P&gt;Also, more precisely, in your screenshot what is that 17.8%? I mean which value did you subtract out of which value (maybe even highlight the bar names etc.)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Nov 2017 16:08:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Qlikview-bar-chart/m-p/1394348#M512772</guid>
      <dc:creator>cristinapo</dc:creator>
      <dc:date>2017-11-01T16:08:10Z</dc:date>
    </item>
    <item>
      <title>Re: Qlikview bar chart</title>
      <link>https://community.qlik.com/t5/QlikView/Qlikview-bar-chart/m-p/1394349#M512773</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13.3333px;"&gt;Thank you for your answer , im sorry i can't attach my qlikview app the data is so confidentiel; i take the screenshot above from excel the final user gave us ( the values are random)&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Concerning the pourcentage it represents the difference between the bars (&lt;SPAN style="font-size: 13.3333px;"&gt;the values are random on the graph )&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;for example for 2012 we have : 58 , 8 , 12 , 7, and for bud 2013 we have : 59, 15,13 the pourcentage represents&amp;nbsp; respectively : (&lt;SPAN style="font-size: 13.3333px;"&gt;59-58)/59, (15-8)/15, (13-12)/13 and so on....&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;hope its clear &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;thank you in advance&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Nov 2017 16:50:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Qlikview-bar-chart/m-p/1394349#M512773</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-11-01T16:50:39Z</dc:date>
    </item>
    <item>
      <title>Re: Qlikview bar chart</title>
      <link>https://community.qlik.com/t5/QlikView/Qlikview-bar-chart/m-p/1394350#M512774</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think I understand your question.&lt;/P&gt;&lt;P&gt;However, can you also make a screenshot of the Table viewer? I want to understand if Sales and Budget are in separate tables or as different categories in the same table etc. The screenshot would really help.&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;Cristina&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Nov 2017 08:38:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Qlikview-bar-chart/m-p/1394350#M512774</guid>
      <dc:creator>cristinapo</dc:creator>
      <dc:date>2017-11-02T08:38:21Z</dc:date>
    </item>
    <item>
      <title>Re: Qlikview bar chart</title>
      <link>https://community.qlik.com/t5/QlikView/Qlikview-bar-chart/m-p/1394351#M512775</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thank you.&lt;/P&gt;&lt;P&gt;Yes the sales and budget are in the same table, here is the screeshot of the data model: the columns used are highlighted : sales( CA_NET_EN_DH), Budget (BUDGET_CA_NET_DH) and the dimensions used are year (ANNEE) and product_type (MARQUE_PRODUIT)&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="qliksales.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/181804_qliksales.png" style="height: 437px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Nov 2017 09:47:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Qlikview-bar-chart/m-p/1394351#M512775</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-11-02T09:47:50Z</dc:date>
    </item>
    <item>
      <title>Re: Qlikview bar chart</title>
      <link>https://community.qlik.com/t5/QlikView/Qlikview-bar-chart/m-p/1394352#M512776</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi again,&lt;/P&gt;&lt;P&gt;I attached a close version of what you asked, in the sense that I created a chart with the Sales, Budget and the percentage you explained earlier. However I could display the percentage as another bar in the bar chart and not as a label like in your screenshot, I hope that's ok. Also for some reason I could not stack the product types in the same bar, so I put them next to one another. Stacking them works only when I have a single expression, not 3 like I created (Sales, Budget, %)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if the example helps. I used your values.&lt;/P&gt;&lt;P&gt;Cristina&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Nov 2017 15:19:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Qlikview-bar-chart/m-p/1394352#M512776</guid>
      <dc:creator>cristinapo</dc:creator>
      <dc:date>2017-11-02T15:19:56Z</dc:date>
    </item>
    <item>
      <title>Re: Qlikview bar chart</title>
      <link>https://community.qlik.com/t5/QlikView/Qlikview-bar-chart/m-p/1394353#M512777</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thank You so much for your reply, &lt;/P&gt;&lt;P&gt;well i think its okey for the pourcentage to be as a different bar ( i will propose it to the ffinal user) , however i need to display all the product type in the same bar? IS it impossible with the expressions i have?&lt;/P&gt;&lt;P&gt;Another question please, how do you displayed the value of the % in red under the bar?? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you so much &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Nov 2017 10:11:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Qlikview-bar-chart/m-p/1394353#M512777</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-11-03T10:11:00Z</dc:date>
    </item>
    <item>
      <title>Re: Qlikview bar chart</title>
      <link>https://community.qlik.com/t5/QlikView/Qlikview-bar-chart/m-p/1394354#M512778</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I calculated the percentage directly in the script because I couldn't think of any way of doing it in the bar chart directly.&lt;/P&gt;&lt;P&gt;1) First I loaded into a table [Test] the values you showed in your screenshot, as a source table.&lt;/P&gt;&lt;P&gt;2) Then I created separate tables for Sales and Budget out of table [Test]. The catch here was that, when I created table [Sales], for field [Year] I added 1, so when you usually had 2011 and 2012, you would in the end have 2012 and 2013 respectively (this is to help me create a key in the next step, based on Year and Product Type; since you want to match Budget of current year with Sales of previous year, I had to add 1 to the Year).&lt;/P&gt;&lt;P&gt;3) Then I created a table [BigTable] which takes values from [Sales] and joins [Budget] by [Key] field which is a concatenation of the year and product type (join=full join, to have entire data of both tables).&lt;/P&gt;&lt;P&gt;4) In the end I created the final table called [Table] which has everything from [BigTable] + the Year and Category (although they're not really relevant as I didn't use these last two in the chart) &lt;STRONG&gt;+ field [%] which is the percentage. &lt;/STRONG&gt;The expression I used to calculate % is the one you explained:&lt;/P&gt;&lt;P&gt;(Budget-Sales of previous year)/Budget.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As for displaying all products in the same bar, this is tricky because you can do this if you use only one expression, like [%] (instead of Sales, Budget and [%]). Attached is such a version of the chart. I modified some properties, like showing the bars as stacked, removing the text on axis, putting only [%] expression, and putting dimensions Category and Year, instead of [Key] that I used in the first version of the qvw.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helped.&lt;/P&gt;&lt;P&gt;Cristina&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Nov 2017 13:04:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Qlikview-bar-chart/m-p/1394354#M512778</guid>
      <dc:creator>cristinapo</dc:creator>
      <dc:date>2017-11-03T13:04:53Z</dc:date>
    </item>
  </channel>
</rss>

