<?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: Help in expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Help-in-expression/m-p/1244202#M394748</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried with FirstSortedValue() function also, but somehow it was not working. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 29 Nov 2016 12:09:12 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2016-11-29T12:09:12Z</dc:date>
    <item>
      <title>Help in expression</title>
      <link>https://community.qlik.com/t5/QlikView/Help-in-expression/m-p/1244196#M394742</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello got a pivot table in which I'm getting the latest invoice number and latest invoice date for customers not served in the selected month and year (check attached)&lt;/P&gt;&lt;P&gt;May you please help me get the amount of each invoice in the pivot table?&lt;/P&gt;&lt;P&gt;I couldn't get the sum of amount where InvoiceNum is the one gotten in the expression labeled &lt;STRONG&gt;Latest Invoice Num&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please advise&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Nov 2016 10:21:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-in-expression/m-p/1244196#M394742</guid>
      <dc:creator>ali_hijazi</dc:creator>
      <dc:date>2016-11-29T10:21:55Z</dc:date>
    </item>
    <item>
      <title>Re: Help in expression</title>
      <link>https://community.qlik.com/t5/QlikView/Help-in-expression/m-p/1244197#M394743</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is your amount field?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Nov 2016 10:35:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-in-expression/m-p/1244197#M394743</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2016-11-29T10:35:20Z</dc:date>
    </item>
    <item>
      <title>Re: Help in expression</title>
      <link>https://community.qlik.com/t5/QlikView/Help-in-expression/m-p/1244198#M394744</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ValueUSD&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Nov 2016 10:38:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-in-expression/m-p/1244198#M394744</guid>
      <dc:creator>ali_hijazi</dc:creator>
      <dc:date>2016-11-29T10:38:10Z</dc:date>
    </item>
    <item>
      <title>Re: Help in expression</title>
      <link>https://community.qlik.com/t5/QlikView/Help-in-expression/m-p/1244199#M394745</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum({&amp;lt;CustomerCode = E({&amp;lt;TrxType={'Sales'},CustomerInactive={'n'},CusNum = {"=Sum({&amp;lt;TrxType={'Sales'}&amp;gt;} ValueUSD)&amp;gt;0"}&amp;gt;} CustomerCode)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; ,TrxType={'sales'}&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; ,CustomerInactive={'n'}&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; ,YEAR=,MONTH=,MONTH_NUM=,MONTH_YEAR=,DAY=&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; ,TrxDate={'&amp;lt;=$(vEOM_LastMonth)'}&amp;gt;}&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Aggr(If(Only({1}InvoiceNum) = Max(TOTAL &amp;lt;Customer_Default_Salesman, Routing, CusName, CustomerCode&amp;gt; {&amp;lt;CustomerCode = E({&amp;lt;TrxType={'Sales'},CustomerInactive={'n'},CusNum = {"=Sum({&amp;lt;TrxType={'Sales'}&amp;gt;} ValueUSD)&amp;gt;0"}&amp;gt;} CustomerCode)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; ,TrxType={'sales'}&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; ,CustomerInactive={'n'}&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; ,YEAR=,MONTH=,MONTH_NUM=,MONTH_YEAR=,DAY=&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; ,TrxDate={'&amp;lt;=$(vEOM_LastMonth)'}&amp;gt;}InvoiceNum),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum({&amp;lt;CustomerCode = E({&amp;lt;TrxType={'Sales'},CustomerInactive={'n'},CusNum = {"=Sum({&amp;lt;TrxType={'Sales'}&amp;gt;} ValueUSD)&amp;gt;0"}&amp;gt;} CustomerCode)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; ,TrxType={'sales'}&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; ,CustomerInactive={'n'}&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; ,YEAR=,MONTH=,MONTH_NUM=,MONTH_YEAR=,DAY=&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; ,TrxDate={'&amp;lt;=$(vEOM_LastMonth)'}&amp;gt;}ValueUSD)), Customer_Default_Salesman, Routing, CusName, CustomerCode, InvoiceNum))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/145122_Capture.PNG" style="height: 281px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Nov 2016 10:58:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-in-expression/m-p/1244199#M394745</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-11-29T10:58:10Z</dc:date>
    </item>
    <item>
      <title>Re: Help in expression</title>
      <link>https://community.qlik.com/t5/QlikView/Help-in-expression/m-p/1244200#M394746</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: arial, helvetica, sans-serif;"&gt;Structure would be like:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: arial, helvetica, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'courier new', courier;"&gt;Sum( &amp;lt;Set&amp;gt; If( InvoiceNum=Aggr( &amp;lt;expression that generates the invoice&amp;gt;, dim1, dim2..), Amount)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style=": ; color: #0000ff; font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;SPAN style="; color: #0000ff; font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;Sum&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;(&lt;SPAN style="font-size: 8pt;"&gt;&lt;EM&gt;{&lt;/EM&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;EM&gt;&amp;lt;CustomerCode = E({&amp;lt;TrxType={'Sales'},CustomerInactive={'n'},CusNum = {"=Sum({&amp;lt;TrxType= 'Sales'}&amp;gt;} ValueUSD)&amp;gt;0"}&amp;gt;} CustomerCode),TrxType={'sales'},CustomerInactive={'n'}&amp;nbsp; ,YEAR=,MONTH=,MONTH_NUM=,MONTH_YEAR=,DAY=,TrxDate={'&amp;lt;=$(vEOM_LastMonth)'}&amp;gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;EM&gt;}&lt;/EM&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;If&lt;/STRONG&gt;&lt;/SPAN&gt;(InvoiceNum=&lt;STRONG&gt;A&lt;/STRONG&gt;&lt;STRONG&gt;ggr&lt;/STRONG&gt;(NODISTINCT max(&lt;EM&gt;{&lt;/EM&gt;&lt;EM&gt;&amp;lt;CustomerCode = E({&amp;lt;TrxType={'Sales'},CustomerInactive={'n'}&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;EM&gt;&amp;nbsp; ,CusNum = {"=Sum({&amp;lt;TrxType={'Sales'}&amp;gt;} ValueUSD)&amp;gt;0"}&amp;gt;}CustomerCode),TrxType={'sales'}&amp;nbsp; ,CustomerInactive={'n'},YEAR=,MONTH=,MONTH_NUM=,MONTH_YEAR=,DAY=,TrxDate={'&amp;lt;=$(vEOM_LastMonth)'}&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;EM&gt;&amp;nbsp; &amp;gt;&lt;/EM&gt;&lt;EM&gt;}&lt;/EM&gt;InvoiceNum)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;,&lt;STRONG&gt;Customer_Default_Salesman, Routing, CusName, CustomerCode &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;), &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;ValueUSD))&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Nov 2016 11:50:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-in-expression/m-p/1244200#M394746</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2016-11-29T11:50:12Z</dc:date>
    </item>
    <item>
      <title>Re: Help in expression</title>
      <link>https://community.qlik.com/t5/QlikView/Help-in-expression/m-p/1244201#M394747</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thank you very much indeed&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Nov 2016 12:08:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-in-expression/m-p/1244201#M394747</guid>
      <dc:creator>ali_hijazi</dc:creator>
      <dc:date>2016-11-29T12:08:33Z</dc:date>
    </item>
    <item>
      <title>Re: Help in expression</title>
      <link>https://community.qlik.com/t5/QlikView/Help-in-expression/m-p/1244202#M394748</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried with FirstSortedValue() function also, but somehow it was not working. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Nov 2016 12:09:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-in-expression/m-p/1244202#M394748</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-11-29T12:09:12Z</dc:date>
    </item>
  </channel>
</rss>

