<?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 plot data in a chart offset to the dimension? (2 month previous to month in X axis) in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-plot-data-in-a-chart-offset-to-the-dimension-2-month/m-p/1707333#M723592</link>
    <description>&lt;P&gt;The AsOfTable could be a good approach to set the flag you need.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Qlik-Design-Blog/The-As-Of-Table/ba-p/1466130" target="_blank" rel="noopener"&gt;https://community.qlik.com/t5/Qlik-Design-Blog/The-As-Of-Table/ba-p/1466130&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 02 Jun 2020 05:34:48 GMT</pubDate>
    <dc:creator>zhadrakas</dc:creator>
    <dc:date>2020-06-02T05:34:48Z</dc:date>
    <item>
      <title>How to plot data in a chart offset to the dimension? (2 month previous to month in X axis)</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-plot-data-in-a-chart-offset-to-the-dimension-2-month/m-p/1707073#M723591</link>
      <description>&lt;P&gt;I am trying to plot Actual Sales v Forecast Sales but the quirk is that for the current month the data is for 2 months previous. This is well known in the business so there is no confusion about it.&amp;nbsp;&lt;/P&gt;&lt;P&gt;My set analysis works in my line chart for the current month but doesnt work for any other month.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have included an example to highlight the principle of it with the only difference being in my real world example i have a variable for Current month which is in the set analysis like below. In the attached example the dates are hard coded. Logic will still be the same in that i want the set analysis to be dynamic.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Essentially my set analysis looks like:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Sum(
{&amp;lt;
ReportMonth = vCurrentMonth
ForecastSales = vCurrentMonth -2
&amp;gt;}Sales)&lt;/LI-CODE&gt;&lt;P&gt;which works perfectly for the latest month in the chart but is wrong for every other month.&lt;/P&gt;&lt;P&gt;For the below chart...&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DaithiOK_0-1591006749057.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/34755i936539386B96AA11/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DaithiOK_0-1591006749057.png" alt="DaithiOK_0-1591006749057.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;..the Dec 2016 figure of 494K should be the 687K of Oct and so one.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help would be greatly appreciated.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 00:34:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-plot-data-in-a-chart-offset-to-the-dimension-2-month/m-p/1707073#M723591</guid>
      <dc:creator>DaithiOK</dc:creator>
      <dc:date>2024-11-16T00:34:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to plot data in a chart offset to the dimension? (2 month previous to month in X axis)</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-plot-data-in-a-chart-offset-to-the-dimension-2-month/m-p/1707333#M723592</link>
      <description>&lt;P&gt;The AsOfTable could be a good approach to set the flag you need.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Qlik-Design-Blog/The-As-Of-Table/ba-p/1466130" target="_blank" rel="noopener"&gt;https://community.qlik.com/t5/Qlik-Design-Blog/The-As-Of-Table/ba-p/1466130&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jun 2020 05:34:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-plot-data-in-a-chart-offset-to-the-dimension-2-month/m-p/1707333#M723592</guid>
      <dc:creator>zhadrakas</dc:creator>
      <dc:date>2020-06-02T05:34:48Z</dc:date>
    </item>
  </channel>
</rss>

