<?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: Aggregation on Calculated Dimension in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Aggregation-on-Calculated-Dimension/m-p/1408603#M797019</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm, doing it chart wise; I've tried the expressions you've suggested but&amp;nbsp; they are returning 0 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any clue what could be going wrong?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I appreciate your help. Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 15 Dec 2017 14:59:58 GMT</pubDate>
    <dc:creator>achakilam1022</dc:creator>
    <dc:date>2017-12-15T14:59:58Z</dc:date>
    <item>
      <title>Aggregation on Calculated Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Aggregation-on-Calculated-Dimension/m-p/1408599#M797010</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've a calculated dimension 'FinalSegment' and I need to create a Cost measure which uses aggregation on FinalSegment. I tried the following and it didn't work. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've created variable &lt;SPAN style="font-size: 10pt;"&gt;vFinalSegment :&amp;nbsp; if(len(trim(Segment))=0,Segment_2,Segment)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Cost =&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sum(aggr(Cost, ID,Buyer,$(vFinalSegment) ))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;But, this &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;measure&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp; returns 0.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;May I know how to do this?&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Thanks!&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggregation-on-Calculated-Dimension/m-p/1408599#M797010</guid>
      <dc:creator>achakilam1022</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Aggregation on Calculated Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Aggregation-on-Calculated-Dimension/m-p/1408600#M797013</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;try like this&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Method 1:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;create calculated dimension&lt;/P&gt;&lt;P&gt;aggr(sum( {$&amp;lt;Segment={"=len(trim(Segment))&amp;lt;=0"}&amp;gt;}cost),Segment_2,Segment)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;method 2: &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;dimension:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Segment&lt;/P&gt;&lt;P&gt;Segment_2&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Measure:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;sum( {$&amp;lt;Segment={"=len(trim(Segment))&amp;lt;=0"}&amp;gt;}cost)&lt;/P&gt;&lt;P&gt;if still not working, try to share mock data with expected output in excel format&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Deva&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Dec 2017 22:18:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggregation-on-Calculated-Dimension/m-p/1408600#M797013</guid>
      <dc:creator>devarasu07</dc:creator>
      <dc:date>2017-12-14T22:18:27Z</dc:date>
    </item>
    <item>
      <title>Re: Aggregation on Calculated Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Aggregation-on-Calculated-Dimension/m-p/1408601#M797015</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you replace it to first place&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;Sum(aggr(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;&lt;STRONG&gt;$(vFinalSegment),&lt;/STRONG&gt;&lt;/SPAN&gt;Cost, ID,Buyer))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Dec 2017 02:00:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggregation-on-Calculated-Dimension/m-p/1408601#M797015</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-12-15T02:00:51Z</dc:date>
    </item>
    <item>
      <title>Re: Aggregation on Calculated Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Aggregation-on-Calculated-Dimension/m-p/1408602#M797017</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13.3333px;"&gt;Are you evaluating your variable rowwise or chartwise? For chart wise, may be try one of the two:&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;&lt;STRONG&gt;Sum(Aggr(Cost, ID, Buyer, $(&lt;SPAN style="color: #ff0000;"&gt;=&lt;/SPAN&gt;vFinalSegment)))&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Or &lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;Sum(Aggr(Cost, ID, Buyer, &lt;SPAN style="color: #ff0000;"&gt;$(=&lt;/SPAN&gt;$(vFinalSegment)&lt;SPAN style="color: #ff0000;"&gt;)&lt;/SPAN&gt;))&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;or if this is row wise, may be this&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG style="font-size: 13.3333px; color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Sum(Aggr(Cost, ID, Buyer, &lt;/STRONG&gt;&lt;STRONG style="font-size: 13.3333px; color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;SPAN style="color: #ff0000;"&gt;Segment_2, Segment&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d;"&gt;))&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Dec 2017 10:52:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggregation-on-Calculated-Dimension/m-p/1408602#M797017</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-12-15T10:52:15Z</dc:date>
    </item>
    <item>
      <title>Re: Aggregation on Calculated Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Aggregation-on-Calculated-Dimension/m-p/1408603#M797019</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm, doing it chart wise; I've tried the expressions you've suggested but&amp;nbsp; they are returning 0 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any clue what could be going wrong?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I appreciate your help. Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Dec 2017 14:59:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggregation-on-Calculated-Dimension/m-p/1408603#M797019</guid>
      <dc:creator>achakilam1022</dc:creator>
      <dc:date>2017-12-15T14:59:58Z</dc:date>
    </item>
    <item>
      <title>Re: Aggregation on Calculated Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Aggregation-on-Calculated-Dimension/m-p/1408604#M797020</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Would you be able to share a sample to check this out?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Dec 2017 23:43:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggregation-on-Calculated-Dimension/m-p/1408604#M797020</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-12-18T23:43:00Z</dc:date>
    </item>
    <item>
      <title>Re: Aggregation on Calculated Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Aggregation-on-Calculated-Dimension/m-p/1408605#M797021</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've made some changes in script load editor&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I appreciate your help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Dec 2017 18:35:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggregation-on-Calculated-Dimension/m-p/1408605#M797021</guid>
      <dc:creator>achakilam1022</dc:creator>
      <dc:date>2017-12-21T18:35:56Z</dc:date>
    </item>
  </channel>
</rss>

