<?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: Dimension with several conditions in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Dimension-with-several-conditions/m-p/1162877#M378910</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Its a fairly complex requirement, this can be either solved by Stefan without a sample or you would need to provide a sample for others to try it out &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/wink.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 17 May 2016 14:55:21 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2016-05-17T14:55:21Z</dc:date>
    <item>
      <title>Dimension with several conditions</title>
      <link>https://community.qlik.com/t5/QlikView/Dimension-with-several-conditions/m-p/1162876#M378909</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 would like to get the list of customers who fulfill these conditions:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Have orders live on screen for at least 6 hours a day with eflag="E" &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;on at least 3 distinct instruments&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;2. Fulfill the above condition for at least 15 days in a month&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I started off with a chart with dimension like this:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=if(EFLAG='E',if(aggr(count(distinct {&amp;lt;EFLAG={'E'}&amp;gt;}INSTRUMENT)&amp;gt;=3,CUSTOMER,DATE) and aggr(sum(OrderExit-OrderEntry)&amp;gt;=0.25,CUSTOMER,DATE),&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;STRONG&gt;CUSTOMER))&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and Expression: Interval(Sum(OrderExit-OrderEntry))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But this doesn't seem to work. Is there a better way to yield all customers who fulfill these conditions?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 May 2016 14:52:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dimension-with-several-conditions/m-p/1162876#M378909</guid>
      <dc:creator>sifatnabil</dc:creator>
      <dc:date>2016-05-17T14:52:23Z</dc:date>
    </item>
    <item>
      <title>Re: Dimension with several conditions</title>
      <link>https://community.qlik.com/t5/QlikView/Dimension-with-several-conditions/m-p/1162877#M378910</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Its a fairly complex requirement, this can be either solved by Stefan without a sample or you would need to provide a sample for others to try it out &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/wink.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 May 2016 14:55:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dimension-with-several-conditions/m-p/1162877#M378910</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-05-17T14:55:21Z</dc:date>
    </item>
  </channel>
</rss>

