<?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: Need help in understanding the expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Need-help-in-understanding-the-expression/m-p/942151#M324782</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Jonathan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have checked and it is not a book mark as I mentioned that if we select any field value in Head office field this expression will give a reference line on the bar chart , if that filed is not selected then you will not get the reference line.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 09 Oct 2015 05:28:51 GMT</pubDate>
    <dc:creator>ferha_jafri</dc:creator>
    <dc:date>2015-10-09T05:28:51Z</dc:date>
    <item>
      <title>Need help in understanding the expression</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-in-understanding-the-expression/m-p/942149#M324780</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I came across one expression in which set analysis is used and I need help in understanding the expression ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;there is a variable used as &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;$(vNotDeliveredAvg({$(vYdayAverages)},{"$(vYesterdayDay)"},[DIM],$))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and the variable expansion is &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=SUM( {&lt;/P&gt;&lt;P&gt;(&lt;/P&gt;&lt;P&gt;&amp;nbsp; $3&amp;lt; Door_Sc_Dt = $1, Door_Sc_Cd = {$(vFTDDFailCodes)} &amp;gt; &lt;/P&gt;&lt;P&gt;&amp;nbsp; + &lt;/P&gt;&lt;P&gt;&amp;nbsp; $3&amp;lt; Eo_Sc_In_Date = &lt;SPAN style="font-size: 13.3333px;"&gt;$1&lt;/SPAN&gt;, Eo_In_Event_Cd = {$(vFTDEOFailCodes)} &amp;gt; &lt;/P&gt;&lt;P&gt;&amp;nbsp; + &lt;/P&gt;&lt;P&gt;&amp;nbsp; $3&amp;lt; Eo_Scan_Out_Date = &lt;SPAN style="font-size: 13.3333px;"&gt;$1&lt;/SPAN&gt;, Eo_Out_Event_Cd = {$(vFTDEOFailCodes)} &amp;gt;&lt;/P&gt;&lt;P&gt;) &lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;$3&amp;lt; Do_Delivery_Sector = P({$4}Do_Delivery_Sector) &amp;gt;&lt;/P&gt;&lt;P&gt;} MailCount)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in the expression expansion I understood $1,2,4 but I could not understand $3 ,as how it is working as [DIM] is not a field and not even a variable in the application and this expression gives value on the selection of field values of a Field as HeadOffices.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If any one know how this expression is evaluating the value please reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;Ferha Jafri&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Oct 2015 05:09:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-in-understanding-the-expression/m-p/942149#M324780</guid>
      <dc:creator>ferha_jafri</dc:creator>
      <dc:date>2015-10-09T05:09:42Z</dc:date>
    </item>
    <item>
      <title>Re: Need help in understanding the expression</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-in-understanding-the-expression/m-p/942150#M324781</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I expect [DIM] is a bookmark, based on the position of $3 in the variable expression.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Oct 2015 05:20:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-in-understanding-the-expression/m-p/942150#M324781</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2015-10-09T05:20:24Z</dc:date>
    </item>
    <item>
      <title>Re: Need help in understanding the expression</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-in-understanding-the-expression/m-p/942151#M324782</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Jonathan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have checked and it is not a book mark as I mentioned that if we select any field value in Head office field this expression will give a reference line on the bar chart , if that filed is not selected then you will not get the reference line.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Oct 2015 05:28:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-in-understanding-the-expression/m-p/942151#M324782</guid>
      <dc:creator>ferha_jafri</dc:creator>
      <dc:date>2015-10-09T05:28:51Z</dc:date>
    </item>
    <item>
      <title>Re: Need help in understanding the expression</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-in-understanding-the-expression/m-p/942152#M324783</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you share the qvw with sample data ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Oct 2015 05:43:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-in-understanding-the-expression/m-p/942152#M324783</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2015-10-09T05:43:41Z</dc:date>
    </item>
    <item>
      <title>Re: Need help in understanding the expression</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-in-understanding-the-expression/m-p/942153#M324784</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The location of the $3, is a set identifier location and it must be one of these:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;1 - ignore all selections&lt;/LI&gt;&lt;LI&gt;$ - current selections&lt;/LI&gt;&lt;LI&gt;$1 - $9 - previous selections&lt;/LI&gt;&lt;LI&gt;$_1 - $_9 - next selections&lt;/LI&gt;&lt;LI&gt;A bookmark&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On consideration, $3 is ambiguous, as it could be considered a parameter (DIM) or as a previous selection. I am not sure which one takes precedence.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If a set clause is invalid, it will simply be ignored (same as not being there at all). So If DIM is neither a field, variable or bookmark, then I expect it is being ignored, or being considered as a previous selection.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Oct 2015 05:59:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-in-understanding-the-expression/m-p/942153#M324784</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2015-10-09T05:59:09Z</dc:date>
    </item>
    <item>
      <title>Re: Need help in understanding the expression</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-in-understanding-the-expression/m-p/942154#M324785</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13.3333px;"&gt;Hello ,&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;In the application when you select filter in DO then blue reference line is popped up in that you will see DSM passed in the variable but not sure what it is?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Oct 2015 10:03:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-in-understanding-the-expression/m-p/942154#M324785</guid>
      <dc:creator>ferha_jafri</dc:creator>
      <dc:date>2015-10-09T10:03:55Z</dc:date>
    </item>
    <item>
      <title>Re: Need help in understanding the expression</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-in-understanding-the-expression/m-p/942155#M324786</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;[DIM] might be an alternate state.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Go to Settings - Document properties - General and see if there is any alternate states:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Alternate states.PNG" class="jive-image image-1" src="/legacyfs/online/101554_Alternate states.PNG" style="height: auto; width: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Oct 2015 11:56:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-in-understanding-the-expression/m-p/942155#M324786</guid>
      <dc:creator>simenkg</dc:creator>
      <dc:date>2015-10-09T11:56:12Z</dc:date>
    </item>
  </channel>
</rss>

