<?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 Represent evolution index on line graph in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Represent-evolution-index-on-line-graph/m-p/1897071#M74031</link>
    <description>&lt;P&gt;Hi,&lt;BR /&gt;I am looking to put Evolution Index for a pharmaceutical company on a line graph. I am able to show in table using below formula -&lt;/P&gt;
&lt;P&gt;( 1 + (Current Year Month data - Previous Year Month data)/Previous Year Month data)*100 / ( 1 +Total(Current Year Month data- Previous Year Month data)/ Total(Previous Year Month Data))*100&lt;/P&gt;
&lt;P&gt;Now I have only data for 25 months only.&lt;/P&gt;
&lt;P&gt;I need to use the above formula to put it on graph and show 12 months data. I have created a dimension MTH having 25 months data and Month Index having numbers 1 to 25.&lt;/P&gt;
&lt;P&gt;Please provide a solution for it and provide the required formula.&lt;/P&gt;</description>
    <pubDate>Thu, 24 Feb 2022 11:17:16 GMT</pubDate>
    <dc:creator>Pranav56</dc:creator>
    <dc:date>2022-02-24T11:17:16Z</dc:date>
    <item>
      <title>Represent evolution index on line graph</title>
      <link>https://community.qlik.com/t5/App-Development/Represent-evolution-index-on-line-graph/m-p/1897071#M74031</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;I am looking to put Evolution Index for a pharmaceutical company on a line graph. I am able to show in table using below formula -&lt;/P&gt;
&lt;P&gt;( 1 + (Current Year Month data - Previous Year Month data)/Previous Year Month data)*100 / ( 1 +Total(Current Year Month data- Previous Year Month data)/ Total(Previous Year Month Data))*100&lt;/P&gt;
&lt;P&gt;Now I have only data for 25 months only.&lt;/P&gt;
&lt;P&gt;I need to use the above formula to put it on graph and show 12 months data. I have created a dimension MTH having 25 months data and Month Index having numbers 1 to 25.&lt;/P&gt;
&lt;P&gt;Please provide a solution for it and provide the required formula.&lt;/P&gt;</description>
      <pubDate>Thu, 24 Feb 2022 11:17:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Represent-evolution-index-on-line-graph/m-p/1897071#M74031</guid>
      <dc:creator>Pranav56</dc:creator>
      <dc:date>2022-02-24T11:17:16Z</dc:date>
    </item>
    <item>
      <title>Re: Represent evolution index on line graph</title>
      <link>https://community.qlik.com/t5/App-Development/Represent-evolution-index-on-line-graph/m-p/1899465#M74251</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/164916"&gt;@Pranav56&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I think you can use a bit of Set Analysis in your formula to keep only the latest 12 months. Something like this should work:&lt;/P&gt;
&lt;P&gt;{$&amp;lt;MTH = {"&amp;gt;=(month(now()-12)&amp;lt;= Month(now())"}&amp;gt;}&lt;/P&gt;
&lt;P&gt;I would suggest you to have a look at what Set Analysis can do for you. There are nice guides in the community, like &lt;A href="https://community.qlik.com/t5/Qlik-Sense-Documents/Introduction-to-Set-Analysis-video-Part-1/ta-p/1491632" target="_blank" rel="noopener"&gt;here.&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;You can also have a look at the&lt;A href="https://help.qlik.com/en-US/qlikview/May2021/Subsystems/Client/Content/QV_QlikView/ChartFunctions/SetAnalysis/set-analysis-expressions.htm" target="_blank" rel="noopener"&gt; Help page&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Wed, 02 Mar 2022 16:00:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Represent-evolution-index-on-line-graph/m-p/1899465#M74251</guid>
      <dc:creator>Andrea_Bertazzo</dc:creator>
      <dc:date>2022-03-02T16:00:57Z</dc:date>
    </item>
  </channel>
</rss>

