<?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: Data issue in back end aggregation in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Data-issue-in-back-end-aggregation/m-p/1216381#M389549</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't even feel performance issue while using this on front-end. Can you share your rows in that object&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;Count(DISTINCT if(cdate&amp;gt;= vStartdate and cdate&amp;lt;=vEnddate and stage_no=1, cookie))&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG style="text-decoration: underline;"&gt;Changed to below&lt;/STRONG&gt; and Try from your end then check how index seems in &lt;STRONG&gt;GDB{&lt;/STRONG&gt;Governance Dashboard&lt;STRONG&gt;} -&amp;nbsp; {&lt;/STRONG&gt;If available}.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;Count({&amp;lt;cdate = {"&amp;gt;= $(vStartdate) &amp;lt;= $(vEnddate)"}, stage_no={'1'}&amp;gt;} DISTINCT cookie)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;The reason i am feeling change is, Aggregation good and works too in script level. But, It effect to the DM&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 02 Mar 2017 07:10:18 GMT</pubDate>
    <dc:creator>Anil_Babu_Samineni</dc:creator>
    <dc:date>2017-03-02T07:10:18Z</dc:date>
    <item>
      <title>Data issue in back end aggregation</title>
      <link>https://community.qlik.com/t5/QlikView/Data-issue-in-back-end-aggregation/m-p/1216380#M389548</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;we are planning a&amp;nbsp; search dashboard with the data was huge we did some front aggregations like (count(distinct) in the dashboard but for optimization purpose my manger told me to all the &lt;SPAN style="font-size: 13.3333px;"&gt;aggregations &lt;/SPAN&gt;,if i did back end &lt;SPAN style="font-size: 13.3333px;"&gt;aggregations &lt;/SPAN&gt; my data was getting doubled &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Example : Count(DISTINCT if(cdate&amp;gt;= vStartdate and cdate&amp;lt;=vEnddate and stage_no=1, cookie))&amp;nbsp; the value was 63130&lt;/P&gt;&lt;P&gt;with &lt;SPAN style="font-size: 13.3333px;"&gt;aggregationed &lt;/SPAN&gt;changes in the backend&amp;nbsp; i used this formula &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sum&lt;SPAN style="font-size: 13.3333px;"&gt;(DISTINCT if(cdate&amp;gt;= vStartdate and cdate&amp;lt;=vEnddate and stage_no=1, Search) the value was 124212&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;it was doubled and it was wrong , i tried so many changes i commented the stages and cookie columns but the result was same &lt;/P&gt;&lt;P&gt;i'm sharing the code which i used &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SEARCH:&lt;/P&gt;&lt;P&gt;LOAD &lt;/P&gt;&lt;P&gt;autonumber(cookie &amp;amp; cdate) as cookie, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; date(cdate) as&amp;nbsp; cdate,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MonthName(cdate) as c_Month, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; channel, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; stage, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; stage_no, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Booking_no,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; test_ids&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;&lt;D&gt;&lt;/D&gt;&lt;/P&gt;&lt;P&gt;(qvd)&lt;/P&gt;&lt;P&gt;where&amp;nbsp;&amp;nbsp; match(stage_no,'1','5','7','8','9','10')&lt;/P&gt;&lt;P&gt; and cookie &amp;lt;&amp;gt;'Unknown' and match(channel,'SITE','MOBILE'); &lt;/P&gt;&lt;P&gt;&amp;nbsp; NoConcatenate&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SEARCH1:&lt;/P&gt;&lt;P&gt; LOAD&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; cookie,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; cdate,&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; channel,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; stage, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; stage_no, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Booking_no,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; test_ids&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; count(DISTINCT if( stage='1', cookie)) as STAGE1,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Count( DISTINCT if( stage=8, cookie)) as STAGE2,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Count( DISTINCT if( stage=9, cookie)) as STAGE3,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Count( DISTINCT if(stage=10, cookie)) as STAGE4,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Count( DISTINCT if( stage=7, cookie)) as STAGE5,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Resident SEARCH&lt;/P&gt;&lt;P&gt;where&amp;nbsp; match(channel,'SITE') AND len(test_ids)&amp;gt;0 &lt;/P&gt;&lt;P&gt;group by&lt;/P&gt;&lt;P&gt;apache_cookie, &lt;/P&gt;&lt;P&gt;&amp;nbsp; cookie,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; cdate,&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; c_Week,&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; c_Week, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; channel,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; domain, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; stage, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; stage_no, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; sector, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Booking_no,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; test_ids&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; drop table SEARCH;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Pardhu &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Mar 2017 06:53:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Data-issue-in-back-end-aggregation/m-p/1216380#M389548</guid>
      <dc:creator>saradhi_it</dc:creator>
      <dc:date>2017-03-02T06:53:25Z</dc:date>
    </item>
    <item>
      <title>Re: Data issue in back end aggregation</title>
      <link>https://community.qlik.com/t5/QlikView/Data-issue-in-back-end-aggregation/m-p/1216381#M389549</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't even feel performance issue while using this on front-end. Can you share your rows in that object&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;Count(DISTINCT if(cdate&amp;gt;= vStartdate and cdate&amp;lt;=vEnddate and stage_no=1, cookie))&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG style="text-decoration: underline;"&gt;Changed to below&lt;/STRONG&gt; and Try from your end then check how index seems in &lt;STRONG&gt;GDB{&lt;/STRONG&gt;Governance Dashboard&lt;STRONG&gt;} -&amp;nbsp; {&lt;/STRONG&gt;If available}.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;Count({&amp;lt;cdate = {"&amp;gt;= $(vStartdate) &amp;lt;= $(vEnddate)"}, stage_no={'1'}&amp;gt;} DISTINCT cookie)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;The reason i am feeling change is, Aggregation good and works too in script level. But, It effect to the DM&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Mar 2017 07:10:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Data-issue-in-back-end-aggregation/m-p/1216381#M389549</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-03-02T07:10:18Z</dc:date>
    </item>
    <item>
      <title>Re: Data issue in back end aggregation</title>
      <link>https://community.qlik.com/t5/QlikView/Data-issue-in-back-end-aggregation/m-p/1216382#M389550</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Actually the data was historical and we are thinking if the data was &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; background-color: #f2f2f2;"&gt;Aggregation &lt;/SPAN&gt; in the backend we are assuming it will decrease dashboard size &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Mar 2017 07:18:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Data-issue-in-back-end-aggregation/m-p/1216382#M389550</guid>
      <dc:creator>saradhi_it</dc:creator>
      <dc:date>2017-03-02T07:18:12Z</dc:date>
    </item>
    <item>
      <title>Re: Data issue in back end aggregation</title>
      <link>https://community.qlik.com/t5/QlikView/Data-issue-in-back-end-aggregation/m-p/1216383#M389551</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;True, I agree for your way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But, In script i didn't feel any wrong. So, I will explain you one thing&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Recently(8 Months back) i did Aggregation on script only. After that i removed that &lt;STRONG&gt;Pivot&lt;/STRONG&gt; / &lt;STRONG&gt;Straight&lt;/STRONG&gt; objects and used &lt;STRONG&gt;Table box &lt;/STRONG&gt;for Aggregation fields simply and then It showing Out of memory with &lt;STRONG style="text-decoration: underline;"&gt;X&lt;/STRONG&gt; Mark. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope clear and helps to you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Mar 2017 07:26:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Data-issue-in-back-end-aggregation/m-p/1216383#M389551</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-03-02T07:26:14Z</dc:date>
    </item>
    <item>
      <title>Re: Data issue in back end aggregation</title>
      <link>https://community.qlik.com/t5/QlikView/Data-issue-in-back-end-aggregation/m-p/1216384#M389552</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the set analysis was not working showing zero values &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Mar 2017 09:52:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Data-issue-in-back-end-aggregation/m-p/1216384#M389552</guid>
      <dc:creator>saradhi_it</dc:creator>
      <dc:date>2017-03-02T09:52:49Z</dc:date>
    </item>
    <item>
      <title>Re: Data issue in back end aggregation</title>
      <link>https://community.qlik.com/t5/QlikView/Data-issue-in-back-end-aggregation/m-p/1216385#M389553</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It should work, Can you share the snap where it is not working &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Mar 2017 10:42:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Data-issue-in-back-end-aggregation/m-p/1216385#M389553</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-03-02T10:42:30Z</dc:date>
    </item>
  </channel>
</rss>

