<?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 KPI report combining expressions in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/KPI-report-combining-expressions/m-p/1533853#M457242</link>
    <description>&lt;P&gt;Hi all&lt;/P&gt;&lt;P&gt;I am fairly new to Qlikview expressions and trying to build a KPI report.&lt;/P&gt;&lt;P&gt;I essentially have two product 'schemes' that have different service level (SLA) times in days, one is 3 days and one is 5 days.&lt;/P&gt;&lt;P&gt;I am trying to get a number (count) of how many diary tasks have been done within the SLA to get a total figure each month so I can then report it as a % against the total of all tasks.&lt;/P&gt;&lt;P&gt;I have managed to build all of the components separately to get raw figures, but I am struggling to combine them into one total figure.&lt;/P&gt;&lt;P&gt;What I have so far as expressions in a straight table chart:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Diary Total (excl Post)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;= count ({&amp;lt; 
TaskItem -= {'*Post*'},
TaskCompletedDateWithoutTime = {'$(vLastMonthDateRange)'}
&amp;gt;}  TaskID)&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;SLA (days)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;=if (WildMatch([Scheme Name], '*PRODUCTONE*'),3,5)&lt;/PRE&gt;&lt;P&gt;&lt;STRONG&gt;Days Between&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;=NetWorkDays(TaskDueDate,TaskCompletedDateWithoutTime)&lt;/PRE&gt;&lt;P&gt;&lt;STRONG&gt;In SLA?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;=if([Days Between] &amp;lt;= [SLA (days)],1,0)&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The date range is set as a variable so it is dynamic each month, but essentially is formatted as '&amp;gt;=01/12/2018&amp;lt;=31/12/2018'&lt;/P&gt;&lt;P&gt;These work great when in a in a table showing each row of data with a Text Count total on the top of the columns, but I have a summary box,&amp;nbsp;which is for the KPI totals and I am struggling to combine them effectively&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="chart.png" style="width: 659px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/4314i195EF4CF2D74B009/image-size/large?v=v2&amp;amp;px=999" role="button" title="chart.png" alt="chart.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="totals.png" style="width: 523px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/4313i98CB45F2BE8058E1/image-size/large?v=v2&amp;amp;px=999" role="button" title="totals.png" alt="totals.png" /&gt;&lt;/span&gt;So&amp;nbsp;as an example if I have 75 tasks in SLA and 109 total, I want the KPI to show 68.8 or 68.8% for the month in SLA. (In picture it is just the count at present)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any suggestions on the best way to do this?&lt;/P&gt;&lt;P&gt;Many thanks&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 04:41:05 GMT</pubDate>
    <dc:creator>ajmayers</dc:creator>
    <dc:date>2024-11-16T04:41:05Z</dc:date>
    <item>
      <title>KPI report combining expressions</title>
      <link>https://community.qlik.com/t5/QlikView/KPI-report-combining-expressions/m-p/1533853#M457242</link>
      <description>&lt;P&gt;Hi all&lt;/P&gt;&lt;P&gt;I am fairly new to Qlikview expressions and trying to build a KPI report.&lt;/P&gt;&lt;P&gt;I essentially have two product 'schemes' that have different service level (SLA) times in days, one is 3 days and one is 5 days.&lt;/P&gt;&lt;P&gt;I am trying to get a number (count) of how many diary tasks have been done within the SLA to get a total figure each month so I can then report it as a % against the total of all tasks.&lt;/P&gt;&lt;P&gt;I have managed to build all of the components separately to get raw figures, but I am struggling to combine them into one total figure.&lt;/P&gt;&lt;P&gt;What I have so far as expressions in a straight table chart:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Diary Total (excl Post)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;= count ({&amp;lt; 
TaskItem -= {'*Post*'},
TaskCompletedDateWithoutTime = {'$(vLastMonthDateRange)'}
&amp;gt;}  TaskID)&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;SLA (days)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;=if (WildMatch([Scheme Name], '*PRODUCTONE*'),3,5)&lt;/PRE&gt;&lt;P&gt;&lt;STRONG&gt;Days Between&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;=NetWorkDays(TaskDueDate,TaskCompletedDateWithoutTime)&lt;/PRE&gt;&lt;P&gt;&lt;STRONG&gt;In SLA?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;=if([Days Between] &amp;lt;= [SLA (days)],1,0)&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The date range is set as a variable so it is dynamic each month, but essentially is formatted as '&amp;gt;=01/12/2018&amp;lt;=31/12/2018'&lt;/P&gt;&lt;P&gt;These work great when in a in a table showing each row of data with a Text Count total on the top of the columns, but I have a summary box,&amp;nbsp;which is for the KPI totals and I am struggling to combine them effectively&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="chart.png" style="width: 659px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/4314i195EF4CF2D74B009/image-size/large?v=v2&amp;amp;px=999" role="button" title="chart.png" alt="chart.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="totals.png" style="width: 523px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/4313i98CB45F2BE8058E1/image-size/large?v=v2&amp;amp;px=999" role="button" title="totals.png" alt="totals.png" /&gt;&lt;/span&gt;So&amp;nbsp;as an example if I have 75 tasks in SLA and 109 total, I want the KPI to show 68.8 or 68.8% for the month in SLA. (In picture it is just the count at present)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any suggestions on the best way to do this?&lt;/P&gt;&lt;P&gt;Many thanks&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 04:41:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/KPI-report-combining-expressions/m-p/1533853#M457242</guid>
      <dc:creator>ajmayers</dc:creator>
      <dc:date>2024-11-16T04:41:05Z</dc:date>
    </item>
    <item>
      <title>Re: KPI report combining expressions</title>
      <link>https://community.qlik.com/t5/QlikView/KPI-report-combining-expressions/m-p/1536414#M457243</link>
      <description>&lt;P&gt;a formula like&lt;/P&gt;&lt;P&gt;COUNT(IF(NETWORKDAYS(Due, Compl) &amp;lt;= SLA,&amp;nbsp; ID))&lt;BR /&gt;/&lt;BR /&gt;COUNT(ID)&lt;/P&gt;&lt;P&gt;should do the trick.&lt;/P&gt;&lt;P&gt;Please find an example attached.&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;</description>
      <pubDate>Tue, 29 Jan 2019 10:01:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/KPI-report-combining-expressions/m-p/1536414#M457243</guid>
      <dc:creator>prieper</dc:creator>
      <dc:date>2019-01-29T10:01:55Z</dc:date>
    </item>
  </channel>
</rss>

