<?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: YTD  KPI presentation in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/YTD-KPI-presentation/m-p/1276131#M516931</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Count({&amp;lt;Outcome={'Cnx,'DC'},CurYTDFlag={1}, Month, Date = {"$(='&amp;lt;=' &amp;amp; Date(Max(Date), &lt;SPAN style="color: #ff0000;"&gt;'D/M/YY&lt;/SPAN&gt;'))"}&amp;gt;}Outcome)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use the date field format that you have.....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 24 Mar 2017 12:04:07 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2017-03-24T12:04:07Z</dc:date>
    <item>
      <title>YTD  KPI presentation</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-KPI-presentation/m-p/1276126#M516926</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I need to recreate an existing report that has several KPIs (eight of them) that are presented twice on a dashboard - once for the selected period (usually the previous week or month) and then the YTD figure for up to the last date selected in the other KPI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For instance –&lt;/P&gt;&lt;P&gt;Select Year, Month, and (possibly) days and get&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Total Cancelled:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; YTD Total Cancelled:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 12&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All of the blocks are dimensionless single expression straight tables. I'm using a "standard" Master Calendar, so have "CurYTDFlag", but I can't figure out how to use it in this context.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The formula for the Total Cancelled (straight table) is something like (expression):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt; =sum(if(Outcome = 'Cnx' or Outcome = 'DC',1,0))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Other KPIs have expressions something like:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; =count(Outcome)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Other KPIs have expressions something like:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; =count(Outcome)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One is slightly more complicated (gives a percentage):&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (count(ActualTime)-Sum(Delay))/Count(ActualTime)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;IMG alt="sample.jpg" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/157505_sample.jpg" style="width: 620px; height: 422px;" /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;What should the expressions be to show the figures from 01/01/2017 to 15/02/2017 in the bottom boxes now matter what is selected in the dates?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Thank you for your attention!&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Mar 2017 11:06:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-KPI-presentation/m-p/1276126#M516926</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-03-24T11:06:30Z</dc:date>
    </item>
    <item>
      <title>Re: YTD  KPI presentation</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-KPI-presentation/m-p/1276127#M516927</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Count({&amp;lt;Outcome = {'Cnx', 'DC'}, CurYTDFlag = {1}&lt;SPAN style="color: #ff0000;"&gt;, Year, Month, MonthYear, Quarter, Date&lt;/SPAN&gt;&amp;gt;} Outcome)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have used some date time related fields where you might make selections, bu the idea is to replace these with those fields where the users might possibly make selections.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Mar 2017 11:21:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-KPI-presentation/m-p/1276127#M516927</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-03-24T11:21:28Z</dc:date>
    </item>
    <item>
      <title>Re: YTD  KPI presentation</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-KPI-presentation/m-p/1276128#M516928</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Sunny! That's working for one of them. I'll try it for the others and let you know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;Count&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;Outcome&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;={'Cnx,'DC'},CurYTDFlag={1},Month&amp;gt;}Outcome) &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Mar 2017 11:32:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-KPI-presentation/m-p/1276128#M516928</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-03-24T11:32:28Z</dc:date>
    </item>
    <item>
      <title>Re: YTD  KPI presentation</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-KPI-presentation/m-p/1276129#M516929</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sounds good &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Mar 2017 11:36:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-KPI-presentation/m-p/1276129#M516929</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-03-24T11:36:51Z</dc:date>
    </item>
    <item>
      <title>Re: YTD  KPI presentation</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-KPI-presentation/m-p/1276130#M516930</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sunny, Thank you for your help...sooooo close now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've got that working for all of the KPS now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However... (sorry)...it gives me the total for the YT today...I'd like it to show the YT the end of the dates selected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For instance, if I have Feb and 2017 selected I'd like to see the figures for 1/1/17 through 28/2/17.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Mar 2017 12:00:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-KPI-presentation/m-p/1276130#M516930</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-03-24T12:00:52Z</dc:date>
    </item>
    <item>
      <title>Re: YTD  KPI presentation</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-KPI-presentation/m-p/1276131#M516931</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Count({&amp;lt;Outcome={'Cnx,'DC'},CurYTDFlag={1}, Month, Date = {"$(='&amp;lt;=' &amp;amp; Date(Max(Date), &lt;SPAN style="color: #ff0000;"&gt;'D/M/YY&lt;/SPAN&gt;'))"}&amp;gt;}Outcome)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use the date field format that you have.....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Mar 2017 12:04:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-KPI-presentation/m-p/1276131#M516931</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-03-24T12:04:07Z</dc:date>
    </item>
    <item>
      <title>Re: YTD  KPI presentation</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-KPI-presentation/m-p/1276132#M516932</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hm...that one's giving me "Errors in expression". Is one of the 'Date's in the new bit my actual date field?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Mar 2017 12:16:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-KPI-presentation/m-p/1276132#M516932</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-03-24T12:16:40Z</dc:date>
    </item>
    <item>
      <title>Re: YTD  KPI presentation</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-KPI-presentation/m-p/1276133#M516933</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;YES!!! it is. if I change the 'Date' to my actual date field name it looks like it works.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Mar 2017 12:21:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-KPI-presentation/m-p/1276133#M516933</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-03-24T12:21:51Z</dc:date>
    </item>
    <item>
      <title>Re: YTD  KPI presentation</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-KPI-presentation/m-p/1276134#M516934</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hahahaha yes... my bad that I did not point that out&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Mar 2017 12:22:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-KPI-presentation/m-p/1276134#M516934</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-03-24T12:22:49Z</dc:date>
    </item>
    <item>
      <title>Re: YTD  KPI presentation</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-KPI-presentation/m-p/1276135#M516935</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So...&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;Count&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;Outcome&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;={'DC','Cnx'},CurYTDFlag={1},Month, ScheduledDate={&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;"$(='&amp;lt;=' &amp;amp; Date(Max(ScheduledDate), 'DD/MM/YY'))"&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;}&amp;gt;}Outcome) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;works. It says Errors in the Edit Expression window but it works on the sheet.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Thank you Sunny!&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Mar 2017 12:24:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-KPI-presentation/m-p/1276135#M516935</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-03-24T12:24:44Z</dc:date>
    </item>
  </channel>
</rss>

