<?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: Best way to manage data for trends in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Best-way-to-manage-data-for-trends/m-p/1837229#M69183</link>
    <description>&lt;P&gt;Hello Nicole-Smith,&lt;/P&gt;&lt;P&gt;thank you for your suggestion, but I still have the problem about how to build the etl behind.&lt;/P&gt;&lt;P&gt;To use rangesum and above, I should be able to count the 1 year old people existing&amp;nbsp; every day, and with the original data where I have only the birthday, this can't be done as far as I know, if I don't build some kind of huge calendar as I said in my first post. Maybe&amp;nbsp; can it directly be doe with a formula inside the graph? But how?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 18 Sep 2021 05:57:40 GMT</pubDate>
    <dc:creator>danette</dc:creator>
    <dc:date>2021-09-18T05:57:40Z</dc:date>
    <item>
      <title>Best way to manage data for trends</title>
      <link>https://community.qlik.com/t5/App-Development/Best-way-to-manage-data-for-trends/m-p/1837150#M69172</link>
      <description>&lt;P&gt;Hello!&lt;BR /&gt;I need some advice on how it is better to proceed in my situation.&lt;/P&gt;&lt;P&gt;I have a big database where I have person id, birthdate&lt;/P&gt;&lt;P&gt;I would like to create a trend chart where I have the count of people being 1 year old day by day ( date on x-axis and the count of people being 1 year old on Y axis, consider this example for simplicity). In such situation I would make a calendar using a loop for each person, where starting from the birthdate I would iterate until the current date, in order to have a table where i have for each person and each day, his age.&amp;nbsp;&lt;/P&gt;&lt;P&gt;id , birthdate, date, age&lt;/P&gt;&lt;P&gt;A, 01/02/2021,&amp;nbsp; 01/02/2021, 0&lt;BR /&gt;A, 01/02/2021,&amp;nbsp; 02/02/2021, 0&lt;BR /&gt;[...]&lt;BR /&gt;A, 01/02/2021,&amp;nbsp; 01/03/2021, 1&lt;BR /&gt;A, 01/02/2021,&amp;nbsp; 02/03/2021, 1&lt;BR /&gt;A, 01/02/2021,&amp;nbsp; 03/03/2021, 1&lt;BR /&gt;A, 01/02/2021,&amp;nbsp; 04/03/2021, 1&lt;BR /&gt;[...]&lt;/P&gt;&lt;P&gt;But this loop would take a lot of time considering the dimension of the database.&lt;/P&gt;&lt;P&gt;How would you manage this need?&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Nov 2021 16:25:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Best-way-to-manage-data-for-trends/m-p/1837150#M69172</guid>
      <dc:creator>danette</dc:creator>
      <dc:date>2021-11-30T16:25:32Z</dc:date>
    </item>
    <item>
      <title>Re: Best way to manage data for trends</title>
      <link>https://community.qlik.com/t5/App-Development/Best-way-to-manage-data-for-trends/m-p/1837208#M69176</link>
      <description>&lt;P&gt;Instead of editing your data, it sounds like you could just use a cumulative sum.&lt;/P&gt;&lt;P&gt;This post has an example of how to do that (but there are many other posts on the community discussing the same): &lt;A href="https://community.qlik.com/t5/New-to-Qlik-Sense/Is-it-possible-to-create-a-cumulative-sum-line-graph-in-Qlik/td-p/1121596" target="_blank"&gt;https://community.qlik.com/t5/New-to-Qlik-Sense/Is-it-possible-to-create-a-cumulative-sum-line-graph-in-Qlik/td-p/1121596&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Sep 2021 23:18:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Best-way-to-manage-data-for-trends/m-p/1837208#M69176</guid>
      <dc:creator>Nicole-Smith</dc:creator>
      <dc:date>2021-09-17T23:18:43Z</dc:date>
    </item>
    <item>
      <title>Re: Best way to manage data for trends</title>
      <link>https://community.qlik.com/t5/App-Development/Best-way-to-manage-data-for-trends/m-p/1837229#M69183</link>
      <description>&lt;P&gt;Hello Nicole-Smith,&lt;/P&gt;&lt;P&gt;thank you for your suggestion, but I still have the problem about how to build the etl behind.&lt;/P&gt;&lt;P&gt;To use rangesum and above, I should be able to count the 1 year old people existing&amp;nbsp; every day, and with the original data where I have only the birthday, this can't be done as far as I know, if I don't build some kind of huge calendar as I said in my first post. Maybe&amp;nbsp; can it directly be doe with a formula inside the graph? But how?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 18 Sep 2021 05:57:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Best-way-to-manage-data-for-trends/m-p/1837229#M69183</guid>
      <dc:creator>danette</dc:creator>
      <dc:date>2021-09-18T05:57:40Z</dc:date>
    </item>
    <item>
      <title>Re: Best way to manage data for trends</title>
      <link>https://community.qlik.com/t5/App-Development/Best-way-to-manage-data-for-trends/m-p/1837300#M69195</link>
      <description>&lt;P&gt;The rangesum/above you would do on the chart itself.&amp;nbsp; If you need to create a calendar in the script, there are a lot of posts on how to do that as well:&amp;nbsp;&lt;A href="https://community.qlik.com/t5/QlikView-App-Dev/Creating-A-Master-Calendar/td-p/341286" target="_blank"&gt;https://community.qlik.com/t5/QlikView-App-Dev/Creating-A-Master-Calendar/td-p/341286&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 18 Sep 2021 17:32:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Best-way-to-manage-data-for-trends/m-p/1837300#M69195</guid>
      <dc:creator>Nicole-Smith</dc:creator>
      <dc:date>2021-09-18T17:32:32Z</dc:date>
    </item>
    <item>
      <title>Re: Best way to manage data for trends</title>
      <link>https://community.qlik.com/t5/App-Development/Best-way-to-manage-data-for-trends/m-p/1837314#M69198</link>
      <description>&lt;P&gt;I know I can create a master calendar as I said in the first post, but considering that I should make a long loop for a big number of records, this would take a lot of time.&amp;nbsp; I'm not using qvds.&lt;/P&gt;&lt;P&gt;So I know how to do this chart in a standard way, but I wanted to know if there is an alternative way, without creating in the etl the historic data where I would have for each day, each person with his age.&lt;/P&gt;</description>
      <pubDate>Sat, 18 Sep 2021 22:19:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Best-way-to-manage-data-for-trends/m-p/1837314#M69198</guid>
      <dc:creator>danette</dc:creator>
      <dc:date>2021-09-18T22:19:32Z</dc:date>
    </item>
    <item>
      <title>Re: Best way to manage data for trends</title>
      <link>https://community.qlik.com/t5/App-Development/Best-way-to-manage-data-for-trends/m-p/1837322#M69199</link>
      <description>&lt;P&gt;If you keep the master calendar as a separate table, you don't need to duplicate your rows of data, which should help with size/performance.&lt;BR /&gt;&lt;BR /&gt;If you use a continuous axis, you may be able to just use the rangesum/above on the chart without needing the master calendar at all.&amp;nbsp; I'm not 100% sure as I haven't tested.&lt;/P&gt;</description>
      <pubDate>Sun, 19 Sep 2021 03:16:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Best-way-to-manage-data-for-trends/m-p/1837322#M69199</guid>
      <dc:creator>Nicole-Smith</dc:creator>
      <dc:date>2021-09-19T03:16:08Z</dc:date>
    </item>
    <item>
      <title>Re: Best way to manage data for trends</title>
      <link>https://community.qlik.com/t5/App-Development/Best-way-to-manage-data-for-trends/m-p/1837430#M69213</link>
      <description>&lt;P&gt;This is what I would like to do (not to duplicate the rows), but I wouldn't know how to do it inside the graph. What measure to use? How can I count how many people are 1 year old each day, if I have only the information of his/fer datebirth?&lt;/P&gt;</description>
      <pubDate>Mon, 20 Sep 2021 06:18:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Best-way-to-manage-data-for-trends/m-p/1837430#M69213</guid>
      <dc:creator>danette</dc:creator>
      <dc:date>2021-09-20T06:18:46Z</dc:date>
    </item>
  </channel>
</rss>

