<?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: Set Analysis: ignore selection for a function in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-Analysis-ignore-selection-for-a-function/m-p/11088#M771543</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No, this is actually the correct way of doing it. The variable can take parameters, but after all, you are using two different expressions which need to have their own set analysis each, one for GROSS_REGION and the other for COMPANY_REGION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe you could take a look at alternate states:&lt;/P&gt;&lt;P&gt;&lt;A href="https://help.qlik.com/en-US/qlikview/November2017/Subsystems/Client/Content/Alternate%20States.htm" title="https://help.qlik.com/en-US/qlikview/November2017/Subsystems/Client/Content/Alternate%20States.htm"&gt;https://help.qlik.com/en-US/qlikview/November2017/Subsystems/Client/Content/Alternate%20States.htm&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 25 May 2018 08:20:19 GMT</pubDate>
    <dc:creator>Miguel_Angel_Baeyens</dc:creator>
    <dc:date>2018-05-25T08:20:19Z</dc:date>
    <item>
      <title>Set Analysis: ignore selection for a function</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-ignore-selection-for-a-function/m-p/11085#M771540</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everybody,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to display in my chart only the value for Company Name = A disregarding selection. It should be always A - as Overview&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have two colums. For the first it works, for the second it doesn't.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My expression column1:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 12pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt;({&amp;lt;&lt;SPAN style="color: #800000;"&gt;NAME&lt;/SPAN&gt;={'A'}&amp;gt;} &lt;SPAN style="color: #800000;"&gt;VALUE&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt;)&amp;nbsp; (that works!)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My expression column 2 - doesn't work:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt;=&lt;SPAN style="color: #0000ff;"&gt;sum&lt;/SPAN&gt;({&amp;lt;&lt;SPAN style="color: #800000;"&gt;NAME&lt;/SPAN&gt;={'A'}&amp;gt;} &lt;SPAN style="color: #808080;"&gt;&lt;STRONG&gt;&lt;EM&gt;$(v_&lt;SPAN lang="en"&gt;gross_expenditure&lt;/SPAN&gt;)&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;)&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;where &lt;SPAN style="color: #808080;"&gt;&lt;STRONG&gt;&lt;EM&gt;v_&lt;SPAN lang="en"&gt;gross_expenditure&lt;/SPAN&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt; is defined in script with:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG&gt;set&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;SPAN style="color: #808080;"&gt;&lt;STRONG&gt;&lt;EM&gt;v_&lt;SPAN lang="en"&gt;gross_expenditure&lt;/SPAN&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = 'SUM(GROSS_REGION)/SUM(COMPANY_REGION)';&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot!!&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/Set-Analysis-ignore-selection-for-a-function/m-p/11085#M771540</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis: How to fix pivot table for one value disregarding selection</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-ignore-selection-for-a-function/m-p/11086#M771541</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You created without equal sign in script? May be this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: arial, helvetica, sans-serif;"&gt;&lt;SPAN style="color: #575757; font-size: 10pt;"&gt;SUM({&amp;lt;NAME={'A'}&amp;gt;}AGGR( $&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;(&lt;SPAN style="color: #ff0000;"&gt;=&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;v_&lt;SPAN lang="en" style="font-style: inherit;"&gt;gross_expenditure&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #575757; font-size: 10pt;"&gt;, GROSS_REGION,YEAR))&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 May 2018 07:05:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-ignore-selection-for-a-function/m-p/11086#M771541</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2018-05-25T07:05:08Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis: How to fix pivot table for one value disregarding selection</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-ignore-selection-for-a-function/m-p/11087#M771542</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Unfortunatly that doesn't help.&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But now I got the solution by myself:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 12pt;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt;({&amp;lt;&lt;SPAN style="color: #800000;"&gt;NAME&lt;/SPAN&gt;={'A'}&amp;gt;}&lt;SPAN style="color: #800000;"&gt;GROSS_REGION&lt;/SPAN&gt;)/&lt;SPAN style="color: #0000ff;"&gt;SUM&lt;/SPAN&gt;({&amp;lt;&lt;SPAN style="color: #800000;"&gt;NAME&lt;/SPAN&gt;={'A'}&amp;gt;}&lt;SPAN style="color: #800000;"&gt;COMPANY_REGION&lt;/SPAN&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;Does anybody know a better solution with using the function v_gross_expenditure, perhaps experts like &lt;A href="https://community.qlik.com/qlik-users/171708"&gt;stalwar1&lt;/A&gt;‌? &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/wink.png" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 May 2018 07:17:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-ignore-selection-for-a-function/m-p/11087#M771542</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-05-25T07:17:12Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis: ignore selection for a function</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-ignore-selection-for-a-function/m-p/11088#M771543</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No, this is actually the correct way of doing it. The variable can take parameters, but after all, you are using two different expressions which need to have their own set analysis each, one for GROSS_REGION and the other for COMPANY_REGION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe you could take a look at alternate states:&lt;/P&gt;&lt;P&gt;&lt;A href="https://help.qlik.com/en-US/qlikview/November2017/Subsystems/Client/Content/Alternate%20States.htm" title="https://help.qlik.com/en-US/qlikview/November2017/Subsystems/Client/Content/Alternate%20States.htm"&gt;https://help.qlik.com/en-US/qlikview/November2017/Subsystems/Client/Content/Alternate%20States.htm&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 May 2018 08:20:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-ignore-selection-for-a-function/m-p/11088#M771543</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2018-05-25T08:20:19Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis: ignore selection for a function</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-ignore-selection-for-a-function/m-p/11089#M771544</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can close your response as correct answer. And, this we forget to filter in script&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 May 2018 08:20:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-ignore-selection-for-a-function/m-p/11089#M771544</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2018-05-25T08:20:39Z</dc:date>
    </item>
  </channel>
</rss>

