<?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 Noob help! in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Noob-help/m-p/251823#M581871</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hi Dan (and others),&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using the idea of Dans to Flik Flak between expressions based on the &lt;SPAN style="text-decoration: underline;"&gt;if &lt;/SPAN&gt;expression I solved the issue last night with the following code. Simple really!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;If(GetSelectedCount(GROUPNR)&amp;gt;0,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;Avg ({$&amp;lt;GROUPNR=,GROUPCLASSNAME={"*Control"}&amp;gt;+$&amp;lt;GROUPNR={$(=GetFieldSelections(GROUPNR))}&amp;gt;}BODYWEIGHT)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;,Avg (BODYWEIGHT))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 05 Jan 2012 20:35:56 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-01-05T20:35:56Z</dc:date>
    <item>
      <title>Noob help!</title>
      <link>https://community.qlik.com/t5/QlikView/Noob-help/m-p/251820#M581868</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;I'm new to QlikView app development, and need some help with a little problem that has been driving me mad....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to draw a line chart that shows bodyweight change over time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dimensions are DAY and a cyclic group of INDIVIDUAL and GROUP&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The basic expression is Avg(BODYWEIGHT), that works just fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The INDIVIDUALs are in GROUPs (numbered) that also carry a descriptor of either "control" or "treated" in GROUPCLASSNAME.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I want to do is, when a user selects a specific treated group or individual, they will see the data from that selection as well as the data from the&amp;nbsp; control groups or individuals (depending upon the choice on the cyclic group) also on the same chart (e.g. in light grey). So they can get an idea of the change in the treated group/Ind in relation to the controls. &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Avg(($&amp;lt;GROUPCLASSNAME={"*Control"}&amp;gt;}BODYWEIGHT) gives me just the control groups. But I want to see all the groups when no selections are made (i.e. as with Avg(BODYWEIGHT) and just the selected groups and the "Control" groups when a selection &lt;SPAN style="text-decoration: underline;"&gt;is &lt;/SPAN&gt;made.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I guess its pretty simple set analysis, but its flumoxed me for the last 3 hrs and I'm beginning to pull my hair out!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help appreciated!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;M&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jan 2012 21:22:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Noob-help/m-p/251820#M581868</guid>
      <dc:creator />
      <dc:date>2012-01-04T21:22:48Z</dc:date>
    </item>
    <item>
      <title>Re: Noob help!</title>
      <link>https://community.qlik.com/t5/QlikView/Noob-help/m-p/251821#M581869</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Pretty sure you could use something similar to the following...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If(GetSelectedCount([Field])&amp;gt;0,&lt;/P&gt;&lt;P&gt;Avg($&amp;lt;GROUPCLASSNAME={"*Control"}&amp;gt;}BODYWEIGHT),&lt;/P&gt;&lt;P&gt;Avg(BODYWEIGHT))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers!&lt;/P&gt;&lt;P&gt;Dan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jan 2012 21:46:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Noob-help/m-p/251821#M581869</guid>
      <dc:creator>dwh1104</dc:creator>
      <dc:date>2012-01-04T21:46:48Z</dc:date>
    </item>
    <item>
      <title>Noob help!</title>
      <link>https://community.qlik.com/t5/QlikView/Noob-help/m-p/251822#M581870</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Thanks Dan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But no use. I get the No data to display error, regardless of which field I complete or how I set up the if statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Time to think again!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;M&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jan 2012 22:26:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Noob-help/m-p/251822#M581870</guid>
      <dc:creator />
      <dc:date>2012-01-04T22:26:04Z</dc:date>
    </item>
    <item>
      <title>Noob help!</title>
      <link>https://community.qlik.com/t5/QlikView/Noob-help/m-p/251823#M581871</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hi Dan (and others),&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using the idea of Dans to Flik Flak between expressions based on the &lt;SPAN style="text-decoration: underline;"&gt;if &lt;/SPAN&gt;expression I solved the issue last night with the following code. Simple really!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;If(GetSelectedCount(GROUPNR)&amp;gt;0,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;Avg ({$&amp;lt;GROUPNR=,GROUPCLASSNAME={"*Control"}&amp;gt;+$&amp;lt;GROUPNR={$(=GetFieldSelections(GROUPNR))}&amp;gt;}BODYWEIGHT)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;,Avg (BODYWEIGHT))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jan 2012 20:35:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Noob-help/m-p/251823#M581871</guid>
      <dc:creator />
      <dc:date>2012-01-05T20:35:56Z</dc:date>
    </item>
  </channel>
</rss>

