<?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 Two limitations on graph in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Two-limitations-on-graph/m-p/650113#M541535</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;To show are customers, who receive the worst on time performance from transport companies we work with, I'm working with the following graph:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Graph Qlikview.JPG.jpg" class="jive-image" src="/legacyfs/online/61126_Graph Qlikview.JPG.jpg" style="width: 620px; height: 306px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On the horizontal axis, I have the following calculated dimension:&lt;/P&gt;&lt;P&gt;Consignee&amp;amp;' - '&amp;amp;ConsigneeCity&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using the following expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Count( {&amp;lt; [On time + 60 min = {0} &amp;gt;} DISTINCT [PO Number] ) / Count( DISTINCT [PO Number] )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my script, I already have formulas that show if the truck is on time (On time + 60 min = 1) or late (On time + 60 min = 0), so I could implement this in my set analysis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My problem is as follows; in my dimension limits, I already put that the graph only shows the 20 largest values (so only the 20 customers with the weakest performance). However, I also want the graph to only show the customer who received at least 5 orders ( = 5 PO Numbers). The problem is, I'm combining excel files from 10 different transport companies, and one customer can be served by multiple transporters, so I don't think I can integrate this in my script. I tried to adjust my expression to the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;= if (sum( Aggr ( Count ( [PO Number] ), Consignee, ConsigneeCity)) &amp;gt;= 5, &lt;/P&gt;&lt;P&gt;Count ( { &amp;lt; [On time + 60 min] = {0} &amp;gt; } DISTINCT [PO Number] ) / Count ( DISTINCT [PO Number] ), 0 )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But this doesn't work. Can anybody help? Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(Other short question; at the moment the labels on my horizontal axis are aligned left. How do I align them right, so that they start at the bar?)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Jun 2014 06:51:58 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-06-25T06:51:58Z</dc:date>
    <item>
      <title>Two limitations on graph</title>
      <link>https://community.qlik.com/t5/QlikView/Two-limitations-on-graph/m-p/650113#M541535</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;To show are customers, who receive the worst on time performance from transport companies we work with, I'm working with the following graph:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Graph Qlikview.JPG.jpg" class="jive-image" src="/legacyfs/online/61126_Graph Qlikview.JPG.jpg" style="width: 620px; height: 306px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On the horizontal axis, I have the following calculated dimension:&lt;/P&gt;&lt;P&gt;Consignee&amp;amp;' - '&amp;amp;ConsigneeCity&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using the following expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Count( {&amp;lt; [On time + 60 min = {0} &amp;gt;} DISTINCT [PO Number] ) / Count( DISTINCT [PO Number] )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my script, I already have formulas that show if the truck is on time (On time + 60 min = 1) or late (On time + 60 min = 0), so I could implement this in my set analysis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My problem is as follows; in my dimension limits, I already put that the graph only shows the 20 largest values (so only the 20 customers with the weakest performance). However, I also want the graph to only show the customer who received at least 5 orders ( = 5 PO Numbers). The problem is, I'm combining excel files from 10 different transport companies, and one customer can be served by multiple transporters, so I don't think I can integrate this in my script. I tried to adjust my expression to the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;= if (sum( Aggr ( Count ( [PO Number] ), Consignee, ConsigneeCity)) &amp;gt;= 5, &lt;/P&gt;&lt;P&gt;Count ( { &amp;lt; [On time + 60 min] = {0} &amp;gt; } DISTINCT [PO Number] ) / Count ( DISTINCT [PO Number] ), 0 )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But this doesn't work. Can anybody help? Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(Other short question; at the moment the labels on my horizontal axis are aligned left. How do I align them right, so that they start at the bar?)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jun 2014 06:51:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Two-limitations-on-graph/m-p/650113#M541535</guid>
      <dc:creator />
      <dc:date>2014-06-25T06:51:58Z</dc:date>
    </item>
  </channel>
</rss>

