<?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: How to use a single combo chart to get Last 12 month vs Last Year Last 12 Month View in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/How-to-use-a-single-combo-chart-to-get-Last-12-month-vs-Last/m-p/1672570#M50906</link>
    <description>&lt;P&gt;Thanks for the response but both the method is not going to work for me in this scenario. I want to get the Last year- last 12 month value also in the same chart. example:&lt;/P&gt;&lt;P&gt;Date Selected from Filter Pane: &lt;STRONG&gt;2017/07/31&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Month&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; TY SALES&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; LY SALES&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;AUG 16&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;105396&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 90876&lt;/P&gt;&lt;P&gt;SEPT 16&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;3789295&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 3709875&lt;/P&gt;&lt;P&gt;..................&lt;/P&gt;&lt;P&gt;.................&lt;/P&gt;&lt;P&gt;JUN 17&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 3787621&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 278768&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;JULY 17&lt;/STRONG&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;3072573&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;246789 -----&amp;gt; &lt;STRONG&gt;THIS VALUE IS FOR JULY 16 AND SAME FOR OTHER MONTH IN THIS COLUMN&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;You can see that as I selected&amp;nbsp;&lt;STRONG&gt;2017/07/31&amp;nbsp;&lt;/STRONG&gt;date from filter pane my month started from &lt;STRONG&gt;July 17 till Aug 16&amp;nbsp;&lt;/STRONG&gt; and the first measure is giving me the value for the shown month i.e&amp;nbsp;from &lt;STRONG&gt;July 17 till Aug 16 &lt;/STRONG&gt;and 2nd column is showing data for LY same months. i.e&amp;nbsp;&lt;STRONG&gt;JULY 16, JUN 16..........&amp;nbsp; AUG 15.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;So, as I posted earlier my Set Analysis formula. how can I accomplish the 2nd column in the same chart?&lt;/P&gt;</description>
    <pubDate>Wed, 05 Feb 2020 14:36:36 GMT</pubDate>
    <dc:creator>AmitSah</dc:creator>
    <dc:date>2020-02-05T14:36:36Z</dc:date>
    <item>
      <title>How to use a single combo chart to get Last 12 month vs Last Year Last 12 Month View</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-use-a-single-combo-chart-to-get-Last-12-month-vs-Last/m-p/1672527#M50896</link>
      <description>&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;I am facing one issue related to Set Analysis Logic. I am new to Qlik Sense and trying to Figure out a way for my requirement.&lt;BR /&gt;I have an As of Date selector and below one Table which Contains Month and 2 Measures. ( &lt;STRONG&gt;1.&lt;/STRONG&gt; &lt;EM&gt;&lt;STRONG&gt;Last 12 month Gross Sales&lt;/STRONG&gt; &lt;/EM&gt;, &lt;EM&gt;&lt;STRONG&gt;2. LY Last 12 Month Gross Sales&lt;/STRONG&gt;&lt;/EM&gt;) these 2 measures need to be calculated on the basis of the Date selected from filter pane.&lt;BR /&gt;Example: If I selected 2017/07/31 from As of Date selector then the last 12 months should show from that date and those 2 measures should also calculate on the basis of that.&lt;BR /&gt;So, I have created a Last 12 Month Measure with below Set Analysis logic:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;Measure i.e&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;Last 12 month Gross Sales&lt;/STRONG&gt; &lt;STRONG&gt;= &lt;/STRONG&gt;Sum({$&amp;lt;Date_Derived={"&amp;gt;=$(=Date(addmonths(Date(max(Date_Derived),'YYYY/MM/DD'),-12),'YYYY/MM/DD'))&amp;lt;=$(=Date(max(Date_Derived),'YYYY/MM/DD'))"}&amp;gt;} Gross_Sales)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;and when I pulled this measure to my Chart then it is giving me correct last 12 month on the basis of the Date Selection.&lt;/P&gt;&lt;P&gt;But I also want to get the LY Last 12 months, for that, I thought of creating another measure with below Logic but it is including another month from LY. So, this is not working as per my requirement. So, I removed it from my Chart. The below chart is not included this Measure.&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;Last Year - Last 12 Months Gross Sales&lt;/STRONG&gt; &lt;/EM&gt;= &lt;EM&gt;Sum({$&amp;lt;Date_Derived={"&amp;gt;=$(=Date(addmonths(AddYears(Date(max(Date_Derived),'YYYY/MM/DD'),-1),-12),'YYYY/MM/DD'))&amp;lt;=$(=Date(AddYears(Date(max(Date_Derived),'YYYY/MM/DD'),-1),'YYYY/MM/DD'))"}&amp;gt;} Gross_Sales)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;Need to get LY same month value on "&lt;/STRONG&gt;Last Year - Last 12 Months Gross Sales"&amp;nbsp;&lt;STRONG&gt;Measure&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="TY vs LY single chart comp.PNG" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/27992i10D844B0A200D074/image-size/large?v=v2&amp;amp;px=999" role="button" title="TY vs LY single chart comp.PNG" alt="TY vs LY single chart comp.PNG" /&gt;&lt;/span&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can anyone help me with this requirement?&lt;/P&gt;&lt;P&gt;Any Help will be appreciated.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Amit&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 19:10:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-use-a-single-combo-chart-to-get-Last-12-month-vs-Last/m-p/1672527#M50896</guid>
      <dc:creator>AmitSah</dc:creator>
      <dc:date>2024-11-16T19:10:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to use a single combo chart to get Last 12 month vs Last Year Last 12 Month View</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-use-a-single-combo-chart-to-get-Last-12-month-vs-Last/m-p/1672549#M50898</link>
      <description>&lt;P&gt;You will either need to use Above() function to do this or use&amp;nbsp;&lt;A href="https://community.qlik.com/blogs/qlikviewdesignblog/2015/11/02/the-as-of-table" target="_blank" rel="noopener"&gt;The As-Of table&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Feb 2020 13:47:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-use-a-single-combo-chart-to-get-Last-12-month-vs-Last/m-p/1672549#M50898</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2020-02-05T13:47:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to use a single combo chart to get Last 12 month vs Last Year Last 12 Month View</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-use-a-single-combo-chart-to-get-Last-12-month-vs-Last/m-p/1672570#M50906</link>
      <description>&lt;P&gt;Thanks for the response but both the method is not going to work for me in this scenario. I want to get the Last year- last 12 month value also in the same chart. example:&lt;/P&gt;&lt;P&gt;Date Selected from Filter Pane: &lt;STRONG&gt;2017/07/31&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Month&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; TY SALES&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; LY SALES&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;AUG 16&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;105396&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 90876&lt;/P&gt;&lt;P&gt;SEPT 16&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;3789295&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 3709875&lt;/P&gt;&lt;P&gt;..................&lt;/P&gt;&lt;P&gt;.................&lt;/P&gt;&lt;P&gt;JUN 17&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 3787621&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 278768&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;JULY 17&lt;/STRONG&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;3072573&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;246789 -----&amp;gt; &lt;STRONG&gt;THIS VALUE IS FOR JULY 16 AND SAME FOR OTHER MONTH IN THIS COLUMN&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;You can see that as I selected&amp;nbsp;&lt;STRONG&gt;2017/07/31&amp;nbsp;&lt;/STRONG&gt;date from filter pane my month started from &lt;STRONG&gt;July 17 till Aug 16&amp;nbsp;&lt;/STRONG&gt; and the first measure is giving me the value for the shown month i.e&amp;nbsp;from &lt;STRONG&gt;July 17 till Aug 16 &lt;/STRONG&gt;and 2nd column is showing data for LY same months. i.e&amp;nbsp;&lt;STRONG&gt;JULY 16, JUN 16..........&amp;nbsp; AUG 15.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;So, as I posted earlier my Set Analysis formula. how can I accomplish the 2nd column in the same chart?&lt;/P&gt;</description>
      <pubDate>Wed, 05 Feb 2020 14:36:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-use-a-single-combo-chart-to-get-Last-12-month-vs-Last/m-p/1672570#M50906</guid>
      <dc:creator>AmitSah</dc:creator>
      <dc:date>2020-02-05T14:36:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to use a single combo chart to get Last 12 month vs Last Year Last 12 Month View</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-use-a-single-combo-chart-to-get-Last-12-month-vs-Last/m-p/1672592#M50912</link>
      <description>&lt;P&gt;I don't think this is doable using set analysis... are you able to share some sample data to help you see how this can be done using Above/As-Of Table approaches?&lt;/P&gt;</description>
      <pubDate>Wed, 05 Feb 2020 15:07:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-use-a-single-combo-chart-to-get-Last-12-month-vs-Last/m-p/1672592#M50912</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2020-02-05T15:07:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to use a single combo chart to get Last 12 month vs Last Year Last 12 Month View</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-use-a-single-combo-chart-to-get-Last-12-month-vs-Last/m-p/1672601#M50914</link>
      <description>&lt;P&gt;Hi, Sure Please find attached QVF file for the same.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Feb 2020 15:22:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-use-a-single-combo-chart-to-get-Last-12-month-vs-Last/m-p/1672601#M50914</guid>
      <dc:creator>AmitSah</dc:creator>
      <dc:date>2020-02-05T15:22:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to use a single combo chart to get Last 12 month vs Last Year Last 12 Month View</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-use-a-single-combo-chart-to-get-Last-12-month-vs-Last/m-p/1672833#M50954</link>
      <description>&lt;P&gt;Hi Sunny,&lt;/P&gt;&lt;P&gt;Any luck with that calculation?&lt;/P&gt;&lt;P&gt;I am attaching QVD Files also which are used in the above post QVF file.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Feb 2020 09:25:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-use-a-single-combo-chart-to-get-Last-12-month-vs-Last/m-p/1672833#M50954</guid>
      <dc:creator>AmitSah</dc:creator>
      <dc:date>2020-02-06T09:25:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to use a single combo chart to get Last 12 month vs Last Year Last 12 Month View</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-use-a-single-combo-chart-to-get-Last-12-month-vs-Last/m-p/1672904#M50963</link>
      <description>&lt;P&gt;Will take a look now... Also, don't see any qvd attached here&lt;/P&gt;</description>
      <pubDate>Thu, 06 Feb 2020 11:46:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-use-a-single-combo-chart-to-get-Last-12-month-vs-Last/m-p/1672904#M50963</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2020-02-06T11:46:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to use a single combo chart to get Last 12 month vs Last Year Last 12 Month View</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-use-a-single-combo-chart-to-get-Last-12-month-vs-Last/m-p/1672910#M50965</link>
      <description>&lt;P&gt;Not sure, why I am not able to attach QVD files. Please see if that QVF file will work for you.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Feb 2020 11:53:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-use-a-single-combo-chart-to-get-Last-12-month-vs-Last/m-p/1672910#M50965</guid>
      <dc:creator>AmitSah</dc:creator>
      <dc:date>2020-02-06T11:53:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to use a single combo chart to get Last 12 month vs Last Year Last 12 Month View</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-use-a-single-combo-chart-to-get-Last-12-month-vs-Last/m-p/1672940#M50970</link>
      <description>&lt;P&gt;Try this&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Only({$&amp;lt;Date_Derived={"&amp;gt;=$(=Date(addmonths(Date(max(Date_Derived),'YYYY/MM/DD'),-11),'YYYY/MM/DD'))&amp;lt;=$(=Date(max(Date_Derived),'YYYY/MM/DD'))"}&amp;gt;} Aggr(
	Above(
    	Sum({&amp;lt;Date_Derived&amp;gt;}Gross_Sales)
	, 12)
, (Month_ID, (NUMERIC))))&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 06 Feb 2020 12:57:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-use-a-single-combo-chart-to-get-Last-12-month-vs-Last/m-p/1672940#M50970</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2020-02-06T12:57:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to use a single combo chart to get Last 12 month vs Last Year Last 12 Month View</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-use-a-single-combo-chart-to-get-Last-12-month-vs-Last/m-p/1672950#M50971</link>
      <description>&lt;P&gt;Hi Sunny,&lt;/P&gt;&lt;P&gt;It is working like a charm, but one question I am having i.e you have used Month_ID as one of the parameters in Agg function. So, why only Month_ID because When I am using Month_Desc then the value is dislocating. Could you please help me understand this?&lt;/P&gt;</description>
      <pubDate>Thu, 06 Feb 2020 13:17:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-use-a-single-combo-chart-to-get-Last-12-month-vs-Last/m-p/1672950#M50971</guid>
      <dc:creator>AmitSah</dc:creator>
      <dc:date>2020-02-06T13:17:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to use a single combo chart to get Last 12 month vs Last Year Last 12 Month View</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-use-a-single-combo-chart-to-get-Last-12-month-vs-Last/m-p/1672963#M50974</link>
      <description>&lt;P&gt;Month_Desc might be a test field... you need to sort the data in order to make sure the Above function is pulling down the records in the correct order.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Feb 2020 13:50:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-use-a-single-combo-chart-to-get-Last-12-month-vs-Last/m-p/1672963#M50974</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2020-02-06T13:50:21Z</dc:date>
    </item>
  </channel>
</rss>

