<?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 Convert an expression into script in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Convert-an-expression-into-script/m-p/1707950#M724704</link>
    <description>&lt;P&gt;Dears,&lt;/P&gt;&lt;P&gt;How can I convert the following expressions into a script?&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;= LINEST_M(Aggr(avg( If(DVPG &amp;gt; '18/03/2020', VDAF) ), STCK, DVPG ), DVPG )&lt;/LI-CODE&gt;&lt;LI-CODE lang="markup"&gt;=LINEST_R2(Aggr(avg(DISTINCT If(DVPG &amp;gt; '18/03/2020', VDAF)), STCK, DVPG),DVPG)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The fields can be obtained from the following tables:&lt;BR /&gt;&lt;BR /&gt;VDAF and STCK =&amp;gt; Table Empresas&lt;BR /&gt;STCK and DVPG =&amp;gt; Table Cotações&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;DVPG has the same content as the Field PERI, that can also be found at Table Empresas&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can I do that?&lt;BR /&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator>brunolelli87</dc:creator>
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>Convert an expression into script</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-an-expression-into-script/m-p/1707950#M724704</link>
      <description>&lt;P&gt;Dears,&lt;/P&gt;&lt;P&gt;How can I convert the following expressions into a script?&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;= LINEST_M(Aggr(avg( If(DVPG &amp;gt; '18/03/2020', VDAF) ), STCK, DVPG ), DVPG )&lt;/LI-CODE&gt;&lt;LI-CODE lang="markup"&gt;=LINEST_R2(Aggr(avg(DISTINCT If(DVPG &amp;gt; '18/03/2020', VDAF)), STCK, DVPG),DVPG)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The fields can be obtained from the following tables:&lt;BR /&gt;&lt;BR /&gt;VDAF and STCK =&amp;gt; Table Empresas&lt;BR /&gt;STCK and DVPG =&amp;gt; Table Cotações&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;DVPG has the same content as the Field PERI, that can also be found at Table Empresas&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can I do that?&lt;BR /&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-an-expression-into-script/m-p/1707950#M724704</guid>
      <dc:creator>brunolelli87</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
  </channel>
</rss>

