<?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: Construct Expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Construct-Expression/m-p/1272051#M861944</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Please let me know how to get this.&lt;/P&gt;&lt;P&gt;Thanks..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 04 Jan 2017 18:23:52 GMT</pubDate>
    <dc:creator>nareshthavidishetty</dc:creator>
    <dc:date>2017-01-04T18:23:52Z</dc:date>
    <item>
      <title>Construct Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Construct-Expression/m-p/1272050#M861943</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know how to add the below logic into the expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Logic&lt;/STRONG&gt;:Sum(INVCOUNT)/sum(ESTCUST)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Expression:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;if(GetcurrentField(Calendar)='SoldYear',if(SoldYear=$(vMaxYear),(sum(ESTCUST)-above(total sum({&amp;lt;SoldMonth={'&amp;lt;=$(=max({&amp;lt;SoldYear={"$(=max(SoldYear))"}&amp;gt;}SoldMonth))'}&amp;gt;}ESTCUST)))&lt;/P&gt;&lt;P&gt;/&lt;/P&gt;&lt;P&gt;above(total sum({&amp;lt;SoldMonth={'&amp;lt;=$(=max({&amp;lt;SoldYear={"$(=max(SoldYear))"}&amp;gt;}SoldMonth))'}&amp;gt;}ESTCUST)),(sum(ESTCUST)-above(total sum(ESTCUST)))/above(total sum(ESTCUST))),&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(GetCurrentField(Calendar)='SoldMonth',(sum(ESTCUST)-sum({&amp;lt;SoldYear={"$(=max(SoldYear)-1)"}&amp;gt;} ESTCUST))/sum({&amp;lt;SoldYear={"$(=max(SoldYear)-1)"}&amp;gt;} ESTCUST),&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(GetCurrentField(Calendar)='SoldDay',(sum(ESTCUST)-sum({&amp;lt;SoldYear={"$(=max(SoldYear)-1)"}&amp;gt;} ESTCUST))/sum({&amp;lt;SoldYear={"$(=max(SoldYear)-1)"}&amp;gt;} ESTCUST))))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the above expression instead of &lt;STRONG&gt;ESTCUST&lt;/STRONG&gt; i need to replace&lt;STRONG&gt; Sum(INVCOUNT)/sum(ESTCUST).&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Construct-Expression/m-p/1272050#M861943</guid>
      <dc:creator>nareshthavidishetty</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Construct Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Construct-Expression/m-p/1272051#M861944</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Please let me know how to get this.&lt;/P&gt;&lt;P&gt;Thanks..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jan 2017 18:23:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Construct-Expression/m-p/1272051#M861944</guid>
      <dc:creator>nareshthavidishetty</dc:creator>
      <dc:date>2017-01-04T18:23:52Z</dc:date>
    </item>
  </channel>
</rss>

