<?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: How to show future Dates in Line Chart in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/How-to-show-future-Dates-in-Line-Chart/m-p/1922575#M75945</link>
    <description>&lt;P&gt;its a Cartesian&lt;/P&gt;</description>
    <pubDate>Tue, 26 Apr 2022 09:20:51 GMT</pubDate>
    <dc:creator>vinieme12</dc:creator>
    <dc:date>2022-04-26T09:20:51Z</dc:date>
    <item>
      <title>How to show future Dates in Line Chart</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-show-future-Dates-in-Line-Chart/m-p/1922444#M75928</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;
&lt;P&gt;I have a date field containing Max date upto 1 Apr 2022. My requirement was to show all YTD months in line chart (Apr 2022 to Mar 2023). If value for any particular month is not available, it should show 0. But the Month name should be constantly seen on chart.&lt;/P&gt;
&lt;P&gt;Every Date has a project name mapped to it.&lt;/P&gt;
&lt;TABLE style="height: 213px; width: 170px;" width="170"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="62.8594px" height="25px"&gt;Project&lt;/TD&gt;
&lt;TD width="71.1406px" height="25px"&gt;Date&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="62.8594px" height="47px"&gt;ABC&lt;/TD&gt;
&lt;TD width="71.1406px" height="47px"&gt;04-01-2022&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="62.8594px" height="47px"&gt;ABC&lt;/TD&gt;
&lt;TD width="71.1406px" height="47px"&gt;04-02-2022&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="62.8594px" height="47px"&gt;XYZ&lt;/TD&gt;
&lt;TD width="71.1406px" height="47px"&gt;04-03-2022&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="62.8594px" height="47px"&gt;XYZ&lt;/TD&gt;
&lt;TD width="71.1406px" height="47px"&gt;04-04-2022&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So far I have generated future dates till 31 Mar 2023 and added those as month in my chart. But when I select any project from filter, the chart shows only available month data, as project is not mapped for future dates.&lt;/P&gt;
&lt;P&gt;Is there any way to freeze the future months and show them as 0 on filter selection ? Tried nullifying project name but didn't get what I wanted to achieve.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Aditya&lt;/P&gt;</description>
      <pubDate>Tue, 26 Apr 2022 06:32:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-show-future-Dates-in-Line-Chart/m-p/1922444#M75928</guid>
      <dc:creator>Aditya_Chitale</dc:creator>
      <dc:date>2022-04-26T06:32:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to show future Dates in Line Chart</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-show-future-Dates-in-Line-Chart/m-p/1922459#M75930</link>
      <description>&lt;P&gt;raw:&lt;BR /&gt;LOAD&lt;BR /&gt;Project,date#(Date,'DD-MM-YYYY') as Date,100 as Val,'fact' as type Inline [&lt;BR /&gt;Project,Date&lt;BR /&gt;ABC,04-01-2022&lt;BR /&gt;ABC,04-02-2022&lt;BR /&gt;XYZ,04-03-2022&lt;BR /&gt;XYZ,04-04-2022&lt;BR /&gt;];&lt;/P&gt;
&lt;P&gt;tempDates:&lt;BR /&gt;Load Distinct Project Resident raw;&lt;BR /&gt;Left Join(tempDates)&lt;BR /&gt;Load Date(date#('01-04-2022','DD-MM-YYYY')+iterno()-1,'DD-MM-YYYY') as Date&lt;BR /&gt;Autogenerate(1)&lt;BR /&gt;While date#('01-04-2022','DD-MM-YYYY')+iterno()-1 &amp;lt;= date#('30-04-2022','DD-MM-YYYY')&lt;BR /&gt;;&lt;/P&gt;
&lt;P&gt;Concatenate(raw)&lt;BR /&gt;Load *,'dummy' as type Resident tempDates;&lt;/P&gt;
&lt;P&gt;drop table tempDates;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Apr 2022 07:01:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-show-future-Dates-in-Line-Chart/m-p/1922459#M75930</guid>
      <dc:creator>vinieme12</dc:creator>
      <dc:date>2022-04-26T07:01:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to show future Dates in Line Chart</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-show-future-Dates-in-Line-Chart/m-p/1922462#M75931</link>
      <description>&lt;P&gt;There must be possible dimension values even for dummy rows, especially dimensions which are uses for filters or aggregation in charts&lt;/P&gt;
&lt;P&gt;add dummy dates for all possible Project values&lt;/P&gt;</description>
      <pubDate>Tue, 26 Apr 2022 07:03:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-show-future-Dates-in-Line-Chart/m-p/1922462#M75931</guid>
      <dc:creator>vinieme12</dc:creator>
      <dc:date>2022-04-26T07:03:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to show future Dates in Line Chart</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-show-future-Dates-in-Line-Chart/m-p/1922552#M75941</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/2751"&gt;@vinieme12&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks! the forced left join did the trick&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Aditya&lt;/P&gt;</description>
      <pubDate>Tue, 26 Apr 2022 08:52:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-show-future-Dates-in-Line-Chart/m-p/1922552#M75941</guid>
      <dc:creator>Aditya_Chitale</dc:creator>
      <dc:date>2022-04-26T08:52:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to show future Dates in Line Chart</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-show-future-Dates-in-Line-Chart/m-p/1922575#M75945</link>
      <description>&lt;P&gt;its a Cartesian&lt;/P&gt;</description>
      <pubDate>Tue, 26 Apr 2022 09:20:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-show-future-Dates-in-Line-Chart/m-p/1922575#M75945</guid>
      <dc:creator>vinieme12</dc:creator>
      <dc:date>2022-04-26T09:20:51Z</dc:date>
    </item>
  </channel>
</rss>

