<?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: OTD % in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/OTD/m-p/1406404#M816934</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For %OTD you could use something like below?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum(OTD) / Count(OTD)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 31 Aug 2017 13:26:39 GMT</pubDate>
    <dc:creator>Anil_Babu_Samineni</dc:creator>
    <dc:date>2017-08-31T13:26:39Z</dc:date>
    <item>
      <title>OTD %</title>
      <link>https://community.qlik.com/t5/QlikView/OTD/m-p/1406402#M816932</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Can someone help me to create a formula to represent %OTD?&lt;/P&gt;&lt;P&gt;I have:&lt;/P&gt;&lt;P&gt;OTD =PO SHIPMENT REQUEST DATE- PO SHIP DATE&lt;/P&gt;&lt;P&gt;+-3 days is LATE DELIVERY&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am looking for a column that shows : LATE or ON TIME&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As well be able to add a chart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much for your help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/OTD/m-p/1406402#M816932</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: OTD %</title>
      <link>https://community.qlik.com/t5/QlikView/OTD/m-p/1406403#M816933</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Would you be able to share some raw data with the output you expect to see from it?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Aug 2017 15:01:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/OTD/m-p/1406403#M816933</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-08-30T15:01:31Z</dc:date>
    </item>
    <item>
      <title>Re: OTD %</title>
      <link>https://community.qlik.com/t5/QlikView/OTD/m-p/1406404#M816934</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For %OTD you could use something like below?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum(OTD) / Count(OTD)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Aug 2017 13:26:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/OTD/m-p/1406404#M816934</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-08-31T13:26:39Z</dc:date>
    </item>
    <item>
      <title>Re: OTD %</title>
      <link>https://community.qlik.com/t5/QlikView/OTD/m-p/1406405#M816935</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Something like this, perhaps?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Count(If([PO SHIP DATE] - [PO SHIPMENT REQUEST DATE] &amp;gt; 3, [PO NUMBER])) / Count([PO NUMBER]) &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(assumes that a shipment has an id like PO NUMBER. Replace this with the correct field name)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Aug 2017 13:29:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/OTD/m-p/1406405#M816935</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2017-08-31T13:29:03Z</dc:date>
    </item>
    <item>
      <title>Re: OTD %</title>
      <link>https://community.qlik.com/t5/QlikView/OTD/m-p/1406406#M816936</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can try some this ways&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-size: 10pt;"&gt;Load&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;If( (&lt;/EM&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;EM&gt;PO SHIPMENT REQUEST DATE- PO SHIP DATE ) &amp;gt; 3 ,'&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;LATE','On TIME') as DeliveryStatus&lt;/SPAN&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;EM style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;From Source;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;EM style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Or&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;EM&gt;Load&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;EM&gt;If( (Interval(&amp;nbsp; &lt;/EM&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;EM&gt;PO SHIPMENT REQUEST DATE- PO SHIP DATE,' D hh:mm ' )&amp;nbsp; ) &amp;gt; 3 ,'&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;LATE','On TIME') as DeliveryStatus&lt;/SPAN&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;EM&gt;From Source;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Aug 2017 13:38:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/OTD/m-p/1406406#M816936</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2017-08-31T13:38:19Z</dc:date>
    </item>
    <item>
      <title>Re: OTD %</title>
      <link>https://community.qlik.com/t5/QlikView/OTD/m-p/1406407#M816937</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would suggest to create the Flag in script to make the expression more optmized&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD *,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;PO SHIPMENT REQUEST DATE- PO SHIP DATE&amp;nbsp; &amp;lt;=-3, 1,0) as &lt;STRONG&gt;isShipmentLate&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;FROM table;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Now you can put the expression like below chart&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;=count(distinct {&amp;lt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;isShipmentLate={1}&amp;gt;} &lt;STRONG&gt;ID&lt;/STRONG&gt;) / count( distinct &lt;STRONG&gt;ID&lt;/STRONG&gt;)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;You can remove the DISTINCT keyword from expression based on your data.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Here &lt;STRONG&gt;ID &lt;/STRONG&gt;is the field which you want to count.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Or if you want the % based on Value, use below&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;=sum({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;isShipmentLate={1}&amp;gt;} &lt;STRONG&gt;Value&lt;/STRONG&gt;) / sum( &lt;STRONG&gt;Value&lt;/STRONG&gt;)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Aug 2017 13:47:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/OTD/m-p/1406407#M816937</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2017-08-31T13:47:32Z</dc:date>
    </item>
    <item>
      <title>Re: OTD %</title>
      <link>https://community.qlik.com/t5/QlikView/OTD/m-p/1406408#M816938</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 11.7px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;STRONG&gt;&lt;STRONG&gt;@&lt;A href="https://community.qlik.com/people/stalwar1"&gt;stalwar1&lt;/A&gt; &lt;SPAN style="color: #3d3d3d; font-family: inherit;"&gt;&lt;SPAN class="icon-status-icon icon-mvp" style="margin: 0 0 0 4px; font-weight: inherit; font-style: inherit; font-family: inherit;" title="Mvp"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;Finally back...my apologies for my delay. Please see attached table that i was able to create with everyone's advises.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;I want to add to the Gauge chart a graph showing the trend of the previous months.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; Can you please help me?&lt;/P&gt;&lt;P&gt;I update the OTD =&amp;lt;7 days vs Required Date ( changed from 3 days)&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="196072" alt="otd.jpg" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/196072_otd.jpg" style="height: 78px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Mar 2018 20:13:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/OTD/m-p/1406408#M816938</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-03-12T20:13:56Z</dc:date>
    </item>
  </channel>
</rss>

