<?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: Aggregate then Count with Condition - How to do this? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Aggregate-then-Count-with-Condition-How-to-do-this/m-p/644294#M476650</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;It depends on your data model. But anyway you need additional Calendar table.&lt;/P&gt;&lt;P&gt;If you load everything into one table you just divide Sum({$&amp;lt;Type={"Actual"}&amp;gt;}Amount)/Sum({$&amp;lt;Type={"Budget"}&amp;gt;}Amount).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you'd like to have these data in separate table, then you need to create linktable and connect your tables by synthetic key Region&amp;amp;Date AS %KEY&lt;/P&gt;&lt;P&gt;Then you just divide Sum(Sales)/Sum(Target)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 23 May 2014 02:18:21 GMT</pubDate>
    <dc:creator>SergeyMak</dc:creator>
    <dc:date>2014-05-23T02:18:21Z</dc:date>
    <item>
      <title>Aggregate then Count with Condition - How to do this?</title>
      <link>https://community.qlik.com/t5/QlikView/Aggregate-then-Count-with-Condition-How-to-do-this/m-p/644293#M476649</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 two input tables, as below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" height="574" jive-data-cell="{&amp;quot;color&amp;quot;:&amp;quot;#575757&amp;quot;,&amp;quot;textAlign&amp;quot;:&amp;quot;center&amp;quot;,&amp;quot;padding&amp;quot;:&amp;quot;NaN&amp;quot;,&amp;quot;backgroundColor&amp;quot;:&amp;quot;transparent&amp;quot;,&amp;quot;fontFamily&amp;quot;:&amp;quot;arial,helvetica,sans-serif&amp;quot;,&amp;quot;verticalAlign&amp;quot;:&amp;quot;baseline&amp;quot;}" jive-data-header="{&amp;quot;color&amp;quot;:&amp;quot;#FFFFFF&amp;quot;,&amp;quot;backgroundColor&amp;quot;:&amp;quot;#6690BC&amp;quot;,&amp;quot;textAlign&amp;quot;:&amp;quot;center&amp;quot;,&amp;quot;padding&amp;quot;:&amp;quot;NaN&amp;quot;,&amp;quot;fontFamily&amp;quot;:&amp;quot;arial,helvetica,sans-serif&amp;quot;,&amp;quot;verticalAlign&amp;quot;:&amp;quot;baseline&amp;quot;}" style="width: 194px; height: 525px; border-color: #808080; border-style: solid;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH colspan="4" style="color: #ffffff; background-color: #6690bc; text-align: center;"&gt;&lt;STRONG&gt;Sales Table&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="20" style="color: #575757; text-align: center; background-color: transparent; font-family: arial, helvetica, sans-serif; vertical-align: baseline;" width="75"&gt;&lt;SPAN style="font-size: 8pt;"&gt;Date&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="color: #575757; text-align: center; background-color: transparent; font-family: arial, helvetica, sans-serif; vertical-align: baseline;" width="75"&gt;&lt;SPAN style="font-size: 8pt;"&gt;Region&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="color: #575757; text-align: center; background-color: transparent; font-family: arial, helvetica, sans-serif; vertical-align: baseline;" width="110"&gt;&lt;SPAN style="font-size: 8pt;"&gt;SalesPerson&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="color: #575757; text-align: center; background-color: transparent; font-family: arial, helvetica, sans-serif; vertical-align: baseline;" width="64"&gt;&lt;SPAN style="font-size: 8pt;"&gt;Sales&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl63" height="20" style="color: #575757; text-align: center; background-color: transparent; font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;01/04/2014&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl63" style="color: #575757; text-align: center; background-color: transparent; font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;R1&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="color: #575757; text-align: center; background-color: transparent; font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;SP1&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" style="color: #575757; text-align: center; background-color: transparent; font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;3&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl63" height="20" style="color: #575757; text-align: center; background-color: transparent; font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;02/04/2014&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl63" style="color: #575757; text-align: center; background-color: transparent; font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;R1&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="color: #575757; text-align: center; background-color: transparent; font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;SP1&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" style="color: #575757; text-align: center; background-color: transparent; font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;6&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl63" height="20" style="color: #575757; text-align: center; background-color: transparent; font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;02/04/2014&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl63" style="color: #575757; text-align: center; background-color: transparent; font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;R4&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="color: #575757; text-align: center; background-color: transparent; font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;SP2&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" style="color: #575757; text-align: center; background-color: transparent; font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;1&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl63" height="20" style="color: #575757; text-align: center; background-color: transparent; font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;02/04/2014&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl63" style="color: #575757; text-align: center; background-color: transparent; font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;R4&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="color: #575757; text-align: center; background-color: transparent; font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;SP3&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" style="color: #575757; text-align: center; background-color: transparent; font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;7&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl63" height="20" style="color: #575757; text-align: center; background-color: transparent; font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;23/04/2014&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl63" style="color: #575757; text-align: center; background-color: transparent; font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;R1&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="color: #575757; text-align: center; background-color: transparent; font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;SP1&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" style="color: #575757; text-align: center; background-color: transparent; font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;23&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl63" height="20" style="color: #575757; text-align: center; background-color: transparent; font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;23/04/2014&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl63" style="color: #575757; text-align: center; background-color: transparent; font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;R4&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="color: #575757; text-align: center; background-color: transparent; font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;SP3&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" style="color: #575757; text-align: center; background-color: transparent; font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;5&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl63" height="20" style="color: #575757; text-align: center; background-color: transparent; font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;23/04/2014&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl63" style="color: #575757; text-align: center; background-color: transparent; font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;R2&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="color: #575757; text-align: center; background-color: transparent; font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;SP4&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" style="color: #575757; text-align: center; background-color: transparent; font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;14&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl63" height="20" style="color: #575757; text-align: center; background-color: transparent; font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;23/04/2014&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl63" style="color: #575757; text-align: center; background-color: transparent; font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;R2&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="color: #575757; text-align: center; background-color: transparent; font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;SP5&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" style="color: #575757; text-align: center; background-color: transparent; font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;12&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl63" height="20" style="color: #575757; text-align: center; background-color: transparent; font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;23/04/2014&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl63" style="color: #575757; text-align: center; background-color: transparent; font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;R3&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="color: #575757; text-align: center; background-color: transparent; font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;SP6&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" style="color: #575757; text-align: center; background-color: transparent; font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;3&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl63" height="20" style="color: #575757; text-align: center; background-color: transparent; font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;01/05/2014&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl63" style="color: #575757; text-align: center; background-color: transparent; font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;R1&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="color: #575757; text-align: center; background-color: transparent; font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;SP1&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" style="color: #575757; text-align: center; background-color: transparent; font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;12&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl63" height="20" style="color: #575757; text-align: center; background-color: transparent; font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;02/05/2014&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl63" style="color: #575757; text-align: center; background-color: transparent; font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;R4&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="color: #575757; text-align: center; background-color: transparent; font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;SP3&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" style="color: #575757; text-align: center; background-color: transparent; font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;1&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl63" height="20" style="color: #575757; text-align: center; background-color: transparent; font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;03/05/2014&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl63" style="color: #575757; text-align: center; background-color: transparent; font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;R1&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="color: #575757; text-align: center; background-color: transparent; font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;SP1&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" style="color: #575757; text-align: center; background-color: transparent; font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;6&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl63" height="20" style="color: #575757; text-align: center; background-color: transparent; font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;03/05/2014&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl63" style="color: #575757; text-align: center; background-color: transparent; font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;R4&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="color: #575757; text-align: center; background-color: transparent; font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;SP2&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" style="color: #575757; text-align: center; background-color: transparent; font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;15&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl63" height="20" style="color: #575757; text-align: center; background-color: transparent; font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;03/05/2014&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl63" style="color: #575757; text-align: center; background-color: transparent; font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;R4&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="color: #575757; text-align: center; background-color: transparent; font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;SP3&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" style="color: #575757; text-align: center; background-color: transparent; font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;6&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl63" height="20" style="color: #575757; text-align: center; background-color: transparent; font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;03/05/2014&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl63" style="color: #575757; text-align: center; background-color: transparent; font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;R2&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="color: #575757; text-align: center; background-color: transparent; font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;SP4&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" style="color: #575757; text-align: center; background-color: transparent; font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;34&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl63" height="20" style="color: #575757; text-align: center; background-color: transparent; font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;03/05/2014&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl63" style="color: #575757; text-align: center; background-color: transparent; font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;R2&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="color: #575757; text-align: center; background-color: transparent; font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;SP5&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" style="color: #575757; text-align: center; background-color: transparent; font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;4&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl63" height="20" style="color: #575757; text-align: center; background-color: transparent; font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;04/05/2014&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl63" style="color: #575757; text-align: center; background-color: transparent; font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;R4&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="color: #575757; text-align: center; background-color: transparent; font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;SP3&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" style="color: #575757; text-align: center; background-color: transparent; font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;2&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl63" height="20" style="color: #575757; text-align: center; background-color: transparent; font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;05/05/2014&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl63" style="color: #575757; text-align: center; background-color: transparent; font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;R4&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="color: #575757; text-align: center; background-color: transparent; font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;SP2&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" style="color: #575757; text-align: center; background-color: transparent; font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;6&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl63" height="20" style="color: #575757; text-align: center; background-color: transparent; font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;05/05/2014&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl63" style="color: #575757; text-align: center; background-color: transparent; font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;R3&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="color: #575757; text-align: center; background-color: transparent; font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;SP6&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" style="color: #575757; text-align: center; background-color: transparent; font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;14&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl63" height="20" style="color: #575757; text-align: center; background-color: transparent; font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;06/05/2014&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl63" style="color: #575757; text-align: center; background-color: transparent; font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;R1&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="color: #575757; text-align: center; background-color: transparent; font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;SP1&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" style="color: #575757; text-align: center; background-color: transparent; font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;23&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl63" height="20" style="color: #575757; text-align: center; background-color: transparent; font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;07/05/2014&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl63" style="color: #575757; text-align: center; background-color: transparent; font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;R4&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="color: #575757; text-align: center; background-color: transparent; font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;SP3&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" style="color: #575757; text-align: center; background-color: transparent; font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;31&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl63" height="20" style="color: #575757; text-align: center; background-color: transparent; font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;08/05/2014&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl63" style="color: #575757; text-align: center; background-color: transparent; font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;R4&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="color: #575757; text-align: center; background-color: transparent; font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;SP3&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" style="color: #575757; text-align: center; background-color: transparent; font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;36&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" height="249" jive-data-cell="{&amp;quot;color&amp;quot;:&amp;quot;#575757&amp;quot;,&amp;quot;textAlign&amp;quot;:&amp;quot;center&amp;quot;,&amp;quot;padding&amp;quot;:&amp;quot;NaN&amp;quot;,&amp;quot;backgroundColor&amp;quot;:&amp;quot;transparent&amp;quot;,&amp;quot;fontFamily&amp;quot;:&amp;quot;arial,helvetica,sans-serif&amp;quot;,&amp;quot;verticalAlign&amp;quot;:&amp;quot;baseline&amp;quot;}" jive-data-header="{&amp;quot;color&amp;quot;:&amp;quot;#FFFFFF&amp;quot;,&amp;quot;backgroundColor&amp;quot;:&amp;quot;#6690BC&amp;quot;,&amp;quot;textAlign&amp;quot;:&amp;quot;center&amp;quot;,&amp;quot;padding&amp;quot;:&amp;quot;NaN&amp;quot;,&amp;quot;fontFamily&amp;quot;:&amp;quot;arial,helvetica,sans-serif&amp;quot;,&amp;quot;verticalAlign&amp;quot;:&amp;quot;baseline&amp;quot;}" style="width: 163px; height: 198px; border-color: #999999; border-style: solid;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH colspan="3" style="color: #ffffff; background-color: #6690bc; text-align: center;"&gt;&lt;SPAN style="; font-size: 10pt;"&gt;&lt;STRONG&gt;Target Table&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="20" style="color: #575757; text-align: center; background-color: transparent; font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;Month&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="text-align: center; color: #575757; background-color: transparent; font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;Region&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="color: #575757; text-align: center; background-color: transparent; font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;Target&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl65" height="20" style="color: #575757; text-align: center; background-color: transparent; font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;Apr-14&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="text-align: center; color: #575757; background-color: transparent; font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;R1&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" style="color: #575757; text-align: center; background-color: transparent; font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;2&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl65" height="20" style="color: #575757; text-align: center; background-color: transparent; font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;Apr-14&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="text-align: center; color: #575757; background-color: transparent; font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;R2&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" style="color: #575757; text-align: center; background-color: transparent; font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;3&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl65" height="20" style="color: #575757; text-align: center; background-color: transparent; font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;Apr-14&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="text-align: center; color: #575757; background-color: transparent; font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;R3&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" style="color: #575757; text-align: center; background-color: transparent; font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;2&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl65" height="20" style="color: #575757; text-align: center; background-color: transparent; font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;Apr-14&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="text-align: center; color: #575757; background-color: transparent; font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;R4&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" style="color: #575757; text-align: center; background-color: transparent; font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;4&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl65" height="20" style="color: #575757; text-align: center; background-color: transparent; font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;May-14&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="text-align: center; color: #575757; background-color: transparent; font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;R1&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" style="color: #575757; text-align: center; background-color: transparent; font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;2&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl65" height="20" style="color: #575757; text-align: center; background-color: transparent; font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;May-14&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="text-align: center; color: #575757; background-color: transparent; font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;R2&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" style="color: #575757; text-align: center; background-color: transparent; font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;3&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl65" height="20" style="color: #575757; text-align: center; background-color: transparent; font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;May-14&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="text-align: center; color: #575757; background-color: transparent; font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;R3&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" style="color: #575757; text-align: center; background-color: transparent; font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;3&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl65" height="20" style="color: #575757; text-align: center; background-color: transparent; font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;May-14&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="text-align: center; color: #575757; background-color: transparent; font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;R4&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" style="color: #575757; text-align: center; background-color: transparent; font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;4&lt;/SPAN&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 achieve a report table with Month-to-Date performance like this:&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" height="189" jive-data-cell="{&amp;quot;color&amp;quot;:&amp;quot;#575757&amp;quot;,&amp;quot;textAlign&amp;quot;:&amp;quot;center&amp;quot;,&amp;quot;padding&amp;quot;:&amp;quot;NaN&amp;quot;,&amp;quot;backgroundColor&amp;quot;:&amp;quot;transparent&amp;quot;,&amp;quot;fontFamily&amp;quot;:&amp;quot;arial,helvetica,sans-serif&amp;quot;,&amp;quot;verticalAlign&amp;quot;:&amp;quot;baseline&amp;quot;}" jive-data-header="{&amp;quot;color&amp;quot;:&amp;quot;#FFFFFF&amp;quot;,&amp;quot;backgroundColor&amp;quot;:&amp;quot;#6690BC&amp;quot;,&amp;quot;textAlign&amp;quot;:&amp;quot;center&amp;quot;,&amp;quot;padding&amp;quot;:&amp;quot;NaN&amp;quot;,&amp;quot;fontFamily&amp;quot;:&amp;quot;arial,helvetica,sans-serif&amp;quot;,&amp;quot;verticalAlign&amp;quot;:&amp;quot;baseline&amp;quot;}" style="width: 223px; height: 157px; border-color: #999999; border-style: solid;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH colspan="4" style="color: #ffffff; background-color: #6690bc; text-align: center;"&gt;&lt;STRONG&gt;Month-to-Date&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="20" style="color: #575757; text-align: center; background-color: transparent; font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;Region&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="color: #575757; text-align: center; background-color: transparent; font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;SalesPerson Count (with &amp;gt;=20 sales in MTD total)&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="color: #575757; text-align: center; background-color: transparent; font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;Target&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="color: #575757; text-align: center; background-color: transparent; font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;% Achieve&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="20" style="color: #575757; text-align: center; background-color: transparent; font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;R1&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" style="color: #575757; text-align: center; background-color: transparent; font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;1&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" style="color: #575757; text-align: center; background-color: transparent; font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;2&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" class="xl66" style="color: #575757; text-align: center; background-color: transparent; font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;50%&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="20" style="color: #575757; text-align: center; background-color: transparent; font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;R2&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" style="color: #575757; text-align: center; background-color: transparent; font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;1&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" style="color: #575757; text-align: center; background-color: transparent; font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;3&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" class="xl66" style="color: #575757; text-align: center; background-color: transparent; font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;33%&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="20" style="color: #575757; text-align: center; background-color: transparent; font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;R3&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" style="color: #575757; text-align: center; background-color: transparent; font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;0&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" style="color: #575757; text-align: center; background-color: transparent; font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;3&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" class="xl66" style="color: #575757; text-align: center; background-color: transparent; font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;0%&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="20" style="color: #575757; text-align: center; background-color: transparent; font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;R4&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" style="color: #575757; text-align: center; background-color: transparent; font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;2&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" style="color: #575757; text-align: center; background-color: transparent; font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;4&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" class="xl66" style="color: #575757; text-align: center; background-color: transparent; font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;50%&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;What formula can I use for &lt;SPAN style="text-decoration: underline;"&gt;SalesPerson Count&lt;/SPAN&gt; in order to achieve this?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 May 2014 01:53:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggregate-then-Count-with-Condition-How-to-do-this/m-p/644293#M476649</guid>
      <dc:creator />
      <dc:date>2014-05-23T01:53:54Z</dc:date>
    </item>
    <item>
      <title>Re: Aggregate then Count with Condition - How to do this?</title>
      <link>https://community.qlik.com/t5/QlikView/Aggregate-then-Count-with-Condition-How-to-do-this/m-p/644294#M476650</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;It depends on your data model. But anyway you need additional Calendar table.&lt;/P&gt;&lt;P&gt;If you load everything into one table you just divide Sum({$&amp;lt;Type={"Actual"}&amp;gt;}Amount)/Sum({$&amp;lt;Type={"Budget"}&amp;gt;}Amount).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you'd like to have these data in separate table, then you need to create linktable and connect your tables by synthetic key Region&amp;amp;Date AS %KEY&lt;/P&gt;&lt;P&gt;Then you just divide Sum(Sales)/Sum(Target)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 May 2014 02:18:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggregate-then-Count-with-Condition-How-to-do-this/m-p/644294#M476650</guid>
      <dc:creator>SergeyMak</dc:creator>
      <dc:date>2014-05-23T02:18:21Z</dc:date>
    </item>
  </channel>
</rss>

