<?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: Set analysis - limit measure by dimension in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Set-analysis-limit-measure-by-dimension/m-p/1763743#M59068</link>
    <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/90682"&gt;@Zara&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Maye be like this ?&lt;/P&gt;&lt;LI-CODE lang="python"&gt;=sum({&amp;lt;MonthEnd = {"&amp;lt;=$(=Date(Addmonths(Max(Date#(MonthEnd,'YYYYMM')),-5),'YYYYMM'))"} &amp;gt;} Sales)&lt;/LI-CODE&gt;</description>
    <pubDate>Mon, 23 Nov 2020 14:25:40 GMT</pubDate>
    <dc:creator>Taoufiq_Zarra</dc:creator>
    <dc:date>2020-11-23T14:25:40Z</dc:date>
    <item>
      <title>Set analysis - limit measure by dimension</title>
      <link>https://community.qlik.com/t5/App-Development/Set-analysis-limit-measure-by-dimension/m-p/1763711#M59064</link>
      <description>&lt;P&gt;Hey guys,&lt;/P&gt;&lt;P&gt;I’ve been working on a report for days and I am pulling my hair out, is there any chance anyone can help me please. I’m not sure what i want to do is even possible……&lt;/P&gt;&lt;P&gt;I have a dimension called ‘monthend’ and a measure sum of sales.&lt;/P&gt;&lt;P&gt;Its worth noting that Qlik does not consider ‘monthend’ as a date field due to its format of ‘202010, 202011’ however in my eyes I would know this is October and November.&lt;/P&gt;&lt;P&gt;I am looking to produce a line graph but I want the line to stop 5 months before the end, I want it to be rolling but I want the dimension to continue.&lt;/P&gt;&lt;P&gt;So in its very basic form, and&amp;nbsp; as an example, it currently looks like this….&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Zara_0-1606137396782.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/44623i5F866CD67406351A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Zara_0-1606137396782.png" alt="Zara_0-1606137396782.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And I want it to look like this…..&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Zara_1-1606137396786.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/44624iF62A61F69E09538D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Zara_1-1606137396786.png" alt="Zara_1-1606137396786.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So essentially I want the formula to say look at the latest dimension (202011 in this example) count back 5 and then sum sales.&lt;/P&gt;&lt;P&gt;I can do &lt;STRONG&gt;sum({&amp;lt;[MonthEnd = {‘&amp;lt;=202006’}]&amp;gt;}Sales)&lt;/STRONG&gt; but this would mean I would need to back into the report every month and change the formula, I wanted one that was rolling if possible.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Make sense? Thanks to anyone in advance.&lt;/P&gt;</description>
      <pubDate>Mon, 23 Nov 2020 13:18:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-analysis-limit-measure-by-dimension/m-p/1763711#M59064</guid>
      <dc:creator>Zara</dc:creator>
      <dc:date>2020-11-23T13:18:41Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis - limit measure by dimension</title>
      <link>https://community.qlik.com/t5/App-Development/Set-analysis-limit-measure-by-dimension/m-p/1763743#M59068</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/90682"&gt;@Zara&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Maye be like this ?&lt;/P&gt;&lt;LI-CODE lang="python"&gt;=sum({&amp;lt;MonthEnd = {"&amp;lt;=$(=Date(Addmonths(Max(Date#(MonthEnd,'YYYYMM')),-5),'YYYYMM'))"} &amp;gt;} Sales)&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 23 Nov 2020 14:25:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-analysis-limit-measure-by-dimension/m-p/1763743#M59068</guid>
      <dc:creator>Taoufiq_Zarra</dc:creator>
      <dc:date>2020-11-23T14:25:40Z</dc:date>
    </item>
  </channel>
</rss>

