<?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 in Chart Expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-Analysis-in-Chart-Expression/m-p/1122164#M908585</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;Quick question around set analysis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to create a chart with a single dimension (Grouping) and two expressions, one calculating the average of score across questions, where OptionID refers to a score from 1-5 and Question ID refers to the questions. Count(DISTINCT Name) counts the number of people who answered the question. This is the score for a specific Organisation (field) and only shows when one is chosen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SUM(OptionID)/(Count(DISTINCT Name)*Count(QuestionID))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The above expression works fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also want to create a static expression on the chart which stays the same no matter which Organisation is chosen (a static average across organisations). I have tried to use the following expression to no luck.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SUM({$&amp;lt;Organisation=&amp;gt;}OptionID)/(Count({$&amp;lt;Organisation=&amp;gt;}DISTINCT Name)*Count({$&amp;lt;Organisation=&amp;gt;}QuestionID))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be greatly appreciated - Thanks very much!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator />
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>Set Analysis in Chart Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-in-Chart-Expression/m-p/1122164#M908585</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;Quick question around set analysis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to create a chart with a single dimension (Grouping) and two expressions, one calculating the average of score across questions, where OptionID refers to a score from 1-5 and Question ID refers to the questions. Count(DISTINCT Name) counts the number of people who answered the question. This is the score for a specific Organisation (field) and only shows when one is chosen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SUM(OptionID)/(Count(DISTINCT Name)*Count(QuestionID))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The above expression works fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also want to create a static expression on the chart which stays the same no matter which Organisation is chosen (a static average across organisations). I have tried to use the following expression to no luck.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SUM({$&amp;lt;Organisation=&amp;gt;}OptionID)/(Count({$&amp;lt;Organisation=&amp;gt;}DISTINCT Name)*Count({$&amp;lt;Organisation=&amp;gt;}QuestionID))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be greatly appreciated - Thanks very much!&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-in-Chart-Expression/m-p/1122164#M908585</guid>
      <dc:creator />
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis in Chart Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-in-Chart-Expression/m-p/1122165#M908586</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would have assumed this to work. The values in each of the row change based on selection in Organisation field?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 16:18:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-in-Chart-Expression/m-p/1122165#M908586</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-06-15T16:18:19Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis in Chart Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-in-Chart-Expression/m-p/1122166#M908587</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's right - They should be staying static however.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 07:49:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-in-Chart-Expression/m-p/1122166#M908587</guid>
      <dc:creator />
      <dc:date>2016-06-16T07:49:33Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis in Chart Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-in-Chart-Expression/m-p/1122167#M908588</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you have alternate states in your application? Can you may be share a sample to take a look at?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 10:26:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-in-Chart-Expression/m-p/1122167#M908588</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-06-16T10:26:06Z</dc:date>
    </item>
  </channel>
</rss>

