<?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: Gain/loss for a subscription in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Gain-loss-for-a-subscription/m-p/1692270#M52885</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;So here is an example of the data (dates are dd-mm-yyyy)&lt;/P&gt;&lt;TABLE border="1" width="51.58536585365854%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="5.284552845528455%" height="25px"&gt;#&lt;/TD&gt;&lt;TD width="23.455284552845534%" height="25px"&gt;start date&lt;/TD&gt;&lt;TD width="22.84552845528456%" height="25px"&gt;end date&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="5.284552845528455%" height="25px"&gt;1&lt;/TD&gt;&lt;TD width="23.455284552845534%" height="25px"&gt;01-03-2019&lt;/TD&gt;&lt;TD width="22.84552845528456%" height="25px"&gt;&lt;STRONG&gt;&lt;FONT color="#339966"&gt;01-03-2020&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="5.284552845528455%" height="25px"&gt;2&lt;/TD&gt;&lt;TD width="23.455284552845534%" height="25px"&gt;01-05-2019&lt;/TD&gt;&lt;TD width="22.84552845528456%" height="25px"&gt;01-05-2022&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="5.284552845528455%" height="25px"&gt;3&lt;/TD&gt;&lt;TD width="23.455284552845534%" height="25px"&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;01-03-2020&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/TD&gt;&lt;TD width="22.84552845528456%" height="25px"&gt;01-03-2022&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="5.284552845528455%" height="25px"&gt;4&lt;/TD&gt;&lt;TD width="23.455284552845534%" height="25px"&gt;01-02-2020&lt;/TD&gt;&lt;TD width="22.84552845528456%" height="25px"&gt;&lt;STRONG&gt;&lt;FONT color="#339966"&gt;12-03-2020&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So, I want to create my gain/loss report based on the period March 2020, where I see that I have a loss in contract 1 and 4 and a gain in contract 3. Contract 2 is active, and will therefore be ignored in this period for this report.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does this makes sense?&lt;/P&gt;</description>
    <pubDate>Thu, 09 Apr 2020 08:41:55 GMT</pubDate>
    <dc:creator>JeroenHoltrop</dc:creator>
    <dc:date>2020-04-09T08:41:55Z</dc:date>
    <item>
      <title>Gain/loss for a subscription</title>
      <link>https://community.qlik.com/t5/App-Development/Gain-loss-for-a-subscription/m-p/1692243#M52883</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I want to create an overview of all gains/losses over a selected period for a product which has a start and enddate. So we sell subscription-like products, where a gain is when the start date is in the selected period and a loss is where the end date is in the same selected period.&lt;/P&gt;&lt;P&gt;Since the date selection is only able to be connected to either the start or end-date dimension, I have tried other things, which weren't successfull:&lt;/P&gt;&lt;P&gt;1. Added a new date dimension which is apart from my data model to be able to select the date range and then make a selection on field level in the table. This doesn't work, because the report tells me that this is an invalid dimension. When pushing these values into variables, it does work once, but it doesn't refresh my data after date changes.&amp;nbsp;&lt;/P&gt;&lt;P&gt;2. 2 date selectors and a switch whether the user wants to see the gains or losses. This is far from a neat user experience, and also doesn't work, because the 2 selectors cannot have the same dates.&lt;/P&gt;&lt;P&gt;The only option I see now, is to completely divide the 2, but then I lose a lot of insights which I can provide if I could combine the 2 obviously.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help would be very much appreciated&lt;/P&gt;</description>
      <pubDate>Thu, 09 Apr 2020 06:40:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Gain-loss-for-a-subscription/m-p/1692243#M52883</guid>
      <dc:creator>JeroenHoltrop</dc:creator>
      <dc:date>2020-04-09T06:40:50Z</dc:date>
    </item>
    <item>
      <title>Re: Gain/loss for a subscription</title>
      <link>https://community.qlik.com/t5/App-Development/Gain-loss-for-a-subscription/m-p/1692268#M52884</link>
      <description>&lt;P&gt;hi&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;please provide example data to work with,&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;</description>
      <pubDate>Thu, 09 Apr 2020 08:32:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Gain-loss-for-a-subscription/m-p/1692268#M52884</guid>
      <dc:creator>usamabinsadiq</dc:creator>
      <dc:date>2020-04-09T08:32:01Z</dc:date>
    </item>
    <item>
      <title>Re: Gain/loss for a subscription</title>
      <link>https://community.qlik.com/t5/App-Development/Gain-loss-for-a-subscription/m-p/1692270#M52885</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;So here is an example of the data (dates are dd-mm-yyyy)&lt;/P&gt;&lt;TABLE border="1" width="51.58536585365854%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="5.284552845528455%" height="25px"&gt;#&lt;/TD&gt;&lt;TD width="23.455284552845534%" height="25px"&gt;start date&lt;/TD&gt;&lt;TD width="22.84552845528456%" height="25px"&gt;end date&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="5.284552845528455%" height="25px"&gt;1&lt;/TD&gt;&lt;TD width="23.455284552845534%" height="25px"&gt;01-03-2019&lt;/TD&gt;&lt;TD width="22.84552845528456%" height="25px"&gt;&lt;STRONG&gt;&lt;FONT color="#339966"&gt;01-03-2020&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="5.284552845528455%" height="25px"&gt;2&lt;/TD&gt;&lt;TD width="23.455284552845534%" height="25px"&gt;01-05-2019&lt;/TD&gt;&lt;TD width="22.84552845528456%" height="25px"&gt;01-05-2022&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="5.284552845528455%" height="25px"&gt;3&lt;/TD&gt;&lt;TD width="23.455284552845534%" height="25px"&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;01-03-2020&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/TD&gt;&lt;TD width="22.84552845528456%" height="25px"&gt;01-03-2022&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="5.284552845528455%" height="25px"&gt;4&lt;/TD&gt;&lt;TD width="23.455284552845534%" height="25px"&gt;01-02-2020&lt;/TD&gt;&lt;TD width="22.84552845528456%" height="25px"&gt;&lt;STRONG&gt;&lt;FONT color="#339966"&gt;12-03-2020&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So, I want to create my gain/loss report based on the period March 2020, where I see that I have a loss in contract 1 and 4 and a gain in contract 3. Contract 2 is active, and will therefore be ignored in this period for this report.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does this makes sense?&lt;/P&gt;</description>
      <pubDate>Thu, 09 Apr 2020 08:41:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Gain-loss-for-a-subscription/m-p/1692270#M52885</guid>
      <dc:creator>JeroenHoltrop</dc:creator>
      <dc:date>2020-04-09T08:41:55Z</dc:date>
    </item>
  </channel>
</rss>

