<?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. :Complicated expression involving aggregation and set analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Complicated-expression-involving-aggregation-and-set-analysis/m-p/235208#M86495</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Richard,&lt;/P&gt;&lt;P&gt;I'm not sure, but I think you have forgotten the quotes in your Set Analysis. You should have something like:&lt;/P&gt;&lt;P&gt;=aggr(Count({$&amp;lt;TimeStamp = {&lt;STRONG&gt;'&lt;/STRONG&gt;$(vMaxTimeStamp)&lt;STRONG&gt;'&lt;/STRONG&gt;}, Flag = {&lt;STRONG&gt;'&lt;/STRONG&gt;ScriptPlaced&lt;STRONG&gt;'&lt;/STRONG&gt;}&amp;gt;} AgentCode), ProfileNo)&lt;/P&gt;&lt;P&gt;Please check if I'm right.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Franck SEREGAZA&lt;/P&gt;&lt;P&gt;Business &amp;amp; Decision&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 11 Feb 2010 14:01:50 GMT</pubDate>
    <dc:creator>fseregaza</dc:creator>
    <dc:date>2010-02-11T14:01:50Z</dc:date>
    <item>
      <title>Complicated expression involving aggregation and set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Complicated-expression-involving-aggregation-and-set-analysis/m-p/235203#M86490</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a problem trying to work out this particular expression:&lt;/P&gt;&lt;P&gt;=aggr(Count({$&amp;lt;TimeStamp = {$(vMaxTimeStamp)},Flag = {ScriptPlaced}&amp;gt;} AgentCode),ProfileNo)&lt;/P&gt;&lt;P&gt;The Situation: We are building a model for a callcentre that phones clients (Profiles) and asks them if they can collect their repeats or their scripts from them (Pharmacies use our callcentre). When they phone a client (Profile) after the call they select a flag, basically it comes down to whether the call was successful or not, with those flags we can create compliance charts etc. Easy enough.&lt;/P&gt;&lt;P&gt;The Problem: 3 calls could be made to 1 profile, which means 2 could be unsuccessful and 1 (the last call) could be successful, but what i want, instead of showing a compliance of 33.333% to show a compliance of 100% because that client/Profile collected their script etc and even though 3 calls were made, it was successful in the end. So what i need to do in Qlikview is Aggregate the count of AgentCode(Calls) where the profile is equal to the Max(Timestamp) (The call date and time).&lt;/P&gt;&lt;P&gt;I tried to work it out (above) but it doesn't work at all.&lt;/P&gt;&lt;P&gt;Please would you let me know f i am going about this the right way or if you don't understand the problem.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Feb 2010 07:58:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Complicated-expression-involving-aggregation-and-set-analysis/m-p/235203#M86490</guid>
      <dc:creator />
      <dc:date>2010-02-10T07:58:04Z</dc:date>
    </item>
    <item>
      <title>Complicated expression involving aggregation and set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Complicated-expression-involving-aggregation-and-set-analysis/m-p/235204#M86491</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok was it a good question or does no one understand me??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Feb 2010 08:15:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Complicated-expression-involving-aggregation-and-set-analysis/m-p/235204#M86491</guid>
      <dc:creator />
      <dc:date>2010-02-11T08:15:40Z</dc:date>
    </item>
    <item>
      <title>Complicated expression involving aggregation and set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Complicated-expression-involving-aggregation-and-set-analysis/m-p/235205#M86492</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good morning Richard,&lt;/P&gt;&lt;P&gt;it would be very helpful if you provide a qlikview example. That´s the best way to figure out a solution.&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;Rainer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Feb 2010 08:43:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Complicated-expression-involving-aggregation-and-set-analysis/m-p/235205#M86492</guid>
      <dc:creator />
      <dc:date>2010-02-11T08:43:10Z</dc:date>
    </item>
    <item>
      <title>Complicated expression involving aggregation and set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Complicated-expression-involving-aggregation-and-set-analysis/m-p/235206#M86493</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Richard,&lt;/P&gt;&lt;P&gt;it would be much easier for us to help you if you appload your application in here.&lt;/P&gt;&lt;P&gt;Milda&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Feb 2010 08:46:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Complicated-expression-involving-aggregation-and-set-analysis/m-p/235206#M86493</guid>
      <dc:creator />
      <dc:date>2010-02-11T08:46:32Z</dc:date>
    </item>
    <item>
      <title>Complicated expression involving aggregation and set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Complicated-expression-involving-aggregation-and-set-analysis/m-p/235207#M86494</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For some reason i cannot upload QlikView documents, this is what it says:&lt;/P&gt;&lt;H2 class="CommonContentBoxHeader"&gt;File Type Not Valid&lt;/H2&gt;&lt;DIV class="CommonContentBoxContent"&gt;This type of file is not allowed.&lt;/DIV&gt;&lt;DIV class="CommonContentBoxContent"&gt;&lt;/DIV&gt;&lt;DIV class="CommonContentBoxContent"&gt;You are right though, it is hard to know what i'm on about without seeing a sample.&lt;/DIV&gt;&lt;DIV class="CommonContentBoxContent"&gt;&lt;/DIV&gt;&lt;DIV class="CommonContentBoxContent"&gt;Any tips on how to get the documents uploaded, any settings i have to change or anything??&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Feb 2010 13:37:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Complicated-expression-involving-aggregation-and-set-analysis/m-p/235207#M86494</guid>
      <dc:creator />
      <dc:date>2010-02-11T13:37:30Z</dc:date>
    </item>
    <item>
      <title>Re. :Complicated expression involving aggregation and set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Complicated-expression-involving-aggregation-and-set-analysis/m-p/235208#M86495</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Richard,&lt;/P&gt;&lt;P&gt;I'm not sure, but I think you have forgotten the quotes in your Set Analysis. You should have something like:&lt;/P&gt;&lt;P&gt;=aggr(Count({$&amp;lt;TimeStamp = {&lt;STRONG&gt;'&lt;/STRONG&gt;$(vMaxTimeStamp)&lt;STRONG&gt;'&lt;/STRONG&gt;}, Flag = {&lt;STRONG&gt;'&lt;/STRONG&gt;ScriptPlaced&lt;STRONG&gt;'&lt;/STRONG&gt;}&amp;gt;} AgentCode), ProfileNo)&lt;/P&gt;&lt;P&gt;Please check if I'm right.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Franck SEREGAZA&lt;/P&gt;&lt;P&gt;Business &amp;amp; Decision&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Feb 2010 14:01:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Complicated-expression-involving-aggregation-and-set-analysis/m-p/235208#M86495</guid>
      <dc:creator>fseregaza</dc:creator>
      <dc:date>2010-02-11T14:01:50Z</dc:date>
    </item>
  </channel>
</rss>

