<?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 Working with to and from dates in expression in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Working-with-to-and-from-dates-in-expression/m-p/1219070#M23643</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to show only data from a specific date range in my graph.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I.e.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT customer, count(1)&lt;/P&gt;&lt;P&gt;FROM some_table&lt;/P&gt;&lt;P&gt;WHERE start_date &amp;lt;= '01-02-2016'&lt;/P&gt;&lt;P&gt;AND end_date &amp;gt;= '01-02-2016'&lt;/P&gt;&lt;P&gt;GROUP BY customer&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I haven't been able to find an example anywhere to do this in expression on Sense.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 16 Nov 2024 10:06:13 GMT</pubDate>
    <dc:creator>vaisgaard</dc:creator>
    <dc:date>2024-11-16T10:06:13Z</dc:date>
    <item>
      <title>Working with to and from dates in expression</title>
      <link>https://community.qlik.com/t5/App-Development/Working-with-to-and-from-dates-in-expression/m-p/1219070#M23643</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to show only data from a specific date range in my graph.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I.e.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT customer, count(1)&lt;/P&gt;&lt;P&gt;FROM some_table&lt;/P&gt;&lt;P&gt;WHERE start_date &amp;lt;= '01-02-2016'&lt;/P&gt;&lt;P&gt;AND end_date &amp;gt;= '01-02-2016'&lt;/P&gt;&lt;P&gt;GROUP BY customer&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I haven't been able to find an example anywhere to do this in expression on Sense.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 16 Nov 2024 10:06:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Working-with-to-and-from-dates-in-expression/m-p/1219070#M23643</guid>
      <dc:creator>vaisgaard</dc:creator>
      <dc:date>2024-11-16T10:06:13Z</dc:date>
    </item>
    <item>
      <title>Re: Working with to and from dates in expression</title>
      <link>https://community.qlik.com/t5/App-Development/Working-with-to-and-from-dates-in-expression/m-p/1219071#M23644</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use the SQL statement in the script as-is. Or if you want a chart expression you can try a set analysis expression like &lt;EM&gt;count({&amp;lt;start_date={"&amp;lt;=01-02-2016"}, end_date={"&amp;gt;=01-02-2016"}&amp;gt;}1). &lt;/EM&gt;That may or may not work depending on the date types of the original source fields and any processing and/or formatting applied during the load. It could be you need something like &lt;EM style="font-size: 13.3333px;"&gt;count({&amp;lt;start_date={"&amp;lt;=$(=Date(MakeDate(2016,2,1),'DD-MM-YYYY'))"}, end_date={"&amp;gt;=&lt;EM style="font-size: 13.3333px;"&gt;$(=Date(MakeDate(2016,2,1),'DD-MM-YYYY'))&lt;/EM&gt;"}&amp;gt;}1).&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Feb 2017 19:08:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Working-with-to-and-from-dates-in-expression/m-p/1219071#M23644</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2017-02-06T19:08:54Z</dc:date>
    </item>
  </channel>
</rss>

