<?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 create derived var in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/create-derived-var/m-p/226462#M78665</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I am pretty new to qlikview, assume I have a dataset like this:&lt;/P&gt;&lt;P&gt;grp,var1&lt;BR /&gt;a,0&lt;BR /&gt;a,1&lt;BR /&gt;a,0&lt;BR /&gt;b,1&lt;BR /&gt;b,1&lt;BR /&gt;b,0&lt;BR /&gt;b,0&lt;BR /&gt;b,0&lt;BR /&gt;c,0&lt;BR /&gt;c,1&lt;BR /&gt;c,1&lt;/P&gt;&lt;P&gt;which method I should use, edit expression, macro, func to get each grp rate(a:.33, b:.4, c:.67)? Can some one give me an example for each method?&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;Shiping&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 21 Apr 2011 18:13:54 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-04-21T18:13:54Z</dc:date>
    <item>
      <title>create derived var</title>
      <link>https://community.qlik.com/t5/QlikView/create-derived-var/m-p/226462#M78665</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I am pretty new to qlikview, assume I have a dataset like this:&lt;/P&gt;&lt;P&gt;grp,var1&lt;BR /&gt;a,0&lt;BR /&gt;a,1&lt;BR /&gt;a,0&lt;BR /&gt;b,1&lt;BR /&gt;b,1&lt;BR /&gt;b,0&lt;BR /&gt;b,0&lt;BR /&gt;b,0&lt;BR /&gt;c,0&lt;BR /&gt;c,1&lt;BR /&gt;c,1&lt;/P&gt;&lt;P&gt;which method I should use, edit expression, macro, func to get each grp rate(a:.33, b:.4, c:.67)? Can some one give me an example for each method?&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;Shiping&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Apr 2011 18:13:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/create-derived-var/m-p/226462#M78665</guid>
      <dc:creator />
      <dc:date>2011-04-21T18:13:54Z</dc:date>
    </item>
    <item>
      <title>create derived var</title>
      <link>https://community.qlik.com/t5/QlikView/create-derived-var/m-p/226463#M78666</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Shiping,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try a chart using 'grp' as dimension, and the average of 'var1' (that is: avg(var1) ) as the expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Martijn ter Schegget&lt;/P&gt;&lt;P&gt;The Implementation Group&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Apr 2011 11:45:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/create-derived-var/m-p/226463#M78666</guid>
      <dc:creator />
      <dc:date>2011-04-22T11:45:14Z</dc:date>
    </item>
  </channel>
</rss>

