<?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 create povit table using 3 dimensions and 1 metric for trend values in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/create-povit-table-using-3-dimensions-and-1-metric-for-trend/m-p/1022873#M345902</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13.3333px;"&gt;Hi team,&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Good day &lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;i am facing some issue on Slope values &lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;i need to create pivot table &lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;for that&amp;nbsp; i have 3 dimensions and one metric&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;3 Dimensions are &lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;city&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;country&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;state&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Week&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;metric:&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;123&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;using above metric i need to create one povit table that table is drill down &lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;when i click on state it will show country list &lt;SPAN style="font-size: 13.3333px;"&gt;with revenue and Slope value&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;when i click county it will show state with revenue and Slope value &lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;using Trendm i create some code using that Code i am not getting exact values when i compare to my reference report&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;my code:&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;LINEST_M(aggr(sum(Revenue), Week),aggr(Week,Week))--using this code i am getting Exact Grand total values .i used for this code as&amp;nbsp; a grand total slope variable but when i am apply this code in pivot table i am getting same slope value in all dimensions&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;linest_m(total &amp;lt;[&lt;SPAN style="font-size: 13.3333px;"&gt;country&lt;/SPAN&gt;]&amp;gt;aggr(&lt;SPAN style="font-size: 13.3333px;"&gt;sum(Revenue)&lt;/SPAN&gt;,[&lt;SPAN style="font-size: 13.3333px;"&gt;country&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;]&lt;/SPAN&gt;,[&lt;SPAN style="font-size: 13.3333px;"&gt;Week]),Week)--using this code in pivot table i am getting exact value what i had in my reference report&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;but using above code i didnt get slope values when i am going dril down &lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;like &lt;SPAN style="font-size: 13.3333px;"&gt;linest_m(total &amp;lt;[&lt;SPAN style="font-size: 13.3333px;"&gt;country&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;]&amp;gt;aggr(&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;sum(Revenue)&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;,[&lt;SPAN style="font-size: 13.3333px;"&gt;country&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;]&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;,[&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Week]),Week) using this code i am getting state code but when i am going to country i am not getting exact slope values in pivot table&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;so i want to create linest m for dril down optation&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;like:&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;linest_m(total &amp;lt;[&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;state&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;]&amp;gt;aggr(&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;sum(Revenue)&lt;SPAN style="font-size: 13.3333px;"&gt;,[&lt;SPAN style="font-size: 13.3333px;"&gt;country&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;]&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;[&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;state]&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;,[&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Week]),[Week]) &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;or&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;linest_m(total &amp;lt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;[&lt;SPAN style="font-size: 13.3333px;"&gt;country&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;]&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;[&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;state]&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;,[&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Week]&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;gt;aggr(&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;sum(Revenue)&lt;SPAN style="font-size: 13.3333px;"&gt;,[&lt;SPAN style="font-size: 13.3333px;"&gt;country&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;]&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;[&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;state]&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;,[&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Week]),[Week]) &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;or&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;aggr( &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;linest_m(&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;aggr(&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;sum(Revenue)&lt;SPAN style="font-size: 13.3333px;"&gt;,[&lt;SPAN style="font-size: 13.3333px;"&gt;country&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;]&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;[&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;state]&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;,[&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Week]),[Week]),&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;[&lt;SPAN style="font-size: 13.3333px;"&gt;country&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;]&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;[&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;state])&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;i tired above code in povit table but i am not getting exact slope values &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;can any one suggest best example for that &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;please refer&amp;nbsp; thread &lt;/SPAN&gt;&lt;A href="https://community.qlikview.com/thread/10287" style="font-size: 10pt;" title="https://community.qlikview.com/thread/10287"&gt;Falling Trendlines/Sales | Qlik Community&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Bobby&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 31 Mar 2016 07:34:20 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-03-31T07:34:20Z</dc:date>
    <item>
      <title>create povit table using 3 dimensions and 1 metric for trend values</title>
      <link>https://community.qlik.com/t5/QlikView/create-povit-table-using-3-dimensions-and-1-metric-for-trend/m-p/1022873#M345902</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13.3333px;"&gt;Hi team,&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Good day &lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;i am facing some issue on Slope values &lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;i need to create pivot table &lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;for that&amp;nbsp; i have 3 dimensions and one metric&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;3 Dimensions are &lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;city&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;country&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;state&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Week&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;metric:&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;123&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;using above metric i need to create one povit table that table is drill down &lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;when i click on state it will show country list &lt;SPAN style="font-size: 13.3333px;"&gt;with revenue and Slope value&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;when i click county it will show state with revenue and Slope value &lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;using Trendm i create some code using that Code i am not getting exact values when i compare to my reference report&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;my code:&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;LINEST_M(aggr(sum(Revenue), Week),aggr(Week,Week))--using this code i am getting Exact Grand total values .i used for this code as&amp;nbsp; a grand total slope variable but when i am apply this code in pivot table i am getting same slope value in all dimensions&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;linest_m(total &amp;lt;[&lt;SPAN style="font-size: 13.3333px;"&gt;country&lt;/SPAN&gt;]&amp;gt;aggr(&lt;SPAN style="font-size: 13.3333px;"&gt;sum(Revenue)&lt;/SPAN&gt;,[&lt;SPAN style="font-size: 13.3333px;"&gt;country&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;]&lt;/SPAN&gt;,[&lt;SPAN style="font-size: 13.3333px;"&gt;Week]),Week)--using this code in pivot table i am getting exact value what i had in my reference report&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;but using above code i didnt get slope values when i am going dril down &lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;like &lt;SPAN style="font-size: 13.3333px;"&gt;linest_m(total &amp;lt;[&lt;SPAN style="font-size: 13.3333px;"&gt;country&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;]&amp;gt;aggr(&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;sum(Revenue)&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;,[&lt;SPAN style="font-size: 13.3333px;"&gt;country&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;]&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;,[&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Week]),Week) using this code i am getting state code but when i am going to country i am not getting exact slope values in pivot table&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;so i want to create linest m for dril down optation&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;like:&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;linest_m(total &amp;lt;[&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;state&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;]&amp;gt;aggr(&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;sum(Revenue)&lt;SPAN style="font-size: 13.3333px;"&gt;,[&lt;SPAN style="font-size: 13.3333px;"&gt;country&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;]&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;[&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;state]&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;,[&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Week]),[Week]) &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;or&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;linest_m(total &amp;lt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;[&lt;SPAN style="font-size: 13.3333px;"&gt;country&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;]&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;[&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;state]&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;,[&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Week]&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;gt;aggr(&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;sum(Revenue)&lt;SPAN style="font-size: 13.3333px;"&gt;,[&lt;SPAN style="font-size: 13.3333px;"&gt;country&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;]&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;[&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;state]&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;,[&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Week]),[Week]) &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;or&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;aggr( &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;linest_m(&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;aggr(&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;sum(Revenue)&lt;SPAN style="font-size: 13.3333px;"&gt;,[&lt;SPAN style="font-size: 13.3333px;"&gt;country&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;]&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;[&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;state]&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;,[&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Week]),[Week]),&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;[&lt;SPAN style="font-size: 13.3333px;"&gt;country&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;]&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;[&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;state])&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;i tired above code in povit table but i am not getting exact slope values &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;can any one suggest best example for that &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;please refer&amp;nbsp; thread &lt;/SPAN&gt;&lt;A href="https://community.qlikview.com/thread/10287" style="font-size: 10pt;" title="https://community.qlikview.com/thread/10287"&gt;Falling Trendlines/Sales | Qlik Community&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Bobby&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Mar 2016 07:34:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/create-povit-table-using-3-dimensions-and-1-metric-for-trend/m-p/1022873#M345902</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-03-31T07:34:20Z</dc:date>
    </item>
  </channel>
</rss>

