<?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: Labels on graphs with different data than represented by the bars in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Labels-on-graphs-with-different-data-than-represented-by-the/m-p/592505#M1122341</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Insert a conditional number format with an if statement:&lt;/P&gt;&lt;P&gt;ie.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(....,num(....,'#.##0'),num(....,'#.##0%')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 31 Jan 2014 09:09:25 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-01-31T09:09:25Z</dc:date>
    <item>
      <title>Labels on graphs with different data than represented by the bars</title>
      <link>https://community.qlik.com/t5/QlikView/Labels-on-graphs-with-different-data-than-represented-by-the/m-p/592502#M1122338</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;I made a bar stacked bar chart, with data on the on time arrival of trucks. I'm showing what percentage of trucks arrive on time, what percentage within 30 minuts of their booked time, which within 60 minutes, etc. So I made the following expressions in my chart:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) =sum[On time]) / Count[PO Number])&lt;BR /&gt;2) =sum[On time + 30]) / Count[PO Number]) - sum[On time]) / Count[PO Number])&lt;/P&gt;&lt;P&gt;3) =sum[On time + 60]) - sum[On time + 30])&lt;/P&gt;&lt;P&gt;4) etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(When the goods are on time, I gave it the value of 1, if late 0 in mij [On time], that's why I can do the sum formula)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So my bars represent percentages, but as labels I want to put the actual number PO numbers related to the parts of my stacked bars. How do I do this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Jan 2014 08:42:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Labels-on-graphs-with-different-data-than-represented-by-the/m-p/592502#M1122338</guid>
      <dc:creator />
      <dc:date>2014-01-31T08:42:34Z</dc:date>
    </item>
    <item>
      <title>Re: Labels on graphs with different data than represented by the bars</title>
      <link>https://community.qlik.com/t5/QlikView/Labels-on-graphs-with-different-data-than-represented-by-the/m-p/592503#M1122339</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use the dual function for this. Something like &lt;EM&gt;dual(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt; Count[PO Number]&lt;/SPAN&gt; , &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;sum[On time]) / Count[PO Number]) &lt;/SPAN&gt;)&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Jan 2014 08:45:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Labels-on-graphs-with-different-data-than-represented-by-the/m-p/592503#M1122339</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2014-01-31T08:45:58Z</dc:date>
    </item>
    <item>
      <title>Re: Labels on graphs with different data than represented by the bars</title>
      <link>https://community.qlik.com/t5/QlikView/Labels-on-graphs-with-different-data-than-represented-by-the/m-p/592504#M1122340</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hi Gysbert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your help. I see that if I use this formula, when I press the charts, it switches between the two datasets. So it does not exactly do what I hoped for, but it is an alternative if it is not possible to put different datalabels on the chart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, if I make this switch, my Y-axis still shows the data as a percentage (so in stead of 700 loads, it shows 700%). How do I let the chart itself change too?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Jan 2014 09:04:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Labels-on-graphs-with-different-data-than-represented-by-the/m-p/592504#M1122340</guid>
      <dc:creator />
      <dc:date>2014-01-31T09:04:50Z</dc:date>
    </item>
    <item>
      <title>Re: Labels on graphs with different data than represented by the bars</title>
      <link>https://community.qlik.com/t5/QlikView/Labels-on-graphs-with-different-data-than-represented-by-the/m-p/592505#M1122341</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Insert a conditional number format with an if statement:&lt;/P&gt;&lt;P&gt;ie.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(....,num(....,'#.##0'),num(....,'#.##0%')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Jan 2014 09:09:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Labels-on-graphs-with-different-data-than-represented-by-the/m-p/592505#M1122341</guid>
      <dc:creator />
      <dc:date>2014-01-31T09:09:25Z</dc:date>
    </item>
  </channel>
</rss>

