<?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: Linechart with two lines for different timespans in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Linechart-with-two-lines-for-different-timespans/m-p/1927750#M76410</link>
    <description>&lt;P&gt;Use Combo chart and use set analysis for each measure. Change bar into lines&lt;/P&gt;</description>
    <pubDate>Mon, 09 May 2022 05:44:03 GMT</pubDate>
    <dc:creator>IamAlbinAntony</dc:creator>
    <dc:date>2022-05-09T05:44:03Z</dc:date>
    <item>
      <title>Linechart with two lines for different timespans</title>
      <link>https://community.qlik.com/t5/App-Development/Linechart-with-two-lines-for-different-timespans/m-p/1927689#M76406</link>
      <description>&lt;P&gt;Hello everyone.&lt;/P&gt;
&lt;P&gt;I am trying to compare the trend of a measure over two different timespans.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;i.e my data has sales of a product with dates like&lt;/P&gt;
&lt;TABLE border="1" width="100%"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="50%"&gt;order_id&lt;/TD&gt;
&lt;TD width="25%"&gt;date&lt;/TD&gt;
&lt;TD width="25%"&gt;products_sold&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="50%"&gt;1&lt;/TD&gt;
&lt;TD width="25%"&gt;2022/05/01&lt;/TD&gt;
&lt;TD width="25%"&gt;1&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="50%"&gt;2&lt;/TD&gt;
&lt;TD width="25%"&gt;2022/05/01&lt;/TD&gt;
&lt;TD width="25%"&gt;2&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="50%"&gt;3&lt;/TD&gt;
&lt;TD width="25%"&gt;2022/05/02&lt;/TD&gt;
&lt;TD width="25%"&gt;1&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="50%"&gt;...&lt;/TD&gt;
&lt;TD width="25%"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;TD width="25%"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;150&lt;/TD&gt;
&lt;TD&gt;2022/05/08&lt;/TD&gt;
&lt;TD&gt;2&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I want to compare on a timeline the sales of a product on the days 2022/05/01-2022/05/08 with the sales on the days 2022/03/10-2022/03/17&lt;/P&gt;
&lt;P&gt;I would like the timespan start and end to be defined through variables start1, end1, start2, end2.&lt;/P&gt;
&lt;P&gt;I think I have to convert (dynamically) the date to days since start1 for the first line and&amp;nbsp;days since start2 for the second line and add a filter on each line on the date field.&lt;/P&gt;
&lt;P&gt;In my head it sounds good but I have no idea how to do it in Qlik Sense&lt;/P&gt;</description>
      <pubDate>Sun, 08 May 2022 20:32:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Linechart-with-two-lines-for-different-timespans/m-p/1927689#M76406</guid>
      <dc:creator>Panos</dc:creator>
      <dc:date>2022-05-08T20:32:34Z</dc:date>
    </item>
    <item>
      <title>Re: Linechart with two lines for different timespans</title>
      <link>https://community.qlik.com/t5/App-Development/Linechart-with-two-lines-for-different-timespans/m-p/1927750#M76410</link>
      <description>&lt;P&gt;Use Combo chart and use set analysis for each measure. Change bar into lines&lt;/P&gt;</description>
      <pubDate>Mon, 09 May 2022 05:44:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Linechart-with-two-lines-for-different-timespans/m-p/1927750#M76410</guid>
      <dc:creator>IamAlbinAntony</dc:creator>
      <dc:date>2022-05-09T05:44:03Z</dc:date>
    </item>
  </channel>
</rss>

