<?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: Problem with dates in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Problem-with-dates/m-p/2531634#M108023</link>
    <description>&lt;P&gt;Yup, I totally agree, and that's why I mentioned "it's not a great solution" but when we face issues related to number and don't want to interpret that as a number, this could be an easy way.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But true that we lose the numeric value. thank you!&lt;/P&gt;</description>
    <pubDate>Tue, 23 Sep 2025 15:31:50 GMT</pubDate>
    <dc:creator>hardikpatel172</dc:creator>
    <dc:date>2025-09-23T15:31:50Z</dc:date>
    <item>
      <title>Problem with dates</title>
      <link>https://community.qlik.com/t5/App-Development/Problem-with-dates/m-p/2531614#M108014</link>
      <description>&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;I have the following problem, I am importing an excel file to the data load editor, one of the columns of this file is a date, in this format: DD.MM.YYYY (SellingDate)&lt;/P&gt;&lt;P&gt;I need to extract from that date the MonthYear, so i used this formula:&amp;nbsp;Date(SellingDate, 'MMM YYYY') as MonthYear&lt;/P&gt;&lt;P&gt;Then I go to the sheet to work on my dashboard, and I set a filter for MonthYear, but I get as many MonthYears as rows my dataset has. It is not aggregating correctly. It is taking MonthYear as unique values even tho they are the same.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;what can i do?&lt;/P&gt;</description>
      <pubDate>Tue, 23 Sep 2025 12:19:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Problem-with-dates/m-p/2531614#M108014</guid>
      <dc:creator>Nemo1</dc:creator>
      <dc:date>2025-09-23T12:19:48Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with dates</title>
      <link>https://community.qlik.com/t5/App-Development/Problem-with-dates/m-p/2531616#M108015</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/285717"&gt;@Nemo1&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;When you use Date(), Qlik still keeps all the information from the original date, so the days and possibly timestamps are kept, even if they're not shown in the format. You can see this, if you change the date format on your dashboard to something with days.&lt;/P&gt;&lt;P&gt;What you need to do is either use MonthName(SellingDate) or something like&amp;nbsp;&lt;SPAN&gt;Date(MonthEnd(SellingDate), 'MMM YYYY'), where you evaluate each SellingDate before reformatting.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Sep 2025 12:56:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Problem-with-dates/m-p/2531616#M108015</guid>
      <dc:creator>lennart_mo</dc:creator>
      <dc:date>2025-09-23T12:56:24Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with dates</title>
      <link>https://community.qlik.com/t5/App-Development/Problem-with-dates/m-p/2531621#M108016</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/285717"&gt;@Nemo1&lt;/a&gt;&amp;nbsp;@ here an option&lt;/P&gt;&lt;P&gt;with this excel file :&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="QFabian_0-1758634290027.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/183813i06CF10CFF923B654/image-size/medium?v=v2&amp;amp;px=400" role="button" title="QFabian_0-1758634290027.png" alt="QFabian_0-1758634290027.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and with this script, using '&lt;SPAN&gt;Date#' to get the field as a good date&lt;/SPAN&gt;&amp;nbsp;format:&lt;/P&gt;&lt;DIV&gt;Data:&lt;/DIV&gt;&lt;DIV&gt;LOAD&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Date(Date#([SellingDate], 'MM.DD.YYYY') ) as [SellingDate],&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; monthname(Date#([SellingDate], 'MM.DD.YYYY') ) as [MonthYear]&lt;/DIV&gt;&lt;DIV&gt;FROM [lib://AttachedFiles/test.xlsx] (ooxml, embedded labels, table is Hoja1);&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;you get this&lt;/DIV&gt;&lt;DIV&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="QFabian_1-1758634329997.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/183814i8C53A94B1AF14360/image-size/medium?v=v2&amp;amp;px=400" role="button" title="QFabian_1-1758634329997.png" alt="QFabian_1-1758634329997.png" /&gt;&lt;/span&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 23 Sep 2025 13:32:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Problem-with-dates/m-p/2531621#M108016</guid>
      <dc:creator>QFabian</dc:creator>
      <dc:date>2025-09-23T13:32:57Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with dates</title>
      <link>https://community.qlik.com/t5/App-Development/Problem-with-dates/m-p/2531627#M108019</link>
      <description>&lt;P&gt;One another solution (not so great) could be to concatenate with empty string e.g. doing it as below&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Date(SellingDate, 'MMM YYYY') &amp;amp; '' as MonthYear &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Sep 2025 14:54:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Problem-with-dates/m-p/2531627#M108019</guid>
      <dc:creator>hardikpatel172</dc:creator>
      <dc:date>2025-09-23T14:54:23Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with dates</title>
      <link>https://community.qlik.com/t5/App-Development/Problem-with-dates/m-p/2531632#M108022</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/142498"&gt;@hardikpatel172&lt;/a&gt;&amp;nbsp;Generally a bad idea because you lose the numeric value for sorting. But an interesting idea that must have an application somewhere!&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;</description>
      <pubDate>Tue, 23 Sep 2025 15:29:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Problem-with-dates/m-p/2531632#M108022</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2025-09-23T15:29:00Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with dates</title>
      <link>https://community.qlik.com/t5/App-Development/Problem-with-dates/m-p/2531634#M108023</link>
      <description>&lt;P&gt;Yup, I totally agree, and that's why I mentioned "it's not a great solution" but when we face issues related to number and don't want to interpret that as a number, this could be an easy way.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But true that we lose the numeric value. thank you!&lt;/P&gt;</description>
      <pubDate>Tue, 23 Sep 2025 15:31:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Problem-with-dates/m-p/2531634#M108023</guid>
      <dc:creator>hardikpatel172</dc:creator>
      <dc:date>2025-09-23T15:31:50Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with dates</title>
      <link>https://community.qlik.com/t5/App-Development/Problem-with-dates/m-p/2531641#M108025</link>
      <description>&lt;P&gt;Try this&amp;nbsp;&lt;/P&gt;&lt;P&gt;Date(&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; Date#(SellingDate, 'DD.MM.YYYY'),&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; 'MMM YYYY'&lt;/P&gt;&lt;P&gt;) as MonthYear&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Or may be&amp;nbsp;&lt;/P&gt;&lt;P&gt;MonthName(Date#(SellingDate, 'DD.MM.YYYY')) as MonthYear&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Sep 2025 16:43:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Problem-with-dates/m-p/2531641#M108025</guid>
      <dc:creator>Chanty4u</dc:creator>
      <dc:date>2025-09-23T16:43:38Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with dates</title>
      <link>https://community.qlik.com/t5/App-Development/Problem-with-dates/m-p/2531795#M108042</link>
      <description>&lt;P&gt;Hello Lennart, thanks for answering.&amp;nbsp;&lt;/P&gt;&lt;P&gt;that amazing, it worked!&amp;nbsp;&lt;/P&gt;&lt;P&gt;how should i addapt the formula if i wanna get the year? i have tried this::&amp;nbsp;Date(YearEnd(SellingDate), 'YYYY') or&amp;nbsp;Date(Year(SellingDate), 'YYYY') but all i get is 1905 :(( i should be getting 2024 instead.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;cheers&lt;/P&gt;</description>
      <pubDate>Thu, 25 Sep 2025 07:00:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Problem-with-dates/m-p/2531795#M108042</guid>
      <dc:creator>Nemo1</dc:creator>
      <dc:date>2025-09-25T07:00:38Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with dates</title>
      <link>https://community.qlik.com/t5/App-Development/Problem-with-dates/m-p/2531796#M108043</link>
      <description>&lt;P&gt;hey fabian, thanks for answering.&amp;nbsp;&lt;/P&gt;&lt;P&gt;when i do that, all i get is "-"&amp;nbsp;&lt;/P&gt;&lt;P&gt;do u know how could i extract just the year?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;cheers!!&lt;/P&gt;</description>
      <pubDate>Thu, 25 Sep 2025 07:03:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Problem-with-dates/m-p/2531796#M108043</guid>
      <dc:creator>Nemo1</dc:creator>
      <dc:date>2025-09-25T07:03:40Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with dates</title>
      <link>https://community.qlik.com/t5/App-Development/Problem-with-dates/m-p/2531806#M108046</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/285717"&gt;@Nemo1&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;I'm surprised your first approach didn't work. As for the second approach:&lt;BR /&gt;Year() returns the Year of the given date as a numerical value, not as a timestamp. So when you use date(), 2024 is evaluated as the number of days passed after '30.12.1899', which is the corresponding date for 0.&lt;/P&gt;&lt;P&gt;Try using the documentation provided by Qlik, it's actually quite helpful.&lt;/P&gt;&lt;P&gt;&lt;A href="https://help.qlik.com/en-US/sense/November2024/Subsystems/Hub/Content/Sense_Hub/Scripting/DateAndTimeFunctions/year.htm" target="_blank"&gt;year - script and chart function | Qlik Sense on Windows Help&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 25 Sep 2025 08:11:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Problem-with-dates/m-p/2531806#M108046</guid>
      <dc:creator>lennart_mo</dc:creator>
      <dc:date>2025-09-25T08:11:30Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with dates</title>
      <link>https://community.qlik.com/t5/App-Development/Problem-with-dates/m-p/2531810#M108048</link>
      <description>&lt;P&gt;Maybe better Date(MonthStart(...&amp;nbsp; &amp;nbsp;instead of Date(MonthEnd(...&lt;/P&gt;</description>
      <pubDate>Thu, 25 Sep 2025 08:52:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Problem-with-dates/m-p/2531810#M108048</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2025-09-25T08:52:26Z</dc:date>
    </item>
  </channel>
</rss>

