<?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 set analysis in concat/aggr function? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/set-analysis-in-concat-aggr-function/m-p/265456#M99773</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sorry again. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a chart with name as dimension and then the expression to basically show possible team. but i only want to show one possible team, hence, the team that they have points in in the nearest future. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So i want it in text. The Team. and that's why i'm using the concat function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//A.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 11 Aug 2011 10:30:09 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2011-08-11T10:30:09Z</dc:date>
    <item>
      <title>set analysis in concat/aggr function?</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-in-concat-aggr-function/m-p/265451#M99768</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'm trying to display the Team name that a person belongs to. Problem is that the person can belong to several teams in the past. What i want to see is only the team that the person blongs to today. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the one i'm currently using &lt;/P&gt;&lt;P&gt;concat(distinct aggr(if(sum(Points)&amp;gt;0,Team),Name,Team),',')&lt;/P&gt;&lt;P&gt;(Points must be moore than 0 by the way, hence the expression. )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But that gives me all the teams the person belongs to. how do i do this to include the Date issue? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//A.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Aug 2011 09:13:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-in-concat-aggr-function/m-p/265451#M99768</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-08-11T09:13:52Z</dc:date>
    </item>
    <item>
      <title>set analysis in concat/aggr function?</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-in-concat-aggr-function/m-p/265452#M99769</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;&amp;nbsp;&amp;nbsp;&amp;nbsp; There can be some other way to do this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; So can you please tell us something about your data structure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Meaninng how you find who is in which team today. (Manually)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kaushik Solanki &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Aug 2011 09:21:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-in-concat-aggr-function/m-p/265452#M99769</guid>
      <dc:creator>kaushiknsolanki</dc:creator>
      <dc:date>2011-08-11T09:21:33Z</dc:date>
    </item>
    <item>
      <title>set analysis in concat/aggr function?</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-in-concat-aggr-function/m-p/265453#M99770</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Team is in the fact table ande names in a dimension table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So when i select a name the team that person belongs to is possible choices. And like i said, over time there can be more than one team but if you pick a date there will always only be one team for that selected person. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does it help you?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Aug 2011 09:49:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-in-concat-aggr-function/m-p/265453#M99770</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-08-11T09:49:20Z</dc:date>
    </item>
    <item>
      <title>set analysis in concat/aggr function?</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-in-concat-aggr-function/m-p/265454#M99771</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;&amp;nbsp;&amp;nbsp;&amp;nbsp; Then how you are willing to show that. I mean can you please tell me in detail with example, what you want to achieve.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kaushik Solanki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Aug 2011 09:57:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-in-concat-aggr-function/m-p/265454#M99771</guid>
      <dc:creator>kaushiknsolanki</dc:creator>
      <dc:date>2011-08-11T09:57:58Z</dc:date>
    </item>
    <item>
      <title>set analysis in concat/aggr function?</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-in-concat-aggr-function/m-p/265455#M99772</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;You can use indirect set analysis, like this: &lt;/P&gt;&lt;P&gt;=Concat( {&amp;lt;TEAM = {"=SUM(POINTS)&amp;gt;0"}&amp;gt;} DISTINCT TEAM,',')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Aug 2011 10:12:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-in-concat-aggr-function/m-p/265455#M99772</guid>
      <dc:creator>erichshiino</dc:creator>
      <dc:date>2011-08-11T10:12:16Z</dc:date>
    </item>
    <item>
      <title>set analysis in concat/aggr function?</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-in-concat-aggr-function/m-p/265456#M99773</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sorry again. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a chart with name as dimension and then the expression to basically show possible team. but i only want to show one possible team, hence, the team that they have points in in the nearest future. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So i want it in text. The Team. and that's why i'm using the concat function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//A.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Aug 2011 10:30:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-in-concat-aggr-function/m-p/265456#M99773</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-08-11T10:30:09Z</dc:date>
    </item>
    <item>
      <title>set analysis in concat/aggr function?</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-in-concat-aggr-function/m-p/265457#M99774</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Doesn't this concat work? &lt;/P&gt;&lt;P&gt;=Concat( {&amp;lt;TEAM = {"=SUM(POINTS)&amp;gt;0"}&amp;gt;} DISTINCT TEAM,',')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Aug 2011 10:34:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-in-concat-aggr-function/m-p/265457#M99774</guid>
      <dc:creator>erichshiino</dc:creator>
      <dc:date>2011-08-11T10:34:50Z</dc:date>
    </item>
    <item>
      <title>set analysis in concat/aggr function?</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-in-concat-aggr-function/m-p/265458#M99775</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;&amp;nbsp;&amp;nbsp;&amp;nbsp; Try this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; In your chart put expression as&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; maxstring({&amp;lt;Date = {"$(=Max(Date))"}&amp;gt;}Team)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kaushik Solanki&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Aug 2011 10:34:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-in-concat-aggr-function/m-p/265458#M99775</guid>
      <dc:creator>kaushiknsolanki</dc:creator>
      <dc:date>2011-08-11T10:34:56Z</dc:date>
    </item>
    <item>
      <title>set analysis in concat/aggr function?</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-in-concat-aggr-function/m-p/265459#M99776</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Erich: your solution still shows more than one team unfortunately. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kaushik: Yours is close but those who haven't had points (those are connected to dates) since last month or more ends up with no team at all &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Aug 2011 11:16:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-in-concat-aggr-function/m-p/265459#M99776</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-08-11T11:16:57Z</dc:date>
    </item>
    <item>
      <title>set analysis in concat/aggr function?</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-in-concat-aggr-function/m-p/265460#M99777</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;&amp;nbsp;&amp;nbsp;&amp;nbsp; I didnt get what you said. Can you please explain with example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kaushik Solanki &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Aug 2011 11:38:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-in-concat-aggr-function/m-p/265460#M99777</guid>
      <dc:creator>kaushiknsolanki</dc:creator>
      <dc:date>2011-08-11T11:38:44Z</dc:date>
    </item>
    <item>
      <title>set analysis in concat/aggr function?</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-in-concat-aggr-function/m-p/265461#M99778</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Upload ur Qvw file &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Aug 2011 12:04:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-in-concat-aggr-function/m-p/265461#M99778</guid>
      <dc:creator>perumal_41</dc:creator>
      <dc:date>2011-08-11T12:04:35Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis in concat/aggr function?</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-in-concat-aggr-function/m-p/265462#M99779</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm not sure about the criteria to show only one, &lt;/P&gt;&lt;P&gt;but you can use set analysis with maxstring as well... &lt;/P&gt;&lt;P&gt;=maxstring( {&amp;lt;TEAM = {"=SUM(POINTS)&amp;gt;0"}&amp;gt;} TEAM)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EDIT : Correction in the expression&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Aug 2011 12:24:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-in-concat-aggr-function/m-p/265462#M99779</guid>
      <dc:creator>erichshiino</dc:creator>
      <dc:date>2011-08-11T12:24:16Z</dc:date>
    </item>
    <item>
      <title>set analysis in concat/aggr function?</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-in-concat-aggr-function/m-p/265463#M99780</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This one is close but the problem here is that maxstring collects the last team and the teams are in an alfabetical order so it shows the wrong value when it comes to terms of last team-membership date-wise. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Aug 2011 08:40:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-in-concat-aggr-function/m-p/265463#M99780</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-08-16T08:40:09Z</dc:date>
    </item>
  </channel>
</rss>

