<?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: Displaying Chart based on condition in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Displaying-Chart-based-on-condition/m-p/593567#M1115231</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi arif,&lt;/P&gt;&lt;P&gt;please give example data in qvw for better understanding&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 17 Feb 2014 13:36:22 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-02-17T13:36:22Z</dc:date>
    <item>
      <title>Displaying Chart based on condition</title>
      <link>https://community.qlik.com/t5/QlikView/Displaying-Chart-based-on-condition/m-p/593564#M1115228</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 have file that contains several records with fields which has following example data:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 500px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl65" height="17" width="122"&gt;Sending Application&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;" width="140"&gt;Destination Application&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;" width="116"&gt;DateTimeReceived&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;" width="122"&gt;DateTimeProcessed&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;SAPP1&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;DAPP1&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;14-02-2014 09:41:10&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;14-02-2014 09:53:24&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;SAPP2&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;DAPP1&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;14-02-2014 09:44:12&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;SAPP3&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;DAPP2&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;14-02-2014 09:44:13&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;14-02-2014 09:57:26&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;SAPP1&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;DAPP3&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;14-02-2014 09:50:15&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;14-02-2014 10:02:27&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;SAPP4&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;DAPP3&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;14-02-2014 09:50:17&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;SAPP2&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;DAPP1&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;14-02-2014 09:56:19&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;SAPP3&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;DAPP2&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;14-02-2014 10:02:22&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;SAPP1&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;DAPP3&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;14-02-2014 10:05:22&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;14-02-2014 10:17:30&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;SAPP4&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;DAPP2&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;14-02-2014 10:05:22&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;14-02-2014 10:17:30&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;SAPP2&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;DAPP3&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;14-02-2014 10:05:23&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to create an Alert to display no of records by Destination Application which have not been processed within a certain process time average ie, DateTimeProcessed - CurrentDateTime &amp;gt; AverageProcessingTime (hh:mm:ss).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Each Destination application will have a different AverageProcessingTime.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone know how best to display an&amp;nbsp; Alert including how I define/use the AverageProcessingTime by Destination Application to get the desired result. There may be instances where all records have been processed within AverageProcessingTime&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, 17 Feb 2014 13:16:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Displaying-Chart-based-on-condition/m-p/593564#M1115228</guid>
      <dc:creator />
      <dc:date>2014-02-17T13:16:16Z</dc:date>
    </item>
    <item>
      <title>Re: Displaying Chart based on condition</title>
      <link>https://community.qlik.com/t5/QlikView/Displaying-Chart-based-on-condition/m-p/593565#M1115229</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Arif,&lt;/P&gt;&lt;P&gt;try this&lt;/P&gt;&lt;P&gt;IF(ISNull(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;DateTimeProcessed&lt;/SPAN&gt;),Count(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Destination Application&lt;/SPAN&gt;))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Feb 2014 13:23:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Displaying-Chart-based-on-condition/m-p/593565#M1115229</guid>
      <dc:creator />
      <dc:date>2014-02-17T13:23:16Z</dc:date>
    </item>
    <item>
      <title>Re: Displaying Chart based on condition</title>
      <link>https://community.qlik.com/t5/QlikView/Displaying-Chart-based-on-condition/m-p/593566#M1115230</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 only want the counts (by Destination Application), if the elapsed time is greater then average processing time (APT)&lt;/P&gt;&lt;P&gt;ie &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt; CurrentDateTime&lt;/SPAN&gt; - &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;DateTimeProcessed &amp;gt; AverageProcessingTime. Each APT will be different for the destination applications.&lt;/SPAN&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, 17 Feb 2014 13:33:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Displaying-Chart-based-on-condition/m-p/593566#M1115230</guid>
      <dc:creator />
      <dc:date>2014-02-17T13:33:00Z</dc:date>
    </item>
    <item>
      <title>Re: Displaying Chart based on condition</title>
      <link>https://community.qlik.com/t5/QlikView/Displaying-Chart-based-on-condition/m-p/593567#M1115231</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi arif,&lt;/P&gt;&lt;P&gt;please give example data in qvw for better understanding&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Feb 2014 13:36:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Displaying-Chart-based-on-condition/m-p/593567#M1115231</guid>
      <dc:creator />
      <dc:date>2014-02-17T13:36:22Z</dc:date>
    </item>
    <item>
      <title>Re: Displaying Chart based on condition</title>
      <link>https://community.qlik.com/t5/QlikView/Displaying-Chart-based-on-condition/m-p/593568#M1115232</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please see the sample data and see if that helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In addition the AVP would be as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DAPP1 : 3 mins&lt;/P&gt;&lt;P&gt;DAPP2 : 10 mins&lt;/P&gt;&lt;P&gt;DAPP3:&amp;nbsp;&amp;nbsp; 7 mins&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, 17 Feb 2014 13:40:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Displaying-Chart-based-on-condition/m-p/593568#M1115232</guid>
      <dc:creator />
      <dc:date>2014-02-17T13:40:36Z</dc:date>
    </item>
    <item>
      <title>Re: Displaying Chart based on condition</title>
      <link>https://community.qlik.com/t5/QlikView/Displaying-Chart-based-on-condition/m-p/593569#M1115233</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;First question, is the average processing time based on your data set of averages for each destination type or is this a predefined business rule? If the first option then do this in script&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data: //This is your main data load&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Autonumber(SendingApplication&amp;amp;DestinationApplication&amp;amp;DateTimeReceived) as KEY&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SendingApplication,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DestinationApplication,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DateTimeReceived,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DateTimeProcessed&lt;/P&gt;&lt;P&gt;FROM ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AverageProcessingTime: //This is where we will calculate the value for you and add it to your main data set&lt;/P&gt;&lt;P&gt;JOIN (Data)&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; KEY&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; avg(DateTimeProcessed - DateTimeReceived) as AverageProcessingTime&lt;/P&gt;&lt;P&gt;Resident Data&lt;/P&gt;&lt;P&gt;WHERE not is null(DateTimeProcessed)&lt;/P&gt;&lt;P&gt;GROUP BY KEY;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DataFinal: //We check against the average time now to see which is greater than the average&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; *,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(ActualProcessingTime &amp;gt; AverageProcessingTime,1,0) as ProcessingAlertFlag; //If larger then average flag as 1&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; *,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DateTimeProcessed - DateTimeReceived as ActualProcessingTime&lt;/P&gt;&lt;P&gt;Resident Data;&lt;/P&gt;&lt;P&gt;Drop Table Data;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In your expression you now count(if(ProcessingAlertFlag = 1,ProcessingAlertFlag)) and can have your sending and destination fields as dimensions&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Not sure if this is what you want, please elaborate more on how the average processing time is fed into your model and we can then come up with a solution&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Byron&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Feb 2014 13:49:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Displaying-Chart-based-on-condition/m-p/593569#M1115233</guid>
      <dc:creator />
      <dc:date>2014-02-17T13:49:03Z</dc:date>
    </item>
    <item>
      <title>Re: Displaying Chart based on condition</title>
      <link>https://community.qlik.com/t5/QlikView/Displaying-Chart-based-on-condition/m-p/593570#M1115234</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In response to your reply&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AverageProcessingTime:&lt;/P&gt;&lt;P&gt;MAPPING LOAD * INLINE [&lt;/P&gt;&lt;P&gt;DestinationApplication, TimeTarget&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;DAPP1, 3&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;DAPP2, 10&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;DAPP3, 7&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;];&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Data: //This is your main data load&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Load&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; *,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(TimeProcessed &amp;gt; TimeTarget,1,0) as ProcessedFlag;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Load&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Autonumber(SendingApplication&amp;amp;DestinationApplication&amp;amp;DateTimeReceived) as KEY&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SendingApplication,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DestinationApplication,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; applymap('AverageProcessingTime',DestinationApplication) as TimeTarget&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (DateTimeReceived - DateTimeProcessed)*24/60 as TimeProcessed //To create a minute version of your time&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DateTimeReceived,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DateTimeProcessed&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;FROM ...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Feb 2014 13:54:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Displaying-Chart-based-on-condition/m-p/593570#M1115234</guid>
      <dc:creator />
      <dc:date>2014-02-17T13:54:46Z</dc:date>
    </item>
  </channel>
</rss>

