<?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 Passing the first dimension to Aggr function or Total function in set in pivot chart ? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Passing-the-first-dimension-to-Aggr-function-or-Total-function/m-p/1043133#M943530</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hii folks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Suppose i am having 3 dimensions in a pivot chart as zone,region,branch and i m show sum(sales) as expression.&lt;/P&gt;&lt;P&gt;Now i want to add another expression - something like &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;aggr(NODISTINCT sum(Sales),(FirstDimension))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum(TOTAL&amp;lt;&lt;SPAN style="font-size: 13.3333px;"&gt;FirstDimension&lt;/SPAN&gt;&amp;gt; Sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i.e if Zone is the first dimension of the chart output should be zone wise totals , if users drags the dimension and makes region as the first dimension in the chart then output should be Regionwise totals.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this possible ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Rohan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-users/23109"&gt;jagan&lt;/A&gt;‌&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 07 Jan 2016 09:22:43 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-01-07T09:22:43Z</dc:date>
    <item>
      <title>Passing the first dimension to Aggr function or Total function in set in pivot chart ?</title>
      <link>https://community.qlik.com/t5/QlikView/Passing-the-first-dimension-to-Aggr-function-or-Total-function/m-p/1043133#M943530</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hii folks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Suppose i am having 3 dimensions in a pivot chart as zone,region,branch and i m show sum(sales) as expression.&lt;/P&gt;&lt;P&gt;Now i want to add another expression - something like &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;aggr(NODISTINCT sum(Sales),(FirstDimension))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum(TOTAL&amp;lt;&lt;SPAN style="font-size: 13.3333px;"&gt;FirstDimension&lt;/SPAN&gt;&amp;gt; Sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i.e if Zone is the first dimension of the chart output should be zone wise totals , if users drags the dimension and makes region as the first dimension in the chart then output should be Regionwise totals.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this possible ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Rohan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-users/23109"&gt;jagan&lt;/A&gt;‌&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jan 2016 09:22:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Passing-the-first-dimension-to-Aggr-function-or-Total-function/m-p/1043133#M943530</guid>
      <dc:creator />
      <dc:date>2016-01-07T09:22:43Z</dc:date>
    </item>
    <item>
      <title>Re: Passing the first dimension to Aggr function or Total function in set in pivot chart ?</title>
      <link>https://community.qlik.com/t5/QlikView/Passing-the-first-dimension-to-Aggr-function-or-Total-function/m-p/1043134#M943531</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="text-decoration: line-through;"&gt;I don't think this would be possible. A not so efficient work around would be to have overlapping charts which hide show based on button may be where each chart have one of the dimension as the first dimension.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jan 2016 09:55:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Passing-the-first-dimension-to-Aggr-function-or-Total-function/m-p/1043134#M943531</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-01-07T09:55:35Z</dc:date>
    </item>
    <item>
      <title>Re: Passing the first dimension to Aggr function or Total function in set in pivot chart ?</title>
      <link>https://community.qlik.com/t5/QlikView/Passing-the-first-dimension-to-Aggr-function-or-Total-function/m-p/1043135#M943532</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Agreed with you Sunny...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But one thing, If this scenario comes in Adhoc Reporting, where user will be picking the dimension you dont think using variables and FieldSelection combination and we can make it dynamic.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I mean to say, I am putting the First selected value of dimension into a variable and then using that variable in grouping..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this not possible? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jan 2016 10:09:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Passing-the-first-dimension-to-Aggr-function-or-Total-function/m-p/1043135#M943532</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-01-07T10:09:02Z</dc:date>
    </item>
    <item>
      <title>Re: Passing the first dimension to Aggr function or Total function in set in pivot chart ?</title>
      <link>https://community.qlik.com/t5/QlikView/Passing-the-first-dimension-to-Aggr-function-or-Total-function/m-p/1043136#M943533</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It might work. Will have to be tested out.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jan 2016 10:10:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Passing-the-first-dimension-to-Aggr-function-or-Total-function/m-p/1043136#M943533</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-01-07T10:10:22Z</dc:date>
    </item>
    <item>
      <title>Re: Passing the first dimension to Aggr function or Total function in set in pivot chart ?</title>
      <link>https://community.qlik.com/t5/QlikView/Passing-the-first-dimension-to-Aggr-function-or-Total-function/m-p/1043137#M943534</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am having Adhoc reporting itself , and in the scenario mentioned by you what if a user selects more than 1 dimension in adhoc , in such case how will qlikview identify which is the first selected Dimension that should be passed to the variable ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jan 2016 10:15:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Passing-the-first-dimension-to-Aggr-function-or-Total-function/m-p/1043137#M943534</guid>
      <dc:creator />
      <dc:date>2016-01-07T10:15:46Z</dc:date>
    </item>
    <item>
      <title>Re: Passing the first dimension to Aggr function or Total function in set in pivot chart ?</title>
      <link>https://community.qlik.com/t5/QlikView/Passing-the-first-dimension-to-Aggr-function-or-Total-function/m-p/1043138#M943535</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think, this is what Rohan is asking..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As per him&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;i.e if Zone is the first dimension of the chart output should be zone wise totals , if users drags the dimension and makes region as the first dimension in the chart then output should be Regionwise totals.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jan 2016 10:28:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Passing-the-first-dimension-to-Aggr-function-or-Total-function/m-p/1043138#M943535</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-01-07T10:28:16Z</dc:date>
    </item>
    <item>
      <title>Re: Passing the first dimension to Aggr function or Total function in set in pivot chart ?</title>
      <link>https://community.qlik.com/t5/QlikView/Passing-the-first-dimension-to-Aggr-function-or-Total-function/m-p/1043139#M943536</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes u are correct balraj.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What i want is something like -&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;aggr(NODISTINCT sum(Sales),getobjectfield(0)))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-GetObjetcfield(0) gives me the name of my first dimension,however i am not able to pass it to AGGR fuction as a dimension.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jan 2016 10:32:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Passing-the-first-dimension-to-Aggr-function-or-Total-function/m-p/1043139#M943536</guid>
      <dc:creator />
      <dc:date>2016-01-07T10:32:06Z</dc:date>
    </item>
    <item>
      <title>Re: Passing the first dimension to Aggr function or Total function in set in pivot chart ?</title>
      <link>https://community.qlik.com/t5/QlikView/Passing-the-first-dimension-to-Aggr-function-or-Total-function/m-p/1043140#M943537</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I guess you were right. It can work. Try it out &lt;A _jive_internal="true" href="https://community.qlik.com/people/Rohan_Rane"&gt;Rohan Rane&lt;/A&gt;‌&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/110890_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Selection in vDim1 will drive the output of the second expression here (&lt;STRONG&gt;=Sum(TOTAL &amp;lt;$(vDim1)&amp;gt;Value)&lt;/STRONG&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;A href="https://community.qlik.com/qlik-users/147249"&gt;balrajahlawat&lt;/A&gt;‌ for forcing me to reconsider.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jan 2016 10:34:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Passing-the-first-dimension-to-Aggr-function-or-Total-function/m-p/1043140#M943537</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-01-07T10:34:44Z</dc:date>
    </item>
    <item>
      <title>Re: Passing the first dimension to Aggr function or Total function in set in pivot chart ?</title>
      <link>https://community.qlik.com/t5/QlikView/Passing-the-first-dimension-to-Aggr-function-or-Total-function/m-p/1043141#M943538</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did not force you&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/wink.png" /&gt;. Just shared my thoughts with you&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jan 2016 10:38:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Passing-the-first-dimension-to-Aggr-function-or-Total-function/m-p/1043141#M943538</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-01-07T10:38:56Z</dc:date>
    </item>
    <item>
      <title>Re: Passing the first dimension to Aggr function or Total function in set in pivot chart ?</title>
      <link>https://community.qlik.com/t5/QlikView/Passing-the-first-dimension-to-Aggr-function-or-Total-function/m-p/1043142#M943539</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your thoughts forced me to reconsider &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/wink.png" /&gt;, how about that?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jan 2016 10:39:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Passing-the-first-dimension-to-Aggr-function-or-Total-function/m-p/1043142#M943539</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-01-07T10:39:43Z</dc:date>
    </item>
    <item>
      <title>Re: Passing the first dimension to Aggr function or Total function in set in pivot chart ?</title>
      <link>https://community.qlik.com/t5/QlikView/Passing-the-first-dimension-to-Aggr-function-or-Total-function/m-p/1043143#M943540</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thats right&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/laugh.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jan 2016 10:41:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Passing-the-first-dimension-to-Aggr-function-or-Total-function/m-p/1043143#M943540</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-01-07T10:41:34Z</dc:date>
    </item>
    <item>
      <title>Re: Passing the first dimension to Aggr function or Total function in set in pivot chart ?</title>
      <link>https://community.qlik.com/t5/QlikView/Passing-the-first-dimension-to-Aggr-function-or-Total-function/m-p/1043144#M943541</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello both,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i finally found a dynamic solution to this requirement without the use of input box or variables -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum(TOTAL&amp;lt;$(=GetObjectField(0,'CH24'))&amp;gt; Sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;aggr(NODISTINCT sum(Sales),$(=GetObjectField(0,'CH24')))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your solutions as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rohan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jan 2016 12:33:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Passing-the-first-dimension-to-Aggr-function-or-Total-function/m-p/1043144#M943541</guid>
      <dc:creator />
      <dc:date>2016-01-12T12:33:19Z</dc:date>
    </item>
    <item>
      <title>Re: Passing the first dimension to Aggr function or Total function in set in pivot chart ?</title>
      <link>https://community.qlik.com/t5/QlikView/Passing-the-first-dimension-to-Aggr-function-or-Total-function/m-p/1043145#M943542</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for sharing that Rohan. This is the first time I am seeing that function. I think this is going to be a very useful function.&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>Tue, 12 Jan 2016 16:58:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Passing-the-first-dimension-to-Aggr-function-or-Total-function/m-p/1043145#M943542</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-01-12T16:58:00Z</dc:date>
    </item>
    <item>
      <title>Re: Passing the first dimension to Aggr function or Total function in set in pivot chart ?</title>
      <link>https://community.qlik.com/t5/QlikView/Passing-the-first-dimension-to-Aggr-function-or-Total-function/m-p/1043146#M943543</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your Welcome,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rohan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jan 2016 04:52:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Passing-the-first-dimension-to-Aggr-function-or-Total-function/m-p/1043146#M943543</guid>
      <dc:creator />
      <dc:date>2016-01-13T04:52:58Z</dc:date>
    </item>
    <item>
      <title>Re: Passing the first dimension to Aggr function or Total function in set in pivot chart ?</title>
      <link>https://community.qlik.com/t5/QlikView/Passing-the-first-dimension-to-Aggr-function-or-Total-function/m-p/2103571#M1224361</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I tried but it's not working in AD-Hoc pivot.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Aug 2023 14:24:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Passing-the-first-dimension-to-Aggr-function-or-Total-function/m-p/2103571#M1224361</guid>
      <dc:creator>rajeshwar1</dc:creator>
      <dc:date>2023-08-08T14:24:44Z</dc:date>
    </item>
    <item>
      <title>Re: Passing the first dimension to Aggr function or Total function in set in pivot chart ?</title>
      <link>https://community.qlik.com/t5/QlikView/Passing-the-first-dimension-to-Aggr-function-or-Total-function/m-p/2443432#M1225610</link>
      <description>&lt;P&gt;If dimension name has blank symbols , try like this:&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;sum(TOTAL&amp;lt;&lt;STRONG&gt;"$(=GetObjectDimension(0))"&lt;/STRONG&gt;)&amp;gt; Sales)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;QS give error in expression, but work!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Apr 2024 10:08:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Passing-the-first-dimension-to-Aggr-function-or-Total-function/m-p/2443432#M1225610</guid>
      <dc:creator>Fran_by</dc:creator>
      <dc:date>2024-04-22T10:08:59Z</dc:date>
    </item>
  </channel>
</rss>

