<?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 An Odd Problem in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/An-Odd-Problem/m-p/1299948#M27580</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am currently facing an odd problem in Qlik Sense.&lt;/P&gt;&lt;P&gt;I have 3 tables.&lt;/P&gt;&lt;P&gt;1. PERSON - containing information of a person&lt;/P&gt;&lt;P&gt;2. PRODUCT - whenever a person applies for a product, it will add a new row into this table. One row represents one product and PRODUCT is joined to PERSON. Hence, i would know which product belongs to who. The status of the product is stored as a column with indicators "Pending" or "Closed".&lt;/P&gt;&lt;P&gt;3. PRODUCT EXPIRY DATE - stores expiry date of a product. This table is connected to the PRODUCT table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Assuming there is only one type of product, how do i tell this: Out of all the pending PRODUCT applications, how many of these people applying for a new product has an existing product that is NOT expired. &lt;SPAN style="font-size: 10pt;"&gt;&lt;EM&gt;(In layman terms, if i owe a product that expires in a month's time, i may apply for the product again. I have to know out of all these product applications, how many people actually stopped using this product for a period of time before applying for it again)&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am aware of the basic functions and am capable of counting the number of products which are expired. However, keep in mind that a person may have used this product many times. If i used this product for 5 times, i will have 5 rows tagged to my name in the PRODUCT table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My current idea to approach this problem is to create another table which shows the personname and the&lt;STRONG&gt; latest&lt;/STRONG&gt; expiry date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If my explanation is not clear, i will be able to further elaborate based on your questions.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Gaston&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 02 Jun 2017 02:53:09 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-06-02T02:53:09Z</dc:date>
    <item>
      <title>An Odd Problem</title>
      <link>https://community.qlik.com/t5/App-Development/An-Odd-Problem/m-p/1299948#M27580</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am currently facing an odd problem in Qlik Sense.&lt;/P&gt;&lt;P&gt;I have 3 tables.&lt;/P&gt;&lt;P&gt;1. PERSON - containing information of a person&lt;/P&gt;&lt;P&gt;2. PRODUCT - whenever a person applies for a product, it will add a new row into this table. One row represents one product and PRODUCT is joined to PERSON. Hence, i would know which product belongs to who. The status of the product is stored as a column with indicators "Pending" or "Closed".&lt;/P&gt;&lt;P&gt;3. PRODUCT EXPIRY DATE - stores expiry date of a product. This table is connected to the PRODUCT table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Assuming there is only one type of product, how do i tell this: Out of all the pending PRODUCT applications, how many of these people applying for a new product has an existing product that is NOT expired. &lt;SPAN style="font-size: 10pt;"&gt;&lt;EM&gt;(In layman terms, if i owe a product that expires in a month's time, i may apply for the product again. I have to know out of all these product applications, how many people actually stopped using this product for a period of time before applying for it again)&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am aware of the basic functions and am capable of counting the number of products which are expired. However, keep in mind that a person may have used this product many times. If i used this product for 5 times, i will have 5 rows tagged to my name in the PRODUCT table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My current idea to approach this problem is to create another table which shows the personname and the&lt;STRONG&gt; latest&lt;/STRONG&gt; expiry date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If my explanation is not clear, i will be able to further elaborate based on your questions.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Gaston&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Jun 2017 02:53:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/An-Odd-Problem/m-p/1299948#M27580</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-06-02T02:53:09Z</dc:date>
    </item>
  </channel>
</rss>

