<?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: Using Aggr and Concat inside a set analysis expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Using-Aggr-and-Concat-inside-a-set-analysis-expression/m-p/871924#M304785</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;=Concat(&lt;STRONG style="font-style: inherit;"&gt;{&amp;lt;ScriptFlag={1}&amp;gt;}&lt;/STRONG&gt;Aggr(concat(DISTINCT{&amp;lt;ScriptFlag={1}&amp;gt;} PatKey,','),MonthYear), ',') &lt;/STRONG&gt;&lt;/STRONG&gt;in a text box returns the result which is concatenation of PatNbrs for all the months in selected period.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Sum ({&amp;lt;PatKey = {$(=Concat({&amp;lt;ScriptFlag={1}&amp;gt;}Aggr(concat(DISTINCT{&amp;lt;ScriptFlag={1}&amp;gt;} PatKey,','),MonthYear), ','))}&amp;gt;}Revenue) &lt;/STRONG&gt;works in straight table but result is not what I am looking for. This returns the same result as i get for &lt;STRONG&gt;Sum({&amp;lt;PatKey =P ({&amp;lt;ScriptFlag={1}&amp;gt;}PatKey)&amp;gt;}Revenue).&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;I do not want Concatenated PatNbrs from Feb to be included in calculation of revenue for Jan and vice versa.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/86735_Capture.PNG" style="height: 87px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;As you can see in above image, I want revenue of only those &lt;STRONG&gt;293&lt;/STRONG&gt; PatNbrs for Jan, &lt;STRONG&gt;258&lt;/STRONG&gt; PatNbrs for Feb and so on. Right now it is calculating revenue for all 1193 &lt;SPAN style="font-size: 13.3333330154419px;"&gt;PatNbrs and then grouping it for each month which actually gives different results from what I am expecting.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 15 May 2015 19:07:26 GMT</pubDate>
    <dc:creator>medempudi_ravi</dc:creator>
    <dc:date>2015-05-15T19:07:26Z</dc:date>
    <item>
      <title>Using Aggr and Concat inside a set analysis expression</title>
      <link>https://community.qlik.com/t5/QlikView/Using-Aggr-and-Concat-inside-a-set-analysis-expression/m-p/871918#M304779</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Qlik folks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am having some hard time in writing a Set analysis expression which involves Aggr and CONCAT aggregation functions. Please let me if my requirement can be achieved using a set analysis expression or if I need to change my approach&amp;nbsp; to handle this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My Requirement: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" height="231" src="https://community.qlik.com/legacyfs/online/86726_Capture.PNG" style="font-size: 13.3333330154419px;" width="341" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to show Sum of revenue for all the patients whose ScriptFlag =1 grouped for each month (as shown in image above).&lt;/P&gt;&lt;P&gt;For example, for month of Jan-2015, I need to show Revenue for all patients whose Script Flag =1 for Jan-2015&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dimenison = MonthYear&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Expression = Sum ({&amp;lt;PatKey = {$(= Aggr(concat(DISTINCT{&amp;lt;ScriptFlag={1}&amp;gt;} PatKey,','),MonthYear))}&amp;gt;}Revenue)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This expression returns all zeroes when I show it in a table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me in getting into right approach to get my requirement. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;Teja&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 May 2015 16:51:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-Aggr-and-Concat-inside-a-set-analysis-expression/m-p/871918#M304779</guid>
      <dc:creator>medempudi_ravi</dc:creator>
      <dc:date>2015-05-15T16:51:08Z</dc:date>
    </item>
    <item>
      <title>Re: Using Aggr and Concat inside a set analysis expression</title>
      <link>https://community.qlik.com/t5/QlikView/Using-Aggr-and-Concat-inside-a-set-analysis-expression/m-p/871919#M304780</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this for your expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt; = Sum ({&amp;lt;PatKey = {&lt;SPAN style="color: #ff0000;"&gt;"&lt;/SPAN&gt;$(= Aggr(concat(DISTINCT{&amp;lt;ScriptFlag={1}&amp;gt;} PatKey,','),MonthYear))&lt;SPAN style="color: #ff0000;"&gt;"&lt;/SPAN&gt;}&amp;gt;}Revenue)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Chances are that it still might not work, in which case I would check it the Aggr is working or not by putting&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;= Aggr(concat(DISTINCT{&amp;lt;ScriptFlag={1}&amp;gt;} PatKey,','),MonthYear) &lt;/STRONG&gt;&lt;/STRONG&gt;in a text box to see if the Aggr(Concat( ...)) is giving the result you were hoping to get....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If it isn't then you need to fix it, but if does I would need to take a look at your application to give you a better expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 May 2015 17:12:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-Aggr-and-Concat-inside-a-set-analysis-expression/m-p/871919#M304780</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-05-15T17:12:38Z</dc:date>
    </item>
    <item>
      <title>Re: Using Aggr and Concat inside a set analysis expression</title>
      <link>https://community.qlik.com/t5/QlikView/Using-Aggr-and-Concat-inside-a-set-analysis-expression/m-p/871920#M304781</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As you have &lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;MonthYear as dimension, a simple &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Sum ({&amp;lt;ScriptFlag={1}&amp;gt;} Revenue) does not return what you need?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 May 2015 17:13:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-Aggr-and-Concat-inside-a-set-analysis-expression/m-p/871920#M304781</guid>
      <dc:creator>Clever_Anjos</dc:creator>
      <dc:date>2015-05-15T17:13:15Z</dc:date>
    </item>
    <item>
      <title>Re: Using Aggr and Concat inside a set analysis expression</title>
      <link>https://community.qlik.com/t5/QlikView/Using-Aggr-and-Concat-inside-a-set-analysis-expression/m-p/871921#M304782</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;&lt;STRONG&gt;=&lt;/STRONG&gt;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;Sum ({&amp;lt;ScriptFlag={1}&amp;gt;} Revenue) &lt;/STRONG&gt;does not return the result that I am looking for because, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;it calculates revenue for all the patients whose ScriptFlag = 1 for selected period and then groups it by month &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; line-height: 1.5em;"&gt;but I need to pick patients whose ScriptFlag =1 for each month (which is Dimension in this case) separately and calculate the revenue for these patients.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; line-height: 1.5em;"&gt;for example, a patient whose script flag =1 in Jan should not be included for revenue calculation in Feb even though there are any records for that patients in Feb.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; line-height: 1.5em;"&gt;I can try to explain my requirement again if its still not clear enough.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 May 2015 18:23:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-Aggr-and-Concat-inside-a-set-analysis-expression/m-p/871921#M304782</guid>
      <dc:creator>medempudi_ravi</dc:creator>
      <dc:date>2015-05-15T18:23:19Z</dc:date>
    </item>
    <item>
      <title>Re: Using Aggr and Concat inside a set analysis expression</title>
      <link>https://community.qlik.com/t5/QlikView/Using-Aggr-and-Concat-inside-a-set-analysis-expression/m-p/871922#M304783</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;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;= Sum ({&amp;lt;PatKey = {&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #ff0000;"&gt;"&lt;/SPAN&gt;$(= Aggr(concat(DISTINCT{&amp;lt;ScriptFlag={1}&amp;gt;} PatKey,','),MonthYear))&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #ff0000;"&gt;"&lt;/SPAN&gt;}&amp;gt;}Revenue) - &lt;/STRONG&gt;This expression did not change the result. this still doesn't return anything.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit;"&gt;= Aggr(concat(DISTINCT{&amp;lt;ScriptFlag={1}&amp;gt;} PatKey,','),MonthYear) &lt;/STRONG&gt;&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;in a text box returns null which I guess is because it cannot group by month in a text box, but If I use this expression in a straight table using MonthYear as Dimension, I get the Concatenated PatNbrs as expected grouped for each month. But, I need the &lt;STRONG&gt;revenue&lt;/STRONG&gt; for these PatNbrs grouped by Month.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I guess, QV doesnt group the data twice in a single Object (Here it should aggregate once to get required PatNbrs for each Month and then using this result it should calculate the revenue for each month for those PatNbrs)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This Image might give some idea on what I am talking about -&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/86734_Capture.PNG" style="height: 79px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 May 2015 18:38:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-Aggr-and-Concat-inside-a-set-analysis-expression/m-p/871922#M304783</guid>
      <dc:creator>medempudi_ravi</dc:creator>
      <dc:date>2015-05-15T18:38:59Z</dc:date>
    </item>
    <item>
      <title>Re: Using Aggr and Concat inside a set analysis expression</title>
      <link>https://community.qlik.com/t5/QlikView/Using-Aggr-and-Concat-inside-a-set-analysis-expression/m-p/871923#M304784</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this in a text box:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;=Concat(&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;{&amp;lt;ScriptFlag={1}&amp;gt;}&lt;/STRONG&gt;Aggr(concat(DISTINCT{&amp;lt;ScriptFlag={1}&amp;gt;} PatKey,','),MonthYear), ',') &lt;/STRONG&gt;&lt;/STRONG&gt;If it gives you a concatenated list of all then try this for your final expression:&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;= Sum ({&amp;lt;PatKey = {&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #ff0000;"&gt;"&lt;/SPAN&gt;$(&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;=Concat(&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;{&amp;lt;ScriptFlag={1}&amp;gt;}&lt;/STRONG&gt;Aggr(concat(DISTINCT{&amp;lt;ScriptFlag={1}&amp;gt;} PatKey,','),MonthYear), ',')&lt;/STRONG&gt;)&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #ff0000;"&gt;"&lt;/SPAN&gt;}&amp;gt;}Revenue)&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Sunny&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 May 2015 18:45:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-Aggr-and-Concat-inside-a-set-analysis-expression/m-p/871923#M304784</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-05-15T18:45:35Z</dc:date>
    </item>
    <item>
      <title>Re: Using Aggr and Concat inside a set analysis expression</title>
      <link>https://community.qlik.com/t5/QlikView/Using-Aggr-and-Concat-inside-a-set-analysis-expression/m-p/871924#M304785</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;=Concat(&lt;STRONG style="font-style: inherit;"&gt;{&amp;lt;ScriptFlag={1}&amp;gt;}&lt;/STRONG&gt;Aggr(concat(DISTINCT{&amp;lt;ScriptFlag={1}&amp;gt;} PatKey,','),MonthYear), ',') &lt;/STRONG&gt;&lt;/STRONG&gt;in a text box returns the result which is concatenation of PatNbrs for all the months in selected period.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Sum ({&amp;lt;PatKey = {$(=Concat({&amp;lt;ScriptFlag={1}&amp;gt;}Aggr(concat(DISTINCT{&amp;lt;ScriptFlag={1}&amp;gt;} PatKey,','),MonthYear), ','))}&amp;gt;}Revenue) &lt;/STRONG&gt;works in straight table but result is not what I am looking for. This returns the same result as i get for &lt;STRONG&gt;Sum({&amp;lt;PatKey =P ({&amp;lt;ScriptFlag={1}&amp;gt;}PatKey)&amp;gt;}Revenue).&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;I do not want Concatenated PatNbrs from Feb to be included in calculation of revenue for Jan and vice versa.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/86735_Capture.PNG" style="height: 87px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;As you can see in above image, I want revenue of only those &lt;STRONG&gt;293&lt;/STRONG&gt; PatNbrs for Jan, &lt;STRONG&gt;258&lt;/STRONG&gt; PatNbrs for Feb and so on. Right now it is calculating revenue for all 1193 &lt;SPAN style="font-size: 13.3333330154419px;"&gt;PatNbrs and then grouping it for each month which actually gives different results from what I am expecting.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 May 2015 19:07:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-Aggr-and-Concat-inside-a-set-analysis-expression/m-p/871924#M304785</guid>
      <dc:creator>medempudi_ravi</dc:creator>
      <dc:date>2015-05-15T19:07:26Z</dc:date>
    </item>
    <item>
      <title>Re: Using Aggr and Concat inside a set analysis expression</title>
      <link>https://community.qlik.com/t5/QlikView/Using-Aggr-and-Concat-inside-a-set-analysis-expression/m-p/871925#M304786</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Set analysis is calculated once per chart. So once a concatenated list if prepared, it is used throughout the chart. I think there might be a easier way to do this using flags, but for that you will have to share a sample to look at.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 May 2015 19:11:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-Aggr-and-Concat-inside-a-set-analysis-expression/m-p/871925#M304786</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-05-15T19:11:43Z</dc:date>
    </item>
    <item>
      <title>Re: Using Aggr and Concat inside a set analysis expression</title>
      <link>https://community.qlik.com/t5/QlikView/Using-Aggr-and-Concat-inside-a-set-analysis-expression/m-p/871926#M304787</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;SPAN&gt;Good Morning!&lt;BR /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I understood your problem and I'm going through the same problem.&lt;/SPAN&gt;&lt;BR /&gt;Did you solve it?&lt;BR /&gt;If you have succeeded please can you help me by passing on how did you solve it?&lt;BR /&gt;&lt;BR /&gt;Thank you!&lt;BR /&gt;&lt;BR /&gt;Hug!&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Mar 2018 12:03:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-Aggr-and-Concat-inside-a-set-analysis-expression/m-p/871926#M304787</guid>
      <dc:creator>offjunior</dc:creator>
      <dc:date>2018-03-20T12:03:01Z</dc:date>
    </item>
  </channel>
</rss>

