<?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: Aggr in Adhoc Report in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Aggr-in-Adhoc-Report/m-p/657253#M239972</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Saurabh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not sure about why it is not working, you have any spaces or special characters in field values?&amp;nbsp; If possible attach sample file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 22 Sep 2014 05:34:36 GMT</pubDate>
    <dc:creator>jagan</dc:creator>
    <dc:date>2014-09-22T05:34:36Z</dc:date>
    <item>
      <title>Aggr in Adhoc Report</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-in-Adhoc-Report/m-p/657248#M239967</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp; ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i am facing an issue , i was not getting the correct sum in expression so i used aggr in expression in Adhoc report . but i have 45 dimensions in adhoc report so dont want to write all the dimensions in the aggr.&lt;/P&gt;&lt;P&gt;so&amp;nbsp; i tried like&lt;/P&gt;&lt;P&gt;=sum(aggr(Count(Distinct [Customer Customer_code]),concat(AdHocTotalCustomer_DimensionTree,',')))&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;=sum(aggr(Count(Distinct [Customer Customer_code]),GetFieldSelections(AdHocTotalCustomer_DimensionTree))).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;These&amp;nbsp; expression did not work for me .&amp;nbsp; Kindly suggest something.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Sep 2014 02:57:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-in-Adhoc-Report/m-p/657248#M239967</guid>
      <dc:creator />
      <dc:date>2014-09-22T02:57:16Z</dc:date>
    </item>
    <item>
      <title>Re: Aggr in Adhoc Report</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-in-Adhoc-Report/m-p/657249#M239968</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Saurabh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create a variable &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vSelectedDim ::: =GetFieldSelections(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;AdHocTotalCustomer_DimensionTree&lt;/SPAN&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and use expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=sum(aggr(Count(Distinct &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;[Customer Customer_code]&lt;/SPAN&gt;), $(vSelectedDim)))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Sep 2014 03:55:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-in-Adhoc-Report/m-p/657249#M239968</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2014-09-22T03:55:37Z</dc:date>
    </item>
    <item>
      <title>Re: Aggr in Adhoc Report</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-in-Adhoc-Report/m-p/657250#M239969</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jagan &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for reply .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i tried the same . its not working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Saurabh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Sep 2014 04:12:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-in-Adhoc-Report/m-p/657250#M239969</guid>
      <dc:creator />
      <dc:date>2014-09-22T04:12:33Z</dc:date>
    </item>
    <item>
      <title>Re: Aggr in Adhoc Report</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-in-Adhoc-Report/m-p/657251#M239970</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 checked this in the sample attached in the below link, it is working&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" class="j-search-result-value" href="https://community.qlik.com/docs/DOC-5404" style="margin: 0 0 3px; font-weight: bold; font-size: 15px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3778c7;"&gt;&lt;SPAN class="j-search-result-title" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;EM class="jive-hilite" style="font-family: inherit; background-color: #ffffcd;"&gt;Adhoc&lt;/EM&gt; reporting in Qlikview&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="j-search-result-title" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="j-search-result-title" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;Did you given = in variable declaration?&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="j-search-result-title" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="j-search-result-title" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="j-search-result-title" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;Jagan.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Sep 2014 04:55:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-in-Adhoc-Report/m-p/657251#M239970</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2014-09-22T04:55:35Z</dc:date>
    </item>
    <item>
      <title>Re: Aggr in Adhoc Report</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-in-Adhoc-Report/m-p/657252#M239971</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i used below mentioned variable &amp;amp; expression. but it did work .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vSelectedDim&lt;/P&gt;&lt;P&gt;=GetFieldSelections(AdHocTotalCustomer_DimensionTree)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expression&lt;/P&gt;&lt;P&gt;=sum(aggr(Count(Distinct [Customer Customer_code]), $(vSelectedDim)))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Sep 2014 05:30:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-in-Adhoc-Report/m-p/657252#M239971</guid>
      <dc:creator />
      <dc:date>2014-09-22T05:30:53Z</dc:date>
    </item>
    <item>
      <title>Re: Aggr in Adhoc Report</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-in-Adhoc-Report/m-p/657253#M239972</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Saurabh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not sure about why it is not working, you have any spaces or special characters in field values?&amp;nbsp; If possible attach sample file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Sep 2014 05:34:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-in-Adhoc-Report/m-p/657253#M239972</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2014-09-22T05:34:36Z</dc:date>
    </item>
  </channel>
</rss>

