<?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: Point in time using Set Analysis in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Point-in-time-using-Set-Analysis/m-p/84477#M5635</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="display: inline !important; float: none; background-color: transparent; color: #3d3d3d; font-family: 'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;sum({&amp;lt;Year={"&amp;gt;=$(=MAX(Year)-1)&amp;lt;=$(=MAX(Year))"},Products={'Prod1','Prod2','Prod3'}&amp;gt;}VALUE)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="display: inline !important; float: none; background-color: transparent; color: #3d3d3d; font-family: 'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="display: inline !important; float: none; background-color: transparent; color: #3d3d3d; font-family: 'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;where Products is the dimension and Prod1 is a product that you want to display&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 25 Mar 2018 13:32:03 GMT</pubDate>
    <dc:creator>jwjackso</dc:creator>
    <dc:date>2018-03-25T13:32:03Z</dc:date>
    <item>
      <title>Point in time using Set Analysis</title>
      <link>https://community.qlik.com/t5/App-Development/Point-in-time-using-Set-Analysis/m-p/84476#M5634</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Folks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I drag a line chart with Year and Products as a Dimension and the following expression Sales:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({&amp;lt;Year={"&amp;gt;=$(=MAX(Year)-1)&amp;lt;=$(=MAX(Year))"}&amp;gt;}VALUE)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I get all of my Products you see here: I like to select three of my products, not all. How should I change my expression? Thanks!&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/197404_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 25 Mar 2018 11:58:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Point-in-time-using-Set-Analysis/m-p/84476#M5634</guid>
      <dc:creator>tim_m</dc:creator>
      <dc:date>2018-03-25T11:58:23Z</dc:date>
    </item>
    <item>
      <title>Re: Point in time using Set Analysis</title>
      <link>https://community.qlik.com/t5/App-Development/Point-in-time-using-Set-Analysis/m-p/84477#M5635</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="display: inline !important; float: none; background-color: transparent; color: #3d3d3d; font-family: 'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;sum({&amp;lt;Year={"&amp;gt;=$(=MAX(Year)-1)&amp;lt;=$(=MAX(Year))"},Products={'Prod1','Prod2','Prod3'}&amp;gt;}VALUE)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="display: inline !important; float: none; background-color: transparent; color: #3d3d3d; font-family: 'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="display: inline !important; float: none; background-color: transparent; color: #3d3d3d; font-family: 'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;where Products is the dimension and Prod1 is a product that you want to display&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 25 Mar 2018 13:32:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Point-in-time-using-Set-Analysis/m-p/84477#M5635</guid>
      <dc:creator>jwjackso</dc:creator>
      <dc:date>2018-03-25T13:32:03Z</dc:date>
    </item>
    <item>
      <title>Re: Point in time using Set Analysis</title>
      <link>https://community.qlik.com/t5/App-Development/Point-in-time-using-Set-Analysis/m-p/84478#M5636</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jerry,&lt;/P&gt;&lt;P&gt;Thanks a lot, it works&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 25 Mar 2018 15:00:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Point-in-time-using-Set-Analysis/m-p/84478#M5636</guid>
      <dc:creator>tim_m</dc:creator>
      <dc:date>2018-03-25T15:00:37Z</dc:date>
    </item>
    <item>
      <title>Re: Point in time using Set Analysis</title>
      <link>https://community.qlik.com/t5/App-Development/Point-in-time-using-Set-Analysis/m-p/84479#M5637</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jerry,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now I get something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I want both lines ending in 2017. But I am doing wrong?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Additionaly I want to create two charts like this. One place the rising sales from 2016 to 2017 and the second chart only the falling sales from my Products. How could I do that?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="197729" alt="" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/197729_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Mar 2018 06:06:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Point-in-time-using-Set-Analysis/m-p/84479#M5637</guid>
      <dc:creator>tim_m</dc:creator>
      <dc:date>2018-03-28T06:06:33Z</dc:date>
    </item>
    <item>
      <title>Re: Point in time using Set Analysis</title>
      <link>https://community.qlik.com/t5/App-Development/Point-in-time-using-Set-Analysis/m-p/84480#M5638</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm guessing Year is coming from a calendar.&amp;nbsp; You could replace &lt;SPAN style="display: inline !important; float: none; background-color: transparent; color: #3d3d3d; font-family: 'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;=MAX(Year) with a variable that is set to a 2017.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="display: inline !important; float: none; background-color: transparent; color: #3d3d3d; font-family: 'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="display: inline !important; float: none; background-color: transparent; color: #3d3d3d; font-family: 'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;For the second, you use an If test.&amp;nbsp; Check it the product sales is greater in 2016 than 2017.&amp;nbsp; Something like:&amp;nbsp; If(Sum({&amp;lt;Year={'2016'}&amp;gt;} VALUE) &amp;gt; &lt;SPAN style="display: inline !important; float: none; background-color: transparent; color: #3d3d3d; font-family: 'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;Sum({&amp;lt;Year={'2017'}&amp;gt;} VALUE),1,0).&amp;nbsp; Hide the expression, suppress zero.&amp;nbsp; That should be all the rising products.&amp;nbsp; Reverse it to find the falling products. &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Mar 2018 10:45:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Point-in-time-using-Set-Analysis/m-p/84480#M5638</guid>
      <dc:creator>jwjackso</dc:creator>
      <dc:date>2018-03-28T10:45:00Z</dc:date>
    </item>
  </channel>
</rss>

