<?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: SQL to set analysis: Date field between two other date fields in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/SQL-to-set-analysis-Date-field-between-two-other-date-fields/m-p/1776474#M60201</link>
    <description>&lt;P&gt;Set analysis can be done on aggregate basis at least per one measure column. As i can see, You can use modifier for above one like&amp;nbsp;&lt;STRONG&gt;{&amp;lt;SalesDate={"=SalesDate&amp;gt;=ValidFrom and SalesDate&amp;lt;=ValidTo"}&amp;gt;}&lt;/STRONG&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 21 Jan 2021 19:14:05 GMT</pubDate>
    <dc:creator>Anil_Babu_Samineni</dc:creator>
    <dc:date>2021-01-21T19:14:05Z</dc:date>
    <item>
      <title>SQL to set analysis: Date field between two other date fields</title>
      <link>https://community.qlik.com/t5/App-Development/SQL-to-set-analysis-Date-field-between-two-other-date-fields/m-p/1775173#M60073</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I've this SQL query that i'ld to translate in set analysis:&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;select c.name, o.oderNum, s.NB, s.TotalSales&lt;BR /&gt;from Sales s, Client c, Order o&lt;BR /&gt;where s.condition = 20&lt;BR /&gt;and s.orderId = o.orderId&lt;BR /&gt;and o.clientId = c.clientId&lt;BR /&gt;and &lt;STRONG&gt;convert(date,CONVERT(varchar, s.SalesDate),112) between o.ValidFrom and o.ValidTo ;&lt;/STRONG&gt;&lt;BR /&gt;and &lt;STRONG&gt;convert(date,CONVERT(varchar, s.SalesDate),112) between c.ValidFrom and c.ValidTo ;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;this query is the base for the app and this is an simple example. The case is more complicated.&lt;BR /&gt;Fields date are in format 'DD.MM.YYYY'&lt;/P&gt;&lt;P&gt;How to translate in set analysis the dates of 'SalesDate' must be between the dates of 'ValidFrom' and 'ValidTo' of each tables?&lt;/P&gt;&lt;P&gt;Thanks for your help.&lt;/P&gt;&lt;P&gt;Regards,&amp;nbsp;&lt;BR /&gt;Théo&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 00:48:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/SQL-to-set-analysis-Date-field-between-two-other-date-fields/m-p/1775173#M60073</guid>
      <dc:creator>t_donnet</dc:creator>
      <dc:date>2024-11-16T00:48:41Z</dc:date>
    </item>
    <item>
      <title>Re: SQL to set analysis: Date field between two other date fields</title>
      <link>https://community.qlik.com/t5/App-Development/SQL-to-set-analysis-Date-field-between-two-other-date-fields/m-p/1776474#M60201</link>
      <description>&lt;P&gt;Set analysis can be done on aggregate basis at least per one measure column. As i can see, You can use modifier for above one like&amp;nbsp;&lt;STRONG&gt;{&amp;lt;SalesDate={"=SalesDate&amp;gt;=ValidFrom and SalesDate&amp;lt;=ValidTo"}&amp;gt;}&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jan 2021 19:14:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/SQL-to-set-analysis-Date-field-between-two-other-date-fields/m-p/1776474#M60201</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2021-01-21T19:14:05Z</dc:date>
    </item>
    <item>
      <title>Re: SQL to set analysis: Date field between two other date fields</title>
      <link>https://community.qlik.com/t5/App-Development/SQL-to-set-analysis-Date-field-between-two-other-date-fields/m-p/1777814#M60364</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I tried different ways with your answer. The result isn't there.&lt;/P&gt;&lt;P&gt;How bank company use this kind SQL request in Qlik Sense? Do you think Qlik has a limit?&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Jan 2021 16:16:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/SQL-to-set-analysis-Date-field-between-two-other-date-fields/m-p/1777814#M60364</guid>
      <dc:creator>t_donnet</dc:creator>
      <dc:date>2021-01-27T16:16:38Z</dc:date>
    </item>
  </channel>
</rss>

