<?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 show avg value by group based on selection? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/show-avg-value-by-group-based-on-selection/m-p/905639#M470891</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have an excel sheet as attached, the sheet gets updated data weekly. &lt;/P&gt;&lt;P&gt;Here is what I want to do.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When end user picks a product, it will show the product's group and subgroup avg sales respectively.&lt;/P&gt;&lt;P&gt;if more than one product picked, it will show all picked products' groups and subgroups avg sales too.&lt;/P&gt;&lt;P&gt;For example, in case product C, D, F are picked, I need show avg sales of the group (&lt;SPAN style="font-size: 13.3333330154419px;"&gt;G1+G2) &lt;/SPAN&gt;which is $9, &lt;/P&gt;&lt;P&gt;avg sales of the subGroup (s3+s4) which is $10.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to write this expression? much appreciate anyone could share the calculation script.&lt;BR /&gt;I could not open qvw file as it is personal edition, thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 26 Apr 2015 12:24:08 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-04-26T12:24:08Z</dc:date>
    <item>
      <title>show avg value by group based on selection?</title>
      <link>https://community.qlik.com/t5/QlikView/show-avg-value-by-group-based-on-selection/m-p/905639#M470891</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have an excel sheet as attached, the sheet gets updated data weekly. &lt;/P&gt;&lt;P&gt;Here is what I want to do.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When end user picks a product, it will show the product's group and subgroup avg sales respectively.&lt;/P&gt;&lt;P&gt;if more than one product picked, it will show all picked products' groups and subgroups avg sales too.&lt;/P&gt;&lt;P&gt;For example, in case product C, D, F are picked, I need show avg sales of the group (&lt;SPAN style="font-size: 13.3333330154419px;"&gt;G1+G2) &lt;/SPAN&gt;which is $9, &lt;/P&gt;&lt;P&gt;avg sales of the subGroup (s3+s4) which is $10.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to write this expression? much appreciate anyone could share the calculation script.&lt;BR /&gt;I could not open qvw file as it is personal edition, thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 26 Apr 2015 12:24:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/show-avg-value-by-group-based-on-selection/m-p/905639#M470891</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-04-26T12:24:08Z</dc:date>
    </item>
    <item>
      <title>Re: show avg value by group based on selection?</title>
      <link>https://community.qlik.com/t5/QlikView/show-avg-value-by-group-based-on-selection/m-p/905640#M470892</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try in a textbox the expression &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;avg({$ &amp;lt;Product=,Goup=P(Goup)&amp;gt;} [Avg Sales per Store])&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 26 Apr 2015 14:22:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/show-avg-value-by-group-based-on-selection/m-p/905640#M470892</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2015-04-26T14:22:55Z</dc:date>
    </item>
    <item>
      <title>Re: show avg value by group based on selection?</title>
      <link>https://community.qlik.com/t5/QlikView/show-avg-value-by-group-based-on-selection/m-p/905641#M470893</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;perfect! Much appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 26 Apr 2015 22:30:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/show-avg-value-by-group-based-on-selection/m-p/905641#M470893</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-04-26T22:30:20Z</dc:date>
    </item>
    <item>
      <title>Re: show avg value by group based on selection?</title>
      <link>https://community.qlik.com/t5/QlikView/show-avg-value-by-group-based-on-selection/m-p/905642#M470894</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry I am back again with further question on this topic.&lt;/P&gt;&lt;P&gt;Please see the attachment, I would like to do&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) when product A is selected, ONLY A shows in straight table. If A and B selected, ONLY A and B shows.&lt;/P&gt;&lt;P&gt;2) same time, the column "Avg Sales per store&lt;SPAN style="font-size: 13.3333330154419px;"&gt;"&lt;/SPAN&gt; shows all selected products' individual avg $ per week, for instance, if A is shown, the column value should be is $9.5 (calculation= (6+13)/2)&lt;/P&gt;&lt;P&gt;3) the column goup avg$ would show $9.58 in case A is selected&lt;/P&gt;&lt;P&gt;4) the column subgroup avg $ would show $10.28 &lt;SPAN style="font-size: 13.3333330154419px;"&gt;in case A is selected&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If nothing selected, the straight table shows all products and their corresponding avg $ values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I thought I put correct expression that works on text box, but it does not work out as the expectation in straight table. looks only the Total Mode shows correctly (indicated on the attached pic).Why? Can you share the working expression for 2, 3, 4?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also attached a screen shot with my comments, hopefully it could help you understand what I am looking for.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Again, please share the expression here, I am using personal edition that may NOT open others qvw file. Many thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Apr 2015 00:01:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/show-avg-value-by-group-based-on-selection/m-p/905642#M470894</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-04-29T00:01:12Z</dc:date>
    </item>
  </channel>
</rss>

