<?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 Set Analysis (always include all except certain records) in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-Analysis-always-include-all-except-certain-records/m-p/26243#M790569</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 am trying to calculate a value which I do not want to be affected by any selections made by the user. I always want it to calculate based on all the records.&lt;/P&gt;&lt;P&gt;This one below works fine and whatever selection the user makes, the calculated number stays the same: &lt;/P&gt;&lt;P&gt;sum({1}[Amount])/sum({1}[Quantity])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I then inserted a parameter like this:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;sum({1}{&amp;lt;[Quantity]={"&amp;gt;0"}&amp;gt;}[Amount])/sum({1}[Quantity])&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;The expression above calculates correctly the way I want it to. However if a user makes a selection, the value changes, which I do not want. I want it to stay fixed. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help? Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Attached file for reference.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>Set Analysis (always include all except certain records)</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-always-include-all-except-certain-records/m-p/26243#M790569</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 am trying to calculate a value which I do not want to be affected by any selections made by the user. I always want it to calculate based on all the records.&lt;/P&gt;&lt;P&gt;This one below works fine and whatever selection the user makes, the calculated number stays the same: &lt;/P&gt;&lt;P&gt;sum({1}[Amount])/sum({1}[Quantity])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I then inserted a parameter like this:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;sum({1}{&amp;lt;[Quantity]={"&amp;gt;0"}&amp;gt;}[Amount])/sum({1}[Quantity])&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;The expression above calculates correctly the way I want it to. However if a user makes a selection, the value changes, which I do not want. I want it to stay fixed. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help? Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Attached file for reference.&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-always-include-all-except-certain-records/m-p/26243#M790569</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis (always include all except certain records)</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-always-include-all-except-certain-records/m-p/26244#M790570</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You are almost there. Just need to correct brackets. Try:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=sum(&lt;STRONG&gt;{1&amp;lt;&lt;/STRONG&gt;[Quantity]={"&amp;gt;0"}&amp;gt;}[Amount])/sum({1}[Quantity])&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Jan 2018 09:03:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-always-include-all-except-certain-records/m-p/26244#M790570</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2018-01-31T09:03:22Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis (always include all except certain records)</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-always-include-all-except-certain-records/m-p/26245#M790571</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=sum({1&amp;lt;[Quantity]={"&amp;gt;0"}&amp;gt;}[Amount])/sum({1}[Quantity])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Remove the Extra {} from expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kaushik Solanki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Jan 2018 09:06:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-always-include-all-except-certain-records/m-p/26245#M790571</guid>
      <dc:creator>kaushiknsolanki</dc:creator>
      <dc:date>2018-01-31T09:06:09Z</dc:date>
    </item>
  </channel>
</rss>

