<?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: Adapt my expression to work on a chart in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Adapt-my-expression-to-work-on-a-chart/m-p/1707028#M723742</link>
    <description>&lt;P&gt;maybe this:&lt;BR /&gt;=Num( LINEST_M(Aggr(avg( If(DVPG &amp;gt; '18/03/2020', VDAF) ), STCK, DVPG ), STCK ), '#.##0,0000;-#.##0,0000' )&lt;/P&gt;&lt;P&gt;I hope it can helps.&lt;/P&gt;</description>
    <pubDate>Mon, 01 Jun 2020 07:42:36 GMT</pubDate>
    <dc:creator>agigliotti</dc:creator>
    <dc:date>2020-06-01T07:42:36Z</dc:date>
    <item>
      <title>Adapt my expression to work on a chart</title>
      <link>https://community.qlik.com/t5/QlikView/Adapt-my-expression-to-work-on-a-chart/m-p/1706875#M723739</link>
      <description>&lt;P&gt;Hello guys,&lt;/P&gt;&lt;P&gt;I have the following expression working perfectly to identify the slope of my linear regression.&lt;BR /&gt;So, when the user selects a company, the slope is shown on a Label Box.&lt;BR /&gt;&lt;BR /&gt;My intention with the following expression is to show the slope of average points of VDAF per date (DVPG) starting from 18/03/2020.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;=Num(LINEST_M(Aggr(avg(If(DVPG &amp;gt; '18/03/2020', VDAF)), DVPG),DVPG), '#.##0,0000;-#.##0,0000')&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now I would like to have a chart with Companies (STCK) as a Dimension and the expression mentioned above as Expression.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;How could I adapt the above expression to work with STCKs as dimension?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Adapt-my-expression-to-work-on-a-chart/m-p/1706875#M723739</guid>
      <dc:creator>brunolelli87</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Adapt my expression to work on a chart</title>
      <link>https://community.qlik.com/t5/QlikView/Adapt-my-expression-to-work-on-a-chart/m-p/1706953#M723740</link>
      <description>&lt;P&gt;Any idea guys?&lt;/P&gt;</description>
      <pubDate>Mon, 01 Jun 2020 00:33:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Adapt-my-expression-to-work-on-a-chart/m-p/1706953#M723740</guid>
      <dc:creator>brunolelli87</dc:creator>
      <dc:date>2020-06-01T00:33:24Z</dc:date>
    </item>
    <item>
      <title>Re: Adapt my expression to work on a chart</title>
      <link>https://community.qlik.com/t5/QlikView/Adapt-my-expression-to-work-on-a-chart/m-p/1707013#M723741</link>
      <description>&lt;P&gt;How can I do that?&lt;/P&gt;</description>
      <pubDate>Mon, 01 Jun 2020 07:07:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Adapt-my-expression-to-work-on-a-chart/m-p/1707013#M723741</guid>
      <dc:creator>brunolelli87</dc:creator>
      <dc:date>2020-06-01T07:07:59Z</dc:date>
    </item>
    <item>
      <title>Re: Adapt my expression to work on a chart</title>
      <link>https://community.qlik.com/t5/QlikView/Adapt-my-expression-to-work-on-a-chart/m-p/1707028#M723742</link>
      <description>&lt;P&gt;maybe this:&lt;BR /&gt;=Num( LINEST_M(Aggr(avg( If(DVPG &amp;gt; '18/03/2020', VDAF) ), STCK, DVPG ), STCK ), '#.##0,0000;-#.##0,0000' )&lt;/P&gt;&lt;P&gt;I hope it can helps.&lt;/P&gt;</description>
      <pubDate>Mon, 01 Jun 2020 07:42:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Adapt-my-expression-to-work-on-a-chart/m-p/1707028#M723742</guid>
      <dc:creator>agigliotti</dc:creator>
      <dc:date>2020-06-01T07:42:36Z</dc:date>
    </item>
    <item>
      <title>Re: Adapt my expression to work on a chart</title>
      <link>https://community.qlik.com/t5/QlikView/Adapt-my-expression-to-work-on-a-chart/m-p/1707153#M723743</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Thanks for your help but it did not work.&lt;BR /&gt;"No data to display" was the output&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Any other idea?&lt;/P&gt;</description>
      <pubDate>Mon, 01 Jun 2020 14:06:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Adapt-my-expression-to-work-on-a-chart/m-p/1707153#M723743</guid>
      <dc:creator>brunolelli87</dc:creator>
      <dc:date>2020-06-01T14:06:49Z</dc:date>
    </item>
    <item>
      <title>Re: Adapt my expression to work on a chart</title>
      <link>https://community.qlik.com/t5/QlikView/Adapt-my-expression-to-work-on-a-chart/m-p/1707159#M723744</link>
      <description>&lt;P&gt;could you share a sample app with mock data?&lt;/P&gt;</description>
      <pubDate>Mon, 01 Jun 2020 14:31:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Adapt-my-expression-to-work-on-a-chart/m-p/1707159#M723744</guid>
      <dc:creator>agigliotti</dc:creator>
      <dc:date>2020-06-01T14:31:46Z</dc:date>
    </item>
    <item>
      <title>Re: Adapt my expression to work on a chart</title>
      <link>https://community.qlik.com/t5/QlikView/Adapt-my-expression-to-work-on-a-chart/m-p/1707170#M723745</link>
      <description>&lt;P&gt;Yes, sure!&lt;/P&gt;&lt;P&gt;Please, find attached my project!&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I'm using a Personal Edition of QlikView so, I'm not able to open any file you may send me back!&lt;BR /&gt;I'm sorry for that...&lt;/P&gt;&lt;P&gt;Thanks for your help&lt;/P&gt;</description>
      <pubDate>Mon, 01 Jun 2020 14:50:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Adapt-my-expression-to-work-on-a-chart/m-p/1707170#M723745</guid>
      <dc:creator>brunolelli87</dc:creator>
      <dc:date>2020-06-01T14:50:36Z</dc:date>
    </item>
    <item>
      <title>Re: Adapt my expression to work on a chart</title>
      <link>https://community.qlik.com/t5/QlikView/Adapt-my-expression-to-work-on-a-chart/m-p/1707178#M723746</link>
      <description>&lt;P&gt;try this:&lt;BR /&gt;= LINEST_M(Aggr(avg( If(DVPG &amp;gt; '18/03/2020', VDAF) ), STCK, DVPG ), DVPG )&lt;/P&gt;</description>
      <pubDate>Mon, 01 Jun 2020 15:26:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Adapt-my-expression-to-work-on-a-chart/m-p/1707178#M723746</guid>
      <dc:creator>agigliotti</dc:creator>
      <dc:date>2020-06-01T15:26:29Z</dc:date>
    </item>
    <item>
      <title>Re: Adapt my expression to work on a chart</title>
      <link>https://community.qlik.com/t5/QlikView/Adapt-my-expression-to-work-on-a-chart/m-p/1707191#M723747</link>
      <description>&lt;P&gt;Wow!!!&lt;/P&gt;&lt;P&gt;It's working now! Thank you so much.&lt;BR /&gt;&lt;BR /&gt;I don't want to upset you with lots of questions, but how could I convert your expression to show the average of it's group?&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;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Check the following Example: For all the other charts, I'm doing this:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;For each STCK:&lt;/STRONG&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;FirstSortedValue(VDAF, -DVPG)*FirstSortedValue(NDAN, -PERI)&lt;/LI-CODE&gt;&lt;P&gt;For STCKs group:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;AVG( TOTAL {&amp;lt;STCK,SETO=p(SETO)&amp;gt;}
	(
		AGGR(FirstSortedValue({&amp;lt;STCK,SETO=p(SETO)&amp;gt;}VDAF, -DVPG), STCK, SETO) *
		AGGR(FirstSortedValue({&amp;lt;STCK,SETO=p(SETO)&amp;gt;}NDAN, -PERI), STCK, SETO)
	)
)&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 01 Jun 2020 15:55:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Adapt-my-expression-to-work-on-a-chart/m-p/1707191#M723747</guid>
      <dc:creator>brunolelli87</dc:creator>
      <dc:date>2020-06-01T15:55:01Z</dc:date>
    </item>
  </channel>
</rss>

