<?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 “Below”, “above” and set analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Below-above-and-set-analysis/m-p/259256#M97876</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;You are right,above() below() etc. will not be helpful in this case.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;My agecalculation is “weighted average”&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: blue; font-family: 'Courier New'; font-size: 9pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: maroon; font-family: 'Courier New'; font-size: 9pt;"&gt;avg_v9&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt; * &lt;/SPAN&gt;&lt;SPAN style="color: maroon; font-family: 'Courier New'; font-size: 9pt;"&gt;cnt_age9&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;)/&lt;/SPAN&gt;&lt;SPAN style="color: blue; font-family: 'Courier New'; font-size: 9pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: maroon; font-family: 'Courier New'; font-size: 9pt;"&gt;cnt_age9&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;)) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;this is what I’m using.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;I try to you what you suggested, but I did not get any result.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;Thanks.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;T&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 28 Nov 2011 13:28:01 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-11-28T13:28:01Z</dc:date>
    <item>
      <title>“Below”, “above” and set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Below-above-and-set-analysis/m-p/259251#M97871</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;After I try, very hard, I promises you… now it’s time to askyour help…&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have few calculated values that I like to display in the samerow.&lt;/P&gt;&lt;P&gt;I have date, name, age1 age2 age3 age6 and age9&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At date 02.11.11 – age1 value is 6, &lt;SPAN style="color: red;"&gt;age27&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;At date 01.11.11 – &lt;SPAN style="color: red;"&gt;age1 value is 3&lt;/SPAN&gt;,age 2 is 6&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I like to see is that in the row from&amp;nbsp; 01.11.11 my columns will be age1-3 and age2-7&lt;/P&gt;&lt;P&gt;I try to use the “below” and “above”, but there are casesthat some dates are missing, therefor using “above” or “below” will not givethe right flow.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I enclosed a short excel file with example of the date andwhat I like the result to be.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;T.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Nov 2011 08:24:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Below-above-and-set-analysis/m-p/259251#M97871</guid>
      <dc:creator />
      <dc:date>2011-11-28T08:24:07Z</dc:date>
    </item>
    <item>
      <title>Re: “Below”, “above” and set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Below-above-and-set-analysis/m-p/259252#M97872</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Tomer,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;maybe like attached? I use an additional data island as date dimension, then just check the different date stamps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Nov 2011 10:48:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Below-above-and-set-analysis/m-p/259252#M97872</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2011-11-28T10:48:15Z</dc:date>
    </item>
    <item>
      <title>Re: “Below”, “above” and set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Below-above-and-set-analysis/m-p/259253#M97873</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I try to use what you sent me ,but I have a problem withthis:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: blue; font-family: 'Arial','sans-serif'; font-size: 9pt;"&gt;only&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Arial','sans-serif'; font-size: 9pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: blue; font-family: 'Arial','sans-serif'; font-size: 9pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Arial','sans-serif'; font-size: 9pt;"&gt;( &lt;/SPAN&gt;&lt;SPAN style="color: maroon; font-family: 'Arial','sans-serif'; font-size: 9pt;"&gt;XDate&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Arial','sans-serif'; font-size: 9pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: maroon; font-family: 'Arial','sans-serif'; font-size: 9pt;"&gt;date&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Arial','sans-serif'; font-size: 9pt;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: maroon; font-family: 'Arial','sans-serif'; font-size: 9pt;"&gt;[Age 9]&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Arial','sans-serif'; font-size: 9pt;"&gt;)) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my ‘age 9’ is calculated number and I think I can’t replacethe “age 9” with the calculation I made,&lt;/P&gt;&lt;P&gt;Could be that the “&lt;SPAN style="color: blue; font-family: 'Arial','sans-serif'; font-size: 9pt;"&gt;only&lt;/SPAN&gt;” is not allowing it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;T.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Nov 2011 12:41:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Below-above-and-set-analysis/m-p/259253#M97873</guid>
      <dc:creator />
      <dc:date>2011-11-28T12:41:44Z</dc:date>
    </item>
    <item>
      <title>“Below”, “above” and set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Below-above-and-set-analysis/m-p/259254#M97874</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you can try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #eef4f9; font-size: 9pt; color: blue; font-family: Arial, sans-serif;"&gt;Below&lt;/SPAN&gt;&lt;SPAN style="background-color: #eef4f9; font-size: 9pt; color: black; font-family: Arial, sans-serif;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="background-color: #eef4f9; font-size: 9pt; color: blue; font-family: Arial, sans-serif;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="background-color: #eef4f9; font-size: 9pt; color: black; font-family: Arial, sans-serif;"&gt;( &lt;/SPAN&gt;&lt;SPAN style="background-color: #eef4f9; font-size: 9pt; color: maroon; font-family: Arial, sans-serif;"&gt;XDate&lt;/SPAN&gt;&lt;SPAN style="background-color: #eef4f9; font-size: 9pt; color: black; font-family: Arial, sans-serif;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="background-color: #eef4f9; font-size: 9pt; color: maroon; font-family: Arial, sans-serif;"&gt;date&lt;/SPAN&gt;&lt;SPAN style="background-color: #eef4f9; font-size: 9pt; color: black; font-family: Arial, sans-serif;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="background-color: #eef4f9; font-size: 9pt; color: maroon; font-family: Arial, sans-serif;"&gt;[Age 9]&lt;/SPAN&gt;&lt;SPAN style="background-color: #eef4f9; font-size: 9pt; color: black; font-family: Arial, sans-serif;"&gt;))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #eef4f9; font-size: 9pt; color: black; font-family: Arial, sans-serif;"&gt;hope this help&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Nov 2011 12:43:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Below-above-and-set-analysis/m-p/259254#M97874</guid>
      <dc:creator>SunilChauhan</dc:creator>
      <dc:date>2011-11-28T12:43:39Z</dc:date>
    </item>
    <item>
      <title>“Below”, “above” and set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Below-above-and-set-analysis/m-p/259255#M97875</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you using an aggregation function to calculate Age9? &lt;/P&gt;&lt;P&gt;If so, how does your expression looks like?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since only() is also an aggregation function, it is not allowed to embed an aggregation function inside only(). But you can use advanced aggregation to get around this, maybe like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=only( aggr( if(XDate=date,YOUREXPRESSION), date))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I noticed that your date may have missing values (e.g. 2011-11-16), so I think chart inter record functions like below(), above() etc. are to be used with caution here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Nov 2011 13:09:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Below-above-and-set-analysis/m-p/259255#M97875</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2011-11-28T13:09:12Z</dc:date>
    </item>
    <item>
      <title>“Below”, “above” and set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Below-above-and-set-analysis/m-p/259256#M97876</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;You are right,above() below() etc. will not be helpful in this case.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;My agecalculation is “weighted average”&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: blue; font-family: 'Courier New'; font-size: 9pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: maroon; font-family: 'Courier New'; font-size: 9pt;"&gt;avg_v9&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt; * &lt;/SPAN&gt;&lt;SPAN style="color: maroon; font-family: 'Courier New'; font-size: 9pt;"&gt;cnt_age9&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;)/&lt;/SPAN&gt;&lt;SPAN style="color: blue; font-family: 'Courier New'; font-size: 9pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: maroon; font-family: 'Courier New'; font-size: 9pt;"&gt;cnt_age9&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;)) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;this is what I’m using.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;I try to you what you suggested, but I did not get any result.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;Thanks.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;T&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Nov 2011 13:28:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Below-above-and-set-analysis/m-p/259256#M97876</guid>
      <dc:creator />
      <dc:date>2011-11-28T13:28:01Z</dc:date>
    </item>
    <item>
      <title>“Below”, “above” and set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Below-above-and-set-analysis/m-p/259257#M97877</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Tomer,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think you could either use&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;= only(aggr( if(XDate=date, &lt;SPAN style="color: blue; font-family: 'Courier New'; font-size: 9pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: maroon; font-family: 'Courier New'; font-size: 9pt;"&gt;avg_v9&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt; * &lt;/SPAN&gt;&lt;SPAN style="color: maroon; font-family: 'Courier New'; font-size: 9pt;"&gt;cnt_age9&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;)/&lt;/SPAN&gt;&lt;SPAN style="color: blue; font-family: 'Courier New'; font-size: 9pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: maroon; font-family: 'Courier New'; font-size: 9pt;"&gt;cnt_age9&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;))&lt;/SPAN&gt; ), XDate, date))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;= only( if(XDate=date,aggr( &lt;SPAN style="color: blue; font-family: 'Courier New'; font-size: 9pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: maroon; font-family: 'Courier New'; font-size: 9pt;"&gt;avg_v9&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt; * &lt;/SPAN&gt;&lt;SPAN style="color: maroon; font-family: 'Courier New'; font-size: 9pt;"&gt;cnt_age9&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;)/&lt;/SPAN&gt;&lt;SPAN style="color: blue; font-family: 'Courier New'; font-size: 9pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: maroon; font-family: 'Courier New'; font-size: 9pt;"&gt;cnt_age9&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;))&lt;/SPAN&gt; ,date)))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Nov 2011 17:11:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Below-above-and-set-analysis/m-p/259257#M97877</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2011-11-28T17:11:36Z</dc:date>
    </item>
    <item>
      <title>“Below”, “above” and set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Below-above-and-set-analysis/m-p/259258#M97878</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hanks a million for that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tomer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Nov 2011 06:42:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Below-above-and-set-analysis/m-p/259258#M97878</guid>
      <dc:creator />
      <dc:date>2011-11-29T06:42:43Z</dc:date>
    </item>
  </channel>
</rss>

