<?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 Re: Calculating % for specific combinations in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Calculating-for-specific-combinations/m-p/440218#M489619</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could calculate your A+B same day column using this expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=sum(aggr(if(count(distinct event)=2,1,0),plant,date))&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>Fri, 16 Nov 2012 09:55:21 GMT</pubDate>
    <dc:creator>swuehl</dc:creator>
    <dc:date>2012-11-16T09:55:21Z</dc:date>
    <item>
      <title>Calculating % for specific combinations</title>
      <link>https://community.qlik.com/t5/QlikView/Calculating-for-specific-combinations/m-p/440217#M489617</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a dataset listing events happening at a plant:&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="25196" class="jive-image" alt="schermbron.jpg" src="https://community.qlik.com/legacyfs/online/25196_schermbron.jpg" /&gt;&lt;/P&gt;&lt;P&gt;the goal is:&lt;/P&gt;&lt;P&gt;- find cases where A+B happened on the samen day at a plant&lt;/P&gt;&lt;P&gt;- calculated the % of the total of events at that plant&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="25197" class="jive-image" alt="schemresult.jpg" src="https://community.qlik.com/legacyfs/online/25197_schemresult.jpg" /&gt; &lt;/P&gt;&lt;P&gt;Grouping in the script is not the way to go, as there are other details in the dataset that need to be analysed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any hints on how to achieve this ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Nov 2012 09:44:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculating-for-specific-combinations/m-p/440217#M489617</guid>
      <dc:creator />
      <dc:date>2012-11-16T09:44:17Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating % for specific combinations</title>
      <link>https://community.qlik.com/t5/QlikView/Calculating-for-specific-combinations/m-p/440218#M489619</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could calculate your A+B same day column using this expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=sum(aggr(if(count(distinct event)=2,1,0),plant,date))&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>Fri, 16 Nov 2012 09:55:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculating-for-specific-combinations/m-p/440218#M489619</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2012-11-16T09:55:21Z</dc:date>
    </item>
  </channel>
</rss>

