<?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: Need help in using Aggr Function in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Need-help-in-using-Aggr-Function/m-p/397242#M558361</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks wassennar, it is working.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 22 May 2013 16:44:50 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-05-22T16:44:50Z</dc:date>
    <item>
      <title>Need help in using Aggr Function</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-in-using-Aggr-Function/m-p/397240#M558359</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 have the sales data at State level and Regions is mapped to state as below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="192"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD height="20" width="64"&gt;State&lt;/TD&gt;&lt;TD width="64"&gt;Region&lt;/TD&gt;&lt;TD width="64"&gt;Sales&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="20"&gt;S1&lt;/TD&gt;&lt;TD&gt;R1&lt;/TD&gt;&lt;TD align="right"&gt;10&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="20"&gt;S2&lt;/TD&gt;&lt;TD&gt;R2&lt;/TD&gt;&lt;TD align="right"&gt;20&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="20"&gt;S3&lt;/TD&gt;&lt;TD&gt;R1&lt;/TD&gt;&lt;TD align="right"&gt;30&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="20"&gt;S4&lt;/TD&gt;&lt;TD&gt;R2&lt;/TD&gt;&lt;TD align="right"&gt;40&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="20"&gt;S5&lt;/TD&gt;&lt;TD&gt;R1&lt;/TD&gt;&lt;TD align="right"&gt;50&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and i have to show a straight table in qlikview like below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="WIDTH: 294px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl65" height="17" width="98"&gt;State&lt;/TD&gt;&lt;TD class="xl65" style="border-left: medium none;" width="98"&gt;State Sales&lt;/TD&gt;&lt;TD class="xl65" style="border-left: medium none;" width="98"&gt;Regional Sales&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl69" height="17" style="border-top: medium none;"&gt;S1&lt;/TD&gt;&lt;TD class="xl68" style="border-left: medium none; border-top: medium none;"&gt;10&lt;/TD&gt;&lt;TD class="xl66" style="border-left: medium none; border-top: medium none;"&gt;90&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl69" height="17" style="border-top: medium none;"&gt;S2&lt;/TD&gt;&lt;TD class="xl68" style="border-left: medium none; border-top: medium none;"&gt;20&lt;/TD&gt;&lt;TD class="xl66" style="border-left: medium none; border-top: medium none;"&gt;60&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl69" height="17" style="border-top: medium none;"&gt;S3&lt;/TD&gt;&lt;TD class="xl68" style="border-left: medium none; border-top: medium none;"&gt;30&lt;/TD&gt;&lt;TD class="xl66" style="border-left: medium none; border-top: medium none;"&gt;90&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl69" height="17" style="border-top: medium none;"&gt;S4&lt;/TD&gt;&lt;TD class="xl68" style="border-left: medium none; border-top: medium none;"&gt;40&lt;/TD&gt;&lt;TD class="xl66" style="border-left: medium none; border-top: medium none;"&gt;60&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl69" height="17" style="border-top: medium none;"&gt;S5&lt;/TD&gt;&lt;TD class="xl68" style="border-left: medium none; border-top: medium none;"&gt;50&lt;/TD&gt;&lt;TD class="xl66" style="border-left: medium none; border-top: medium none;"&gt;90&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I created a table with dimension as 'State' and created two expressions as below&lt;/P&gt;&lt;P&gt;1. 'Sum(Sales)' to show State Sales&lt;/P&gt;&lt;P&gt;2. 'Sum(aggr(Sum({&amp;lt;State=&amp;gt;}Sales),Region))' to show Regional sales&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But the aggr function is showing aggregated value for one state per region and rest of the values it is showing 0's.&lt;/P&gt;&lt;P&gt;Here is the output am getting&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="294"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl65" height="17" width="98"&gt;State&lt;/TD&gt;&lt;TD class="xl65" style="border-left: medium none;" width="98"&gt;State Sales&lt;/TD&gt;&lt;TD class="xl65" style="border-left: medium none;" width="98"&gt;Regional Sales&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl69" height="17" style="border-top: medium none;"&gt;S1&lt;/TD&gt;&lt;TD class="xl68" style="border-left: medium none; border-top: medium none;"&gt;10&lt;/TD&gt;&lt;TD class="xl66" style="border-left: medium none; border-top: medium none;"&gt;90&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl69" height="17" style="border-top: medium none;"&gt;S2&lt;/TD&gt;&lt;TD class="xl68" style="border-left: medium none; border-top: medium none;"&gt;20&lt;/TD&gt;&lt;TD class="xl66" style="border-left: medium none; border-top: medium none;"&gt;60&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl69" height="17" style="border-top: medium none;"&gt;S3&lt;/TD&gt;&lt;TD class="xl68" style="border-left: medium none; border-top: medium none;"&gt;30&lt;/TD&gt;&lt;TD class="xl66" style="border-left: medium none; border-top: medium none;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl69" height="17" style="border-top: medium none;"&gt;S4&lt;/TD&gt;&lt;TD class="xl68" style="border-left: medium none; border-top: medium none;"&gt;40&lt;/TD&gt;&lt;TD class="xl66" style="border-left: medium none; border-top: medium none;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl69" height="17" style="border-top: medium none;"&gt;S5&lt;/TD&gt;&lt;TD class="xl68" style="border-left: medium none; border-top: medium none;"&gt;50&lt;/TD&gt;&lt;TD class="xl66" style="border-left: medium none; border-top: medium none;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there anything wrong with the expression that i used for Regional Sales? Please somebody help me to get the regional values for every state.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Manu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 May 2013 16:29:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-in-using-Aggr-Function/m-p/397240#M558359</guid>
      <dc:creator />
      <dc:date>2013-05-22T16:29:31Z</dc:date>
    </item>
    <item>
      <title>Re: Need help in using Aggr Function</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-in-using-Aggr-Function/m-p/397241#M558360</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try: aggr(&lt;STRONG&gt;nodistinct&lt;/STRONG&gt; sum(Sales),Region)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 May 2013 16:36:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-in-using-Aggr-Function/m-p/397241#M558360</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2013-05-22T16:36:52Z</dc:date>
    </item>
    <item>
      <title>Re: Need help in using Aggr Function</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-in-using-Aggr-Function/m-p/397242#M558361</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks wassennar, it is working.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 May 2013 16:44:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-in-using-Aggr-Function/m-p/397242#M558361</guid>
      <dc:creator />
      <dc:date>2013-05-22T16:44:50Z</dc:date>
    </item>
    <item>
      <title>Re: Need help in using Aggr Function</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-in-using-Aggr-Function/m-p/397243#M558362</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi wassenar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am facing one more problem, It'll be helpful if you suggest a solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I created a bookmark as 'BM01' and i am updating this bookmark on click of a button. For button i added a replace bookmark action.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This functionality is working fine in qlikview desktop but after deploying in server, the bookmark is not getting replaced.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any policy/settigs need to be changed?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Manu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 May 2013 07:26:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-in-using-Aggr-Function/m-p/397243#M558362</guid>
      <dc:creator />
      <dc:date>2013-05-23T07:26:22Z</dc:date>
    </item>
    <item>
      <title>Re: Need help in using Aggr Function</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-in-using-Aggr-Function/m-p/397244#M558363</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The document is always read-only on the server. That means document bookmarks can't be replaced. You'll have to enable Server Bookmarks instead on the server. In the QMC go to Document Properties -&amp;gt; Server -&amp;gt; Server Objects and enable both "Allow Server Objects" and&amp;nbsp; "Allow Server Bookmarks". Users can then create and replace their own bookmarks.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 May 2013 08:58:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-in-using-Aggr-Function/m-p/397244#M558363</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2013-05-23T08:58:27Z</dc:date>
    </item>
    <item>
      <title>Re: Need help in using Aggr Function</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-in-using-Aggr-Function/m-p/397245#M558364</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Both are already enabled but still the Document Bookmarks (BM01) which i created is not getting replaced. More over if you open the application on server, i am not getting options to replace document bookmark, i can only replace 'My Bookmarks'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actually i created one document bookmark and i wanted user to replace the same bookmark if he wants.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I created a button in the application to replace this document bookmark. Is there any option to replace document bookmarks dynamically?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 May 2013 09:35:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-in-using-Aggr-Function/m-p/397245#M558364</guid>
      <dc:creator />
      <dc:date>2013-05-23T09:35:10Z</dc:date>
    </item>
    <item>
      <title>Re: Need help in using Aggr Function</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-in-using-Aggr-Function/m-p/397246#M558365</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Wassenar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I understood that we can't replace document bookmarks on server, but is there any way to replace server bookmarks on click of button without using macros.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help,&lt;/P&gt;&lt;P&gt;Manu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 May 2013 10:21:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-in-using-Aggr-Function/m-p/397246#M558365</guid>
      <dc:creator />
      <dc:date>2013-05-23T10:21:32Z</dc:date>
    </item>
  </channel>
</rss>

