<?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 QlikSense MTD,YTD,QTD in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/QlikSense-MTD-YTD-QTD/m-p/1767880#M59393</link>
    <description>&lt;P&gt;In my sheet i have 3 filters Year, MonthYear(ex-:May-2020) and a drildown filter (Dialy,MTD,YTD,QTD) .&lt;/P&gt;&lt;P&gt;Dimensions are Customer , salesRep, Year, MonthYear, Date&lt;/P&gt;&lt;P&gt;Measure-Sales&lt;/P&gt;&lt;P&gt;I am taking a pivot table with Customer(Row left) and SalesRep(Col Top) i am calculating %Gain(Ratio of CY Sales,PY Sales-Based on selection)&lt;/P&gt;&lt;P&gt;when I select MonthYear ---ex-'May-2020' i want &lt;U&gt;Ratio of&amp;nbsp;&lt;/U&gt; &lt;U&gt;May-2020 sales&lt;/U&gt; to &lt;U&gt;May-2019 sales.&lt;/U&gt; Please suggest expression for this.&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 17:42:57 GMT</pubDate>
    <dc:creator>kmmqlick</dc:creator>
    <dc:date>2024-11-16T17:42:57Z</dc:date>
    <item>
      <title>QlikSense MTD,YTD,QTD</title>
      <link>https://community.qlik.com/t5/App-Development/QlikSense-MTD-YTD-QTD/m-p/1767880#M59393</link>
      <description>&lt;P&gt;In my sheet i have 3 filters Year, MonthYear(ex-:May-2020) and a drildown filter (Dialy,MTD,YTD,QTD) .&lt;/P&gt;&lt;P&gt;Dimensions are Customer , salesRep, Year, MonthYear, Date&lt;/P&gt;&lt;P&gt;Measure-Sales&lt;/P&gt;&lt;P&gt;I am taking a pivot table with Customer(Row left) and SalesRep(Col Top) i am calculating %Gain(Ratio of CY Sales,PY Sales-Based on selection)&lt;/P&gt;&lt;P&gt;when I select MonthYear ---ex-'May-2020' i want &lt;U&gt;Ratio of&amp;nbsp;&lt;/U&gt; &lt;U&gt;May-2020 sales&lt;/U&gt; to &lt;U&gt;May-2019 sales.&lt;/U&gt; Please suggest expression for this.&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 17:42:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/QlikSense-MTD-YTD-QTD/m-p/1767880#M59393</guid>
      <dc:creator>kmmqlick</dc:creator>
      <dc:date>2024-11-16T17:42:57Z</dc:date>
    </item>
    <item>
      <title>Re: QlikSense MTD,YTD,QTD</title>
      <link>https://community.qlik.com/t5/App-Development/QlikSense-MTD-YTD-QTD/m-p/1767906#M59395</link>
      <description>&lt;P&gt;You have a lot going on here.&amp;nbsp; You can start by adding separate SalesYear and SalesMonth fields to your table in the load script to make it easier to use set analysis.&amp;nbsp; Then you could use the following expression in your pivot.&amp;nbsp; You will need to make adjustments based on what you want the pivot to present if no YearMonth is filtered or if multiple YearMonths are selected and how the Daily, MTD, YTD and QTD filters apply.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;=(sum({$&amp;lt;MonthYear=,SalesYear={$(=max({$} Year(Date)))},SalesMonth={$(=Concat(Distinct SalesMonth,','))}&amp;gt;} Sales) -&lt;/P&gt;&lt;P&gt;&amp;nbsp; sum({$&amp;lt;MonthYear=,SalesYear={$(=max({$} Year(Date))-1)},SalesMonth={$(=Concat(Distinct SalesMonth,','))}&amp;gt;} Sales)) /&lt;/P&gt;&lt;P&gt;&amp;nbsp; sum({$&amp;lt;MonthYear=,SalesYear={$(=max({$} Year(Date))-1)},SalesMonth={$(=Concat(Distinct SalesMonth,','))}&amp;gt;} Sales)&lt;/P&gt;</description>
      <pubDate>Fri, 11 Dec 2020 12:04:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/QlikSense-MTD-YTD-QTD/m-p/1767906#M59395</guid>
      <dc:creator>GaryGiles</dc:creator>
      <dc:date>2020-12-11T12:04:17Z</dc:date>
    </item>
  </channel>
</rss>

