<?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: Concat values of a field, twice, in calculated dimension in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Concat-values-of-a-field-twice-in-calculated-dimension/m-p/60350#M10026</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yup, thanks for catching that &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 06 Jun 2018 20:59:46 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2018-06-06T20:59:46Z</dc:date>
    <item>
      <title>Concat values of a field, twice, in calculated dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Concat-values-of-a-field-twice-in-calculated-dimension/m-p/60341#M10017</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm looking for some help with the Concat() function in a straight chart.&amp;nbsp; I am trying to build a calculated dimension using the Concat() function where I assemble 2 Concat() statements in my calculated dimension, but I can't seem to get it to sort the way I want.&amp;nbsp; I'm hoping what I want to do is possible in QlikView.&amp;nbsp; &lt;SPAN style="font-size: 13.3333px;"&gt;Please see the attached qvw.&amp;nbsp;&amp;nbsp; Thanks.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jun 2018 20:40:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concat-values-of-a-field-twice-in-calculated-dimension/m-p/60341#M10017</guid>
      <dc:creator>kdmarkee</dc:creator>
      <dc:date>2018-06-05T20:40:53Z</dc:date>
    </item>
    <item>
      <title>Re: Concat values of a field, twice, in calculated dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Concat-values-of-a-field-twice-in-calculated-dimension/m-p/60342#M10018</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I believe this expression should work:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=aggr(&lt;/P&gt;&lt;P&gt;concat({&amp;lt;Type={'MD'}&amp;gt;} distinct [Name], ' / ',&amp;nbsp; [Name])&lt;/P&gt;&lt;P&gt;&amp;amp; ' - ' &amp;amp;&lt;/P&gt;&lt;P&gt;concat({&amp;lt;Type-={'MD'}&amp;gt;} distinct [Name], ' / ',&amp;nbsp; [Name])&lt;/P&gt;&lt;P&gt;,[Account])&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jun 2018 21:47:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concat-values-of-a-field-twice-in-calculated-dimension/m-p/60342#M10018</guid>
      <dc:creator>Nicole-Smith</dc:creator>
      <dc:date>2018-06-05T21:47:20Z</dc:date>
    </item>
    <item>
      <title>Re: Concat values of a field, twice, in calculated dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Concat-values-of-a-field-twice-in-calculated-dimension/m-p/60343#M10019</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;in sorting section you can write expression &lt;/P&gt;&lt;P&gt;i.e.sort by expression &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jun 2018 05:36:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concat-values-of-a-field-twice-in-calculated-dimension/m-p/60343#M10019</guid>
      <dc:creator>poojashribanger</dc:creator>
      <dc:date>2018-06-06T05:36:32Z</dc:date>
    </item>
    <item>
      <title>Re: Concat values of a field, twice, in calculated dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Concat-values-of-a-field-twice-in-calculated-dimension/m-p/60344#M10020</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Kris,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please use&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;Data:&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;load&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; *,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Type&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;='MD',1, &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Type&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;='Nurse',2)) &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;AS&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;StaffFlag&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; ;&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;LOAD&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; * &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Inline&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[&lt;BR /&gt; Account, Type, Name, Time&lt;BR /&gt; 1, MD, Dr. Will, 10&lt;BR /&gt; 1, Nurse, Kit, 5&lt;BR /&gt; 1, MD, Dr. Sha, 12&lt;BR /&gt; 1, Nurse, Chris, 6&lt;BR /&gt; ]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt; ; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and&lt;/P&gt;&lt;P&gt; the calculation dimension as &lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Aggr&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Concat&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Name&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,'/',&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;StaffFlag&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;),&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Account]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;IMG class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/204454_pastedImage_0.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Best Regards,&lt;BR /&gt;Ashok&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jun 2018 10:04:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concat-values-of-a-field-twice-in-calculated-dimension/m-p/60344#M10020</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-06-06T10:04:50Z</dc:date>
    </item>
    <item>
      <title>Re: Concat values of a field, twice, in calculated dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Concat-values-of-a-field-twice-in-calculated-dimension/m-p/60345#M10021</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Another option&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Aggr(Concat(Aggr(Concat(DISTINCT Name, ' / '), Account, Type), ' - ', -Aggr(Rank(Type), Account, Type)), Account, Type)&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;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/204469_Capture.PNG" style="height: 197px; width: 620px;" /&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jun 2018 11:52:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concat-values-of-a-field-twice-in-calculated-dimension/m-p/60345#M10021</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-06-06T11:52:16Z</dc:date>
    </item>
    <item>
      <title>Re: Concat values of a field, twice, in calculated dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Concat-values-of-a-field-twice-in-calculated-dimension/m-p/60346#M10022</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;=aggr(&lt;BR /&gt;concat({&amp;lt;Type={'MD'}&amp;gt;} distinct [Name], ' / ',&amp;nbsp; [Name]) &amp;amp; ' - ' &amp;amp;&lt;BR /&gt;concat({&amp;lt;Type={'Nurse'}&amp;gt;} distinct [Name], ' / ',&amp;nbsp; [Name])&lt;BR /&gt;,[Account])&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jun 2018 12:10:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concat-values-of-a-field-twice-in-calculated-dimension/m-p/60346#M10022</guid>
      <dc:creator>vvvvvvizard</dc:creator>
      <dc:date>2018-06-06T12:10:05Z</dc:date>
    </item>
    <item>
      <title>Re: Concat values of a field, twice, in calculated dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Concat-values-of-a-field-twice-in-calculated-dimension/m-p/60347#M10023</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks everyone for all the great ideas.&amp;nbsp; Marking this one correct because it was the easiest to understand. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jun 2018 19:58:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concat-values-of-a-field-twice-in-calculated-dimension/m-p/60347#M10023</guid>
      <dc:creator>kdmarkee</dc:creator>
      <dc:date>2018-06-06T19:58:54Z</dc:date>
    </item>
    <item>
      <title>Re: Concat values of a field, twice, in calculated dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Concat-values-of-a-field-twice-in-calculated-dimension/m-p/60348#M10024</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Note, I believe there's just a copy/paste typo here as I believe Sunny meant to put this in the body of the response as this is the code that works in her qvw:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Aggr(Concat(Aggr(Concat(DISTINCT Name, ' / '), Account, Type), ' - ', -Aggr(Rank(Type), Account, Type)), Account)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jun 2018 20:01:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concat-values-of-a-field-twice-in-calculated-dimension/m-p/60348#M10024</guid>
      <dc:creator>kdmarkee</dc:creator>
      <dc:date>2018-06-06T20:01:09Z</dc:date>
    </item>
    <item>
      <title>Re: Concat values of a field, twice, in calculated dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Concat-values-of-a-field-twice-in-calculated-dimension/m-p/60349#M10025</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Quick question on this on...why doesn't the sort weight sort on MD first and Nurse second by default because "m" comes before "n"?&amp;nbsp; Or is that not the right way to look at sort weight?&amp;nbsp; Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jun 2018 20:02:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concat-values-of-a-field-twice-in-calculated-dimension/m-p/60349#M10025</guid>
      <dc:creator>kdmarkee</dc:creator>
      <dc:date>2018-06-06T20:02:23Z</dc:date>
    </item>
    <item>
      <title>Re: Concat values of a field, twice, in calculated dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Concat-values-of-a-field-twice-in-calculated-dimension/m-p/60350#M10026</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yup, thanks for catching that &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jun 2018 20:59:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concat-values-of-a-field-twice-in-calculated-dimension/m-p/60350#M10026</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-06-06T20:59:46Z</dc:date>
    </item>
    <item>
      <title>Re: Concat values of a field, twice, in calculated dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Concat-values-of-a-field-twice-in-calculated-dimension/m-p/60351#M10027</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Per Qlikview Help:&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/204527_pastedImage_0.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="syntax"&gt;&lt;A name="kanchor241"&gt;&lt;/A&gt;&lt;A name="concat"&gt;&lt;/A&gt;&lt;SPAN class="Bold"&gt;&lt;SPAN style="color: #ffffff; background-color: #0a246a;"&gt;concat&lt;/SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN class="Italic"&gt;[{set_expression}]&amp;nbsp; [ &lt;SPAN class="Bold"&gt;distinct&lt;/SPAN&gt; ] [ &lt;SPAN class="Bold"&gt;total&lt;/SPAN&gt; [&amp;lt;fld {, fld}&amp;gt;]] expression[, delimiter[, sort_weight]]&lt;/SPAN&gt;&lt;SPAN class="Bold"&gt;)&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;Returns the aggregated string concatenation of all values of &lt;SPAN class="Italic"&gt;expression&lt;/SPAN&gt; iterated over the chart dimension(s). Each value may be separated by the string found in delimiter. The order of concatenation may be determined by &lt;SPAN class="Italic"&gt;sort-weight&lt;/SPAN&gt;. &lt;STRONG&gt;&lt;SPAN class="Italic"&gt;Sort-weight&lt;/SPAN&gt; should return a numeric value&lt;/STRONG&gt; where the lowest value will render the item to be sorted first. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jun 2018 06:50:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concat-values-of-a-field-twice-in-calculated-dimension/m-p/60351#M10027</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-06-07T06:50:16Z</dc:date>
    </item>
    <item>
      <title>Re: Concat values of a field, twice, in calculated dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Concat-values-of-a-field-twice-in-calculated-dimension/m-p/60352#M10028</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ah, thanks for pointing that out...I missed it in the documentation.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jun 2018 17:20:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concat-values-of-a-field-twice-in-calculated-dimension/m-p/60352#M10028</guid>
      <dc:creator>kdmarkee</dc:creator>
      <dc:date>2018-06-07T17:20:16Z</dc:date>
    </item>
    <item>
      <title>Re: Concat values of a field, twice, in calculated dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Concat-values-of-a-field-twice-in-calculated-dimension/m-p/60353#M10029</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt; as this is the code that works in &lt;STRONG style=": ; color: #ff0000; font-size: 14pt;"&gt;her&lt;/STRONG&gt; qvw:&lt;/SPAN&gt;&lt;/P&gt;


&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;You mean &lt;STRONG style=": ; color: #ff0000; font-size: 14pt;"&gt;his&lt;/STRONG&gt;, right?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jun 2018 17:37:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concat-values-of-a-field-twice-in-calculated-dimension/m-p/60353#M10029</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-06-07T17:37:42Z</dc:date>
    </item>
  </channel>
</rss>

