<?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: What is wrong with this aggr()? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/What-is-wrong-with-this-aggr/m-p/450218#M488912</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;Please check an update of the sample data that better highlights the differences between current vs. expected results.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;Kind regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 19 Dec 2012 10:49:23 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-12-19T10:49:23Z</dc:date>
    <item>
      <title>What is wrong with this aggr()?</title>
      <link>https://community.qlik.com/t5/QlikView/What-is-wrong-with-this-aggr/m-p/450210#M488904</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;Hi Qlik Helpers,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;I'm having an issue with an aggregation expression that doesn't fetch the expected results.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;Issue summary:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;1 - I'm looking at patients behaviour related to a treatment type (T1 and T2); &lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;2 - Patients may have 2 different categories or status: Naive patients ('N') and experienced patients ('E')&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;3 - I want to count the distinct patients distribution over the treatment lifespan (Treatment Duration), by each Treatment Type and provided they have a record as Naïve patients ('N') at one of the periods available.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;The expressions reads ok if I select a single treatment type but it is wronge if both treatments are selected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;Appreciate all your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Dec 2012 01:06:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/What-is-wrong-with-this-aggr/m-p/450210#M488904</guid>
      <dc:creator />
      <dc:date>2012-12-19T01:06:33Z</dc:date>
    </item>
    <item>
      <title>Re: What is wrong with this aggr()?</title>
      <link>https://community.qlik.com/t5/QlikView/What-is-wrong-with-this-aggr/m-p/450211#M488905</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey you expression is much bulky..&lt;/P&gt;&lt;P&gt;Can you please explain what you want from your expression.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Dec 2012 06:12:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/What-is-wrong-with-this-aggr/m-p/450211#M488905</guid>
      <dc:creator>sujeetsingh</dc:creator>
      <dc:date>2012-12-19T06:12:26Z</dc:date>
    </item>
    <item>
      <title>Re: What is wrong with this aggr()?</title>
      <link>https://community.qlik.com/t5/QlikView/What-is-wrong-with-this-aggr/m-p/450212#M488906</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tell me what&amp;nbsp; value&amp;nbsp; is expect in the experssion,give me sample.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Dec 2012 06:30:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/What-is-wrong-with-this-aggr/m-p/450212#M488906</guid>
      <dc:creator>perumal_41</dc:creator>
      <dc:date>2012-12-19T06:30:52Z</dc:date>
    </item>
    <item>
      <title>Re: What is wrong with this aggr()?</title>
      <link>https://community.qlik.com/t5/QlikView/What-is-wrong-with-this-aggr/m-p/450213#M488907</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please check the qvw attached in the initial post above.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Dec 2012 10:04:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/What-is-wrong-with-this-aggr/m-p/450213#M488907</guid>
      <dc:creator />
      <dc:date>2012-12-19T10:04:06Z</dc:date>
    </item>
    <item>
      <title>Re: What is wrong with this aggr()?</title>
      <link>https://community.qlik.com/t5/QlikView/What-is-wrong-with-this-aggr/m-p/450214#M488908</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;when i select treatments Type i get this type report &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="jiveImage" src="https://community.qlik.com/message/293174/" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;this is correct or tell&amp;nbsp; which place coming worng value .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Dec 2012 10:16:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/What-is-wrong-with-this-aggr/m-p/450214#M488908</guid>
      <dc:creator>perumal_41</dc:creator>
      <dc:date>2012-12-19T10:16:17Z</dc:date>
    </item>
    <item>
      <title>Re: What is wrong with this aggr()?</title>
      <link>https://community.qlik.com/t5/QlikView/What-is-wrong-with-this-aggr/m-p/450215#M488909</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's really simple to explain:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- From the entire set of patients included in the qvw sample I need to select only the ones that have a Naïve status ('N' value in the field Patient Status) &lt;/P&gt;&lt;P&gt;- After that, I need apply a distinct count along the Therapy Duration field, to conclude about how many of them are abandoning or switching the therapy as time goes by&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please find both the expected and current results in the qvw attached.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much for your help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Dec 2012 10:30:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/What-is-wrong-with-this-aggr/m-p/450215#M488909</guid>
      <dc:creator />
      <dc:date>2012-12-19T10:30:56Z</dc:date>
    </item>
    <item>
      <title>Re: What is wrong with this aggr()?</title>
      <link>https://community.qlik.com/t5/QlikView/What-is-wrong-with-this-aggr/m-p/450216#M488910</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;Thanks for your reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regarding your question the anwser is No, the results are not correct.&lt;/P&gt;&lt;P&gt;Notice that if you perform a selection on T1 (listbox of Treatment Types) you'll get different results from Treatment Duration '2'&amp;nbsp; onwards.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please check the qvw attached to get the details about current vs. expected results.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Dec 2012 10:36:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/What-is-wrong-with-this-aggr/m-p/450216#M488910</guid>
      <dc:creator />
      <dc:date>2012-12-19T10:36:59Z</dc:date>
    </item>
    <item>
      <title>Re: What is wrong with this aggr()?</title>
      <link>https://community.qlik.com/t5/QlikView/What-is-wrong-with-this-aggr/m-p/450217#M488911</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please check an update of the sample data that better highlights the differences between current vs. expected results.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Dec 2012 10:47:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/What-is-wrong-with-this-aggr/m-p/450217#M488911</guid>
      <dc:creator />
      <dc:date>2012-12-19T10:47:55Z</dc:date>
    </item>
    <item>
      <title>Re: What is wrong with this aggr()?</title>
      <link>https://community.qlik.com/t5/QlikView/What-is-wrong-with-this-aggr/m-p/450218#M488912</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;Please check an update of the sample data that better highlights the differences between current vs. expected results.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;Kind regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Dec 2012 10:49:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/What-is-wrong-with-this-aggr/m-p/450218#M488912</guid>
      <dc:creator />
      <dc:date>2012-12-19T10:49:23Z</dc:date>
    </item>
    <item>
      <title>Re: What is wrong with this aggr()?</title>
      <link>https://community.qlik.com/t5/QlikView/What-is-wrong-with-this-aggr/m-p/450219#M488913</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;Can you please explain that ...&lt;/P&gt;&lt;P&gt;---according to dimensions Treatment Duration and Treatment Type you want the expression to give????&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Dec 2012 11:03:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/What-is-wrong-with-this-aggr/m-p/450219#M488913</guid>
      <dc:creator>sujeetsingh</dc:creator>
      <dc:date>2012-12-19T11:03:58Z</dc:date>
    </item>
    <item>
      <title>Re: What is wrong with this aggr()?</title>
      <link>https://community.qlik.com/t5/QlikView/What-is-wrong-with-this-aggr/m-p/450220#M488914</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;Those are the dimensions on the pivot (please check the qvw - aggr issue3).&lt;/P&gt;&lt;P&gt;Treatment Duration is the same as months of treatment per treatment types, and Treatment Types are the treatments themselves.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm not sure I understood correctly what are you asking for&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Dec 2012 11:19:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/What-is-wrong-with-this-aggr/m-p/450220#M488914</guid>
      <dc:creator />
      <dc:date>2012-12-19T11:19:26Z</dc:date>
    </item>
    <item>
      <title>Re: What is wrong with this aggr()?</title>
      <link>https://community.qlik.com/t5/QlikView/What-is-wrong-with-this-aggr/m-p/450221#M488915</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Any luck on this issue????&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Dec 2012 16:11:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/What-is-wrong-with-this-aggr/m-p/450221#M488915</guid>
      <dc:creator />
      <dc:date>2012-12-19T16:11:21Z</dc:date>
    </item>
  </channel>
</rss>

