<?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 Expression assistance. in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Expression-assistance/m-p/561252#M209497</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good afternoon,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm new to QlikView and am having some difficulties with an expression that was created by another individual who isn't available to assist.&amp;nbsp; In the expression below I'm not certain what is taking place in the section that is bold.&amp;nbsp; I know that vMaxDate is a variable but I'm not certain what is taking place with it, particularly what is the purpose of the * between the two closing brackets within this section of the expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Calibri','sans-serif'; font-size: 11pt; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: 'Times New Roman'; mso-bidi-theme-font: minor-bidi; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;sum({&amp;lt;[Division ID]=P([Division ID])-{"&amp;lt;=8"},GM_Metric={'HomeCo Revenue'},RecordType={BUDGET},&lt;STRONG&gt;Date={"&amp;gt;=$(=MonthStart(vMaxDate))"}*{"&amp;lt;=$(=vMaxDate)"},&lt;/STRONG&gt;FiscalYear={$(vYear)},Month=,MonthName=,QTR=&amp;gt;}Amount)*-1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Calibri','sans-serif'; font-size: 11pt; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: 'Times New Roman'; mso-bidi-theme-font: minor-bidi; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;Any ideas on what this is trying to accomplish?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Calibri','sans-serif'; font-size: 11pt; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: 'Times New Roman'; mso-bidi-theme-font: minor-bidi; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;Thanks in advance.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 01 Nov 2013 20:10:21 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-11-01T20:10:21Z</dc:date>
    <item>
      <title>Expression assistance.</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-assistance/m-p/561252#M209497</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good afternoon,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm new to QlikView and am having some difficulties with an expression that was created by another individual who isn't available to assist.&amp;nbsp; In the expression below I'm not certain what is taking place in the section that is bold.&amp;nbsp; I know that vMaxDate is a variable but I'm not certain what is taking place with it, particularly what is the purpose of the * between the two closing brackets within this section of the expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Calibri','sans-serif'; font-size: 11pt; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: 'Times New Roman'; mso-bidi-theme-font: minor-bidi; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;sum({&amp;lt;[Division ID]=P([Division ID])-{"&amp;lt;=8"},GM_Metric={'HomeCo Revenue'},RecordType={BUDGET},&lt;STRONG&gt;Date={"&amp;gt;=$(=MonthStart(vMaxDate))"}*{"&amp;lt;=$(=vMaxDate)"},&lt;/STRONG&gt;FiscalYear={$(vYear)},Month=,MonthName=,QTR=&amp;gt;}Amount)*-1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Calibri','sans-serif'; font-size: 11pt; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: 'Times New Roman'; mso-bidi-theme-font: minor-bidi; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;Any ideas on what this is trying to accomplish?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Calibri','sans-serif'; font-size: 11pt; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: 'Times New Roman'; mso-bidi-theme-font: minor-bidi; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;Thanks in advance.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Nov 2013 20:10:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-assistance/m-p/561252#M209497</guid>
      <dc:creator />
      <dc:date>2013-11-01T20:10:21Z</dc:date>
    </item>
    <item>
      <title>Re: Expression assistance.</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-assistance/m-p/561253#M209498</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Set Modifiers with Implicit Field Value Definitions&lt;/P&gt;&lt;P&gt;In the above examples, all field values have been explicitly defined or defined through searches. There is&lt;/P&gt;&lt;P&gt;however an additional way to define a set of field values by the use of a nested set definition.&lt;/P&gt;&lt;P&gt;In such cases, the element functions P() and E() must be used, representing the element set of possible values&lt;/P&gt;&lt;P&gt;and the excluded values of a field, respectively. Inside the brackets, it is possible to specify one set expression&lt;/P&gt;&lt;P&gt;and one field, e.g. P({1} Customer). These functions cannot be used in other expressions:&lt;/P&gt;&lt;P&gt;Examples:&lt;/P&gt;&lt;P&gt;sum( {$&amp;lt;Customer = P({1&amp;lt;Product={‘Shoe’}&amp;gt;} Customer)&amp;gt;} Sales )&lt;/P&gt;&lt;P&gt;returns the sales for current selection, but only those customers that ever have bought the product&lt;/P&gt;&lt;P&gt;‘Shoe’. The element function P( ) here returns a list of possible customers; those that are implied by&lt;/P&gt;&lt;P&gt;the selection ‘Shoe’ in the field Product.&lt;/P&gt;&lt;P&gt;sum( {$&amp;lt;Customer = P({1&amp;lt;Product={‘Shoe’}&amp;gt;})&amp;gt;} Sales )&lt;/P&gt;&lt;P&gt;same as above. If the field in the element function is omitted, the function will return the possible&lt;/P&gt;&lt;P&gt;values of the field specified in the outer assignment.&lt;/P&gt;&lt;P&gt;sum( {$&amp;lt;Customer = P({1&amp;lt;Product={‘Shoe’}&amp;gt;} Supplier)&amp;gt;} Sales )&lt;/P&gt;&lt;P&gt;returns the sales for current selection, but only those customers that ever have supplied the product&lt;/P&gt;&lt;P&gt;‘Shoe’. The element function P( ) here returns a list of possible suppliers; those that are implied by&lt;/P&gt;&lt;P&gt;the selection ‘Shoe’ in the field Product. The list of suppliers is then used as a selection in the field&lt;/P&gt;&lt;P&gt;Customer.&lt;/P&gt;&lt;P&gt;sum( {$&amp;lt;Customer = E({1&amp;lt;Product={‘Shoe’}&amp;gt;})&amp;gt;} Sales )&lt;/P&gt;&lt;P&gt;returns the sales for current selection, but only those customers that never bought the product ‘Shoe’.&lt;/P&gt;&lt;P&gt;The element function E( ) here returns the list of excluded customers; those that are excluded by the&lt;/P&gt;&lt;P&gt;selection ‘Shoe’ in the field Product.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Nov 2013 23:59:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-assistance/m-p/561253#M209498</guid>
      <dc:creator />
      <dc:date>2013-11-01T23:59:29Z</dc:date>
    </item>
  </channel>
</rss>

