<?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 Need some help with Set Analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Need-some-help-with-Set-Analysis/m-p/1160977#M464019</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 trying to create a function to calculate an average of 461nm VIS based on specific values. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rangnr is the rank per record 1,2,3 etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2880 is an solid number but the next number 4647 is a function avg(Rangnr)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;avg({1&amp;lt;Rangnr={"&amp;gt;2880&amp;lt;=4647"}&amp;gt;}461nmVis)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4647 is a dynamic number and will change based on the amount of data&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 17 May 2016 13:14:17 GMT</pubDate>
    <dc:creator>tomhovens</dc:creator>
    <dc:date>2016-05-17T13:14:17Z</dc:date>
    <item>
      <title>Need some help with Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Need-some-help-with-Set-Analysis/m-p/1160977#M464019</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 trying to create a function to calculate an average of 461nm VIS based on specific values. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rangnr is the rank per record 1,2,3 etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2880 is an solid number but the next number 4647 is a function avg(Rangnr)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;avg({1&amp;lt;Rangnr={"&amp;gt;2880&amp;lt;=4647"}&amp;gt;}461nmVis)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4647 is a dynamic number and will change based on the amount of data&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 May 2016 13:14:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-some-help-with-Set-Analysis/m-p/1160977#M464019</guid>
      <dc:creator>tomhovens</dc:creator>
      <dc:date>2016-05-17T13:14:17Z</dc:date>
    </item>
    <item>
      <title>Re: Need some help with Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Need-some-help-with-Set-Analysis/m-p/1160978#M464020</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;Avg({1&amp;lt;Rangnr={"&amp;gt;2880&amp;lt;=$(=Avg(Rangnr))"}&amp;gt;}461nmVis)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 May 2016 13:16:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-some-help-with-Set-Analysis/m-p/1160978#M464020</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-05-17T13:16:21Z</dc:date>
    </item>
    <item>
      <title>Re: Need some help with Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Need-some-help-with-Set-Analysis/m-p/1160979#M464021</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To avoid a misinterpretation of a potentially returned floating point value from the avg(), use an additional Floor() function:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;SPAN style="color: #3d3d3d; font-style: inherit; font-family: inherit; font-weight: inherit;"&gt;&lt;STRONG&gt;Avg({1&amp;lt;Rangnr={"&amp;gt;2880&amp;lt;=$(=Floor(Avg(Rangnr)))"}&amp;gt;}461nmVis)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;edit: Any you may want to also use set identifier 1 in the avg() function;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;STRONG style="color: #3d3d3d; font-size: 13.3333px;"&gt;Avg({1&amp;lt;Rangnr={"&amp;gt;2880&amp;lt;=$(=Floor(Avg({1} Rangnr)))"}&amp;gt;}461nmVis)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 May 2016 13:20:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-some-help-with-Set-Analysis/m-p/1160979#M464021</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-05-17T13:20:13Z</dc:date>
    </item>
  </channel>
</rss>

