<?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: &amp;lt;Question&amp;gt; Difficult conditional expression (aggr?) in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/lt-Question-gt-Difficult-conditional-expression-aggr/m-p/596672#M478780</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Where is your attached file &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 04 Mar 2014 10:03:48 GMT</pubDate>
    <dc:creator>sujeetsingh</dc:creator>
    <dc:date>2014-03-04T10:03:48Z</dc:date>
    <item>
      <title>&lt;Question&gt; Difficult conditional expression (aggr?)</title>
      <link>https://community.qlik.com/t5/QlikView/lt-Question-gt-Difficult-conditional-expression-aggr/m-p/596671#M478779</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all, attached file is a sample file that has few linkage of the table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;An overview of the industry, this dataset is a transportation hub where we move boxes from vessel to another vessel once it arrived at our location. When a vessel reach to our shore, the vessel will either discharge boxes to us or load boxes to the vessel as known as activity_code in our database.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;An overview of the table structure , Data table contains each individual record of boxes being moving around either in Load or Disc. Each vessel will have multiple records in this table, this tabls is where we are able to capture the volume&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vessel is the details of the vessel capacity, the maximum volume it can handle&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;service and calandar is a dimension table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TX is the data table where the volume of boxes that are left on the vessel.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;An example : a vessel that has a capacity of 600 will be discharging 200 TEU from the veseel and load 100 TEU to the vessel. However, there is 300 TEU still on board of the vessel remain untouch by us.&lt;/P&gt;&lt;P&gt;in that case, data table will have Discharge data of 200, Load data of 100 and TX table will have 300&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is we would want to find out how utilize the vessel is , in the above example. we would like to come out a formula to find out how fill up of boxes is on the vessel.&lt;/P&gt;&lt;P&gt;Formula is = ((Load TEU + Disc TEU) + (TX TEU *2)) / (Capacity *2)&amp;nbsp; &amp;lt;-- can be found on sample Vessel Utilization (Help) Table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On vessel details table, these are the records of the vessels, note that each vessel name comes in multiple time within a month. The way we differentiate each individual call by the vessel is to &lt;STRONG&gt;DISTINCT Vessel Name, ATB and Voyage No.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem now is that I would want to eliminate vessels that comes in has LOAD TEU &lt;STRONG&gt;or&lt;/STRONG&gt; DISC TEU that is less than 50 from the equation.Both side must be above 50 TEU in order to take in the vessel records to find the utilization.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On vessel utilization(help) in which I need codes to factor in this condition. In this table I have already came up with the formula for the formula, preferably not to touch the formula. is there any way I can do this. much appreciated as i have stuck this report for 6 months. Note that I am not able to edit anything from the script. Thanks much!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Mar 2014 09:46:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/lt-Question-gt-Difficult-conditional-expression-aggr/m-p/596671#M478779</guid>
      <dc:creator>n1ef5ng1</dc:creator>
      <dc:date>2014-03-04T09:46:11Z</dc:date>
    </item>
    <item>
      <title>Re: &lt;Question&gt; Difficult conditional expression (aggr?)</title>
      <link>https://community.qlik.com/t5/QlikView/lt-Question-gt-Difficult-conditional-expression-aggr/m-p/596672#M478780</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Where is your attached file &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Mar 2014 10:03:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/lt-Question-gt-Difficult-conditional-expression-aggr/m-p/596672#M478780</guid>
      <dc:creator>sujeetsingh</dc:creator>
      <dc:date>2014-03-04T10:03:48Z</dc:date>
    </item>
    <item>
      <title>Re: &lt;Question&gt; Difficult conditional expression (aggr?)</title>
      <link>https://community.qlik.com/t5/QlikView/lt-Question-gt-Difficult-conditional-expression-aggr/m-p/596673#M478781</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Attached file&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Mar 2014 10:22:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/lt-Question-gt-Difficult-conditional-expression-aggr/m-p/596673#M478781</guid>
      <dc:creator>n1ef5ng1</dc:creator>
      <dc:date>2014-03-04T10:22:23Z</dc:date>
    </item>
    <item>
      <title>Re: &lt;Question&gt; Difficult conditional expression (aggr?)</title>
      <link>https://community.qlik.com/t5/QlikView/lt-Question-gt-Difficult-conditional-expression-aggr/m-p/596674#M478782</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;overlooked on that. have attached to it thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Mar 2014 10:22:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/lt-Question-gt-Difficult-conditional-expression-aggr/m-p/596674#M478782</guid>
      <dc:creator>n1ef5ng1</dc:creator>
      <dc:date>2014-03-04T10:22:49Z</dc:date>
    </item>
    <item>
      <title>Re: &lt;Question&gt; Difficult conditional expression (aggr?)</title>
      <link>https://community.qlik.com/t5/QlikView/lt-Question-gt-Difficult-conditional-expression-aggr/m-p/596675#M478783</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you can add Leg to distinguish VVL ,specially for Pivot ports and in script make sum of teus and from there remove the Voyages which has Teus less than 50.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Mar 2014 10:48:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/lt-Question-gt-Difficult-conditional-expression-aggr/m-p/596675#M478783</guid>
      <dc:creator>ashwanin</dc:creator>
      <dc:date>2014-03-04T10:48:15Z</dc:date>
    </item>
    <item>
      <title>Re: &lt;Question&gt; Difficult conditional expression (aggr?)</title>
      <link>https://community.qlik.com/t5/QlikView/lt-Question-gt-Difficult-conditional-expression-aggr/m-p/596676#M478784</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Benn ,&lt;/P&gt;&lt;P&gt;The best thing to do is that you need to derive a flag to filter such records and even group them if required&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Mar 2014 11:50:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/lt-Question-gt-Difficult-conditional-expression-aggr/m-p/596676#M478784</guid>
      <dc:creator>sujeetsingh</dc:creator>
      <dc:date>2014-03-04T11:50:46Z</dc:date>
    </item>
    <item>
      <title>Re: &lt;Question&gt; Difficult conditional expression (aggr?)</title>
      <link>https://community.qlik.com/t5/QlikView/lt-Question-gt-Difficult-conditional-expression-aggr/m-p/596677#M478785</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Benn ,&lt;/P&gt;&lt;P&gt;Actually here you need the filteration in dimension based on the sum() so you need to go for the grouping in script&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Mar 2014 11:56:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/lt-Question-gt-Difficult-conditional-expression-aggr/m-p/596677#M478785</guid>
      <dc:creator>sujeetsingh</dc:creator>
      <dc:date>2014-03-04T11:56:24Z</dc:date>
    </item>
    <item>
      <title>Re: &lt;Question&gt; Difficult conditional expression (aggr?)</title>
      <link>https://community.qlik.com/t5/QlikView/lt-Question-gt-Difficult-conditional-expression-aggr/m-p/596678#M478786</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what is leg? can i do it in expression?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Mar 2014 01:23:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/lt-Question-gt-Difficult-conditional-expression-aggr/m-p/596678#M478786</guid>
      <dc:creator>n1ef5ng1</dc:creator>
      <dc:date>2014-03-05T01:23:42Z</dc:date>
    </item>
    <item>
      <title>Re: &lt;Question&gt; Difficult conditional expression (aggr?)</title>
      <link>https://community.qlik.com/t5/QlikView/lt-Question-gt-Difficult-conditional-expression-aggr/m-p/596679#M478787</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can i do a flag on expression?i am unable to touch on scripting part&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Mar 2014 01:24:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/lt-Question-gt-Difficult-conditional-expression-aggr/m-p/596679#M478787</guid>
      <dc:creator>n1ef5ng1</dc:creator>
      <dc:date>2014-03-05T01:24:05Z</dc:date>
    </item>
  </channel>
</rss>

