<?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 Concat function in a calculated dimension in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/using-Concat-function-in-a-calculated-dimension/m-p/885892#M308886</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;this??&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/91910_Capture.PNG" style="height: 230px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dimension: =If(Aggr(Sum(Quantity), Brands)&amp;gt; 0, Brands)&lt;/P&gt;&lt;P&gt;Expression: Sum(Budget)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Uncheck Suppress Zero-Values on Presentation&lt;/P&gt;&lt;P&gt;Check Suppress When Value Is Null&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Attaching the qvw for reference.&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>Sun, 05 Jul 2015 15:59:16 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2015-07-05T15:59:16Z</dc:date>
    <item>
      <title>using Concat function in a calculated dimension</title>
      <link>https://community.qlik.com/t5/QlikView/using-Concat-function-in-a-calculated-dimension/m-p/885885#M308879</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Is it possible to create a calculated dimension for a chart using a concat function?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried 2 variants:&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;1st&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;='(' &amp;amp; &lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;Concat&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;Quantity&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; ={&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;"=sum(Quantity)&amp;gt;0"&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;DISTINCT&lt;/SPAN&gt; &lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;chr&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;(34) &amp;amp; &lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;Brands&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; &amp;amp; &lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;chr&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;(34), '|') &amp;amp; ')' &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2nd&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;=&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;Concat&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;Quantity&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; ={&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;"=sum(Quantity)&amp;gt;0"&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;}&amp;gt;} &lt;SPAN style="color: #0000ff; font-family: 'Courier New'; font-size: 12px;"&gt;DISTINCT&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;Chr&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;(39) &amp;amp; &lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;Brands &lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;&amp;amp; &lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;Chr&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;(39),',')&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="color: black; font-size: 9.0pt; font-family: arial, helvetica, sans-serif;"&gt;None of them work.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="color: black; font-size: 9.0pt; font-family: arial, helvetica, sans-serif;"&gt;see the file attached.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; font-family: arial, helvetica, sans-serif; color: black;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; font-family: arial, helvetica, sans-serif; color: black;"&gt;Thank you in advance,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; font-family: arial, helvetica, sans-serif; color: black;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;Larisa&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 05 Jul 2015 15:10:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/using-Concat-function-in-a-calculated-dimension/m-p/885885#M308879</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-07-05T15:10:09Z</dc:date>
    </item>
    <item>
      <title>Re: using Concat function in a calculated dimension</title>
      <link>https://community.qlik.com/t5/QlikView/using-Concat-function-in-a-calculated-dimension/m-p/885886#M308880</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Larisa,&lt;/P&gt;&lt;P&gt;Why don't use Aggr() instead ?&lt;/P&gt;&lt;P&gt;Like&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;Aggr&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;(&lt;SPAN style="color: #0000ff;"&gt;If&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;Sum&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;Quantity&lt;/SPAN&gt;) &amp;gt; 0,&lt;SPAN style="color: #800000;"&gt;Brands&lt;/SPAN&gt;),&lt;SPAN style="color: #800000;"&gt;Brands&lt;/SPAN&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Antonio&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 05 Jul 2015 15:24:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/using-Concat-function-in-a-calculated-dimension/m-p/885886#M308880</guid>
      <dc:creator>antoniotiman</dc:creator>
      <dc:date>2015-07-05T15:24:19Z</dc:date>
    </item>
    <item>
      <title>Re: using Concat function in a calculated dimension</title>
      <link>https://community.qlik.com/t5/QlikView/using-Concat-function-in-a-calculated-dimension/m-p/885887#M308881</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You need definitely an aggr to build a calculated dimension:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;aggr(Concat&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;Quantity&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; ={&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;"=sum(Quantity)&amp;gt;0"&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;}&amp;gt;} &lt;SPAN style="color: #0000ff; font-family: 'Courier New'; font-size: 12px;"&gt;DISTINCT&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;Brands&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;,','), Brand)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See: &lt;A href="https://community.qlik.com/qlik-blogpost/3676"&gt;Calculated Dimensions&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 05 Jul 2015 15:28:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/using-Concat-function-in-a-calculated-dimension/m-p/885887#M308881</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2015-07-05T15:28:59Z</dc:date>
    </item>
    <item>
      <title>Re: using Concat function in a calculated dimension</title>
      <link>https://community.qlik.com/t5/QlikView/using-Concat-function-in-a-calculated-dimension/m-p/885888#M308882</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 hope this can help you.&lt;/P&gt;&lt;P&gt;Best regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 05 Jul 2015 15:30:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/using-Concat-function-in-a-calculated-dimension/m-p/885888#M308882</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-07-05T15:30:09Z</dc:date>
    </item>
    <item>
      <title>Re: using Concat function in a calculated dimension</title>
      <link>https://community.qlik.com/t5/QlikView/using-Concat-function-in-a-calculated-dimension/m-p/885889#M308883</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What exactly are you trying to do? You want to see a single bar for all the brands where quantity &amp;gt; 0? Is that your requirement?&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>Sun, 05 Jul 2015 15:34:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/using-Concat-function-in-a-calculated-dimension/m-p/885889#M308883</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-07-05T15:34:30Z</dc:date>
    </item>
    <item>
      <title>Re: using Concat function in a calculated dimension</title>
      <link>https://community.qlik.com/t5/QlikView/using-Concat-function-in-a-calculated-dimension/m-p/885890#M308884</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Giuseppe,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I can't understand why the condition 'sum(Quantity)&amp;gt;0' doesn't work for this dimension. I want to display only those brands in my dimension where the condition &lt;SPAN style="font-size: 13.3333330154419px;"&gt;'sum(Quantity)&amp;gt;0' = truth.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Brands 3,4, 7,8 should not be displayed then.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;see the file attached.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 05 Jul 2015 15:45:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/using-Concat-function-in-a-calculated-dimension/m-p/885890#M308884</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-07-05T15:45:50Z</dc:date>
    </item>
    <item>
      <title>Re: using Concat function in a calculated dimension</title>
      <link>https://community.qlik.com/t5/QlikView/using-Concat-function-in-a-calculated-dimension/m-p/885891#M308885</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Hi Larisa!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Try with this:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;=&lt;SPAN style="color: #0000ff;"&gt;if&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;Aggr&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;sum&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;Quantity&lt;/SPAN&gt;),&lt;SPAN style="color: #800000;"&gt;Brands&lt;/SPAN&gt;)&amp;gt;0,&lt;SPAN style="color: #0000ff;"&gt;Chr&lt;/SPAN&gt;(39)&amp;amp;&lt;SPAN style="color: #800000;"&gt;Brands&lt;/SPAN&gt;&amp;amp;&lt;SPAN style="color: #0000ff;"&gt;Chr&lt;/SPAN&gt;(39) &amp;amp; ' ' &amp;amp; &lt;SPAN style="color: #0000ff;"&gt;Aggr&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;if&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;sum&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;Quantity&lt;/SPAN&gt;)&amp;gt;0,&lt;SPAN style="color: #0000ff;"&gt;sum&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;Quantity&lt;/SPAN&gt;),0),&lt;SPAN style="color: #800000;"&gt;Brands&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;),'') &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 05 Jul 2015 15:52:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/using-Concat-function-in-a-calculated-dimension/m-p/885891#M308885</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-07-05T15:52:08Z</dc:date>
    </item>
    <item>
      <title>Re: using Concat function in a calculated dimension</title>
      <link>https://community.qlik.com/t5/QlikView/using-Concat-function-in-a-calculated-dimension/m-p/885892#M308886</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;this??&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/91910_Capture.PNG" style="height: 230px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dimension: =If(Aggr(Sum(Quantity), Brands)&amp;gt; 0, Brands)&lt;/P&gt;&lt;P&gt;Expression: Sum(Budget)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Uncheck Suppress Zero-Values on Presentation&lt;/P&gt;&lt;P&gt;Check Suppress When Value Is Null&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Attaching the qvw for reference.&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>Sun, 05 Jul 2015 15:59:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/using-Concat-function-in-a-calculated-dimension/m-p/885892#M308886</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-07-05T15:59:16Z</dc:date>
    </item>
  </channel>
</rss>

