<?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: Turning TYD data into monthly data in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Turning-TYD-data-into-monthly-data/m-p/1731346#M55800</link>
    <description>&lt;P&gt;I'm glad it helps&lt;/P&gt;</description>
    <pubDate>Tue, 28 Jul 2020 11:35:59 GMT</pubDate>
    <dc:creator>thi_pham</dc:creator>
    <dc:date>2020-07-28T11:35:59Z</dc:date>
    <item>
      <title>Turning TYD data into monthly data</title>
      <link>https://community.qlik.com/t5/App-Development/Turning-TYD-data-into-monthly-data/m-p/1731329#M55793</link>
      <description>&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;I am having some trouble with a new request.&lt;/P&gt;&lt;P&gt;Usually we have the data (lets say sales) in the following manner:&lt;/P&gt;&lt;P&gt;for each period we have the sales, so we load period and sales and we can represent monthly sales as sum(sales) for periods or the cumulative sales with the&amp;nbsp;RangeSum(Above(sum(sales),0,RowNo(TOTAL))).&lt;/P&gt;&lt;P&gt;Now for the budget, the data we have is the cumulative budget. In other words we have the second of the previous measures directly. To get the monthy values for the budget we would need to substract, for each period the budget of the previous period.&lt;/P&gt;&lt;P&gt;How could we achieve this? I tried creating a variable v_prevmonth =date(addmonths(DATE(Period_Date),-1),'YYYY.MM') which gives me the value of the previous month, and then SUM(budget)-SUM({&amp;lt;Period_Date={"=$(v_prevmonth)"}&amp;gt;}budget) but it's not working right because the second part returns the same value as the first&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jul 2020 10:55:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Turning-TYD-data-into-monthly-data/m-p/1731329#M55793</guid>
      <dc:creator>Enriquemmesteo</dc:creator>
      <dc:date>2020-07-28T10:55:48Z</dc:date>
    </item>
    <item>
      <title>Re: Turning TYD data into monthly data</title>
      <link>https://community.qlik.com/t5/App-Development/Turning-TYD-data-into-monthly-data/m-p/1731340#M55795</link>
      <description>&lt;P&gt;As you use Above function in measure Sales, why don't you use it in Budget as well:&lt;/P&gt;&lt;P&gt;&amp;nbsp;sum(Budget) - Above(sum(Budget))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jul 2020 11:27:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Turning-TYD-data-into-monthly-data/m-p/1731340#M55795</guid>
      <dc:creator>thi_pham</dc:creator>
      <dc:date>2020-07-28T11:27:22Z</dc:date>
    </item>
    <item>
      <title>Re: Turning TYD data into monthly data</title>
      <link>https://community.qlik.com/t5/App-Development/Turning-TYD-data-into-monthly-data/m-p/1731342#M55797</link>
      <description>&lt;P&gt;That totally worked!&lt;/P&gt;&lt;P&gt;I was trying so many ways and none was working.&lt;/P&gt;&lt;P&gt;Thank you very much&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":grinning_face:"&gt;😀&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jul 2020 11:33:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Turning-TYD-data-into-monthly-data/m-p/1731342#M55797</guid>
      <dc:creator>Enriquemmesteo</dc:creator>
      <dc:date>2020-07-28T11:33:09Z</dc:date>
    </item>
    <item>
      <title>Re: Turning TYD data into monthly data</title>
      <link>https://community.qlik.com/t5/App-Development/Turning-TYD-data-into-monthly-data/m-p/1731346#M55800</link>
      <description>&lt;P&gt;I'm glad it helps&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jul 2020 11:35:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Turning-TYD-data-into-monthly-data/m-p/1731346#M55800</guid>
      <dc:creator>thi_pham</dc:creator>
      <dc:date>2020-07-28T11:35:59Z</dc:date>
    </item>
  </channel>
</rss>

