<?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 Date issue in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Date-issue/m-p/1855382#M70599</link>
    <description>&lt;P&gt;Hi all,&lt;/P&gt;
&lt;P&gt;I am creating a line chart, refer below.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="IMG_20211104_130430.jpg" style="width: 3639px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/65894i39F7F7A16630E399/image-size/medium?v=v2&amp;amp;px=400" role="button" title="IMG_20211104_130430.jpg" alt="IMG_20211104_130430.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;As you can see it's not following the expected pattern.&lt;/P&gt;
&lt;P&gt;I have also used date(date#(datadate,'dd-mmm-yyyy'),'mmm d').&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please suggest how to fix this discrepancy.&lt;/P&gt;
&lt;P&gt;Note: measure : sum(sales)&lt;/P&gt;
&lt;P&gt;Thank you.&lt;/P&gt;
&lt;P&gt; &lt;/P&gt;</description>
    <pubDate>Thu, 04 Nov 2021 07:45:54 GMT</pubDate>
    <dc:creator>Anku</dc:creator>
    <dc:date>2021-11-04T07:45:54Z</dc:date>
    <item>
      <title>Date issue</title>
      <link>https://community.qlik.com/t5/App-Development/Date-issue/m-p/1855382#M70599</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;
&lt;P&gt;I am creating a line chart, refer below.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="IMG_20211104_130430.jpg" style="width: 3639px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/65894i39F7F7A16630E399/image-size/medium?v=v2&amp;amp;px=400" role="button" title="IMG_20211104_130430.jpg" alt="IMG_20211104_130430.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;As you can see it's not following the expected pattern.&lt;/P&gt;
&lt;P&gt;I have also used date(date#(datadate,'dd-mmm-yyyy'),'mmm d').&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please suggest how to fix this discrepancy.&lt;/P&gt;
&lt;P&gt;Note: measure : sum(sales)&lt;/P&gt;
&lt;P&gt;Thank you.&lt;/P&gt;
&lt;P&gt; &lt;/P&gt;</description>
      <pubDate>Thu, 04 Nov 2021 07:45:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Date-issue/m-p/1855382#M70599</guid>
      <dc:creator>Anku</dc:creator>
      <dc:date>2021-11-04T07:45:54Z</dc:date>
    </item>
    <item>
      <title>Re: Date issue</title>
      <link>https://community.qlik.com/t5/App-Development/Date-issue/m-p/1855502#M70606</link>
      <description>&lt;P&gt;Hi, thats the null values, those are records with values on sales fields that doesn't has any relation with the datadate field.&lt;/P&gt;
&lt;P&gt;You can add a table with datadate as dimesnion ans sum(sales) as expression, and add some dimesnions to check where those values come from and why they don't have a date associated.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Nov 2021 12:13:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Date-issue/m-p/1855502#M70606</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2021-11-04T12:13:02Z</dc:date>
    </item>
    <item>
      <title>Re: Date issue</title>
      <link>https://community.qlik.com/t5/App-Development/Date-issue/m-p/1855507#M70608</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/22593"&gt;@rubenmarin&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Yes, I tried to figure out but unable to get a solution. I have attached the dummy data. Kindly assist and share your feedback. Thanks!&lt;/P&gt;
&lt;P&gt;Please note, It's a dummy data with the similar issue.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Nov 2021 12:20:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Date-issue/m-p/1855507#M70608</guid>
      <dc:creator>Anku</dc:creator>
      <dc:date>2021-11-04T12:20:44Z</dc:date>
    </item>
    <item>
      <title>Re: Date issue</title>
      <link>https://community.qlik.com/t5/App-Development/Date-issue/m-p/1855536#M70613</link>
      <description>&lt;P&gt;Hi, it's a format issue, your date field in the sales table has a DD/MM/YYYY format , and it's a date, (by default rigth aligned), the date field in the calendar is in DD/MMM/YYYY format and it's a string (by default left aligned).&lt;/P&gt;
&lt;P&gt;I switched the name of the dates and date fields in the calendar and it seems to work. Also added a new script sheet using a master calendr to avoid that you have to write each day.&lt;/P&gt;
&lt;P&gt;There are still some values with null, it's because of this expression:&lt;/P&gt;
&lt;P&gt;If(DayNumberOfYear(Today(1))&amp;gt;DayNumberOfYear(Date)&lt;BR /&gt;,Dual(Date(Date,'MMM D'),DayNumberOfYear(Date))&lt;BR /&gt;,&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;Null()&lt;/FONT&gt;&lt;/STRONG&gt;) as YearDayNoYTD // Number of days above today will get null()&lt;/P&gt;
&lt;P&gt;If you don't want to show this values, expand the&amp;nbsp;YearDayNoYTD dimension and uncheck the option to show null values.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Nov 2021 13:10:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Date-issue/m-p/1855536#M70613</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2021-11-04T13:10:16Z</dc:date>
    </item>
  </channel>
</rss>

