<?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: Date greather than less than fields in set analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Date-greather-than-less-than-fields-in-set-analysis/m-p/1590734#M443547</link>
    <description>&lt;P&gt;You need an interval match to fetch the correct prices:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Left Join(Fact)
IntervalMatch(Start_Date, Final_Date, Product)
LOAD Start_Date, Final_Date, Product
Resident PriceTable;

//optional ----
Left Join(Fact)
LOAD *
Resident PriceTable;

DROP Table PriceTable;&lt;/LI-CODE&gt;&lt;P&gt;Now use the Price field.&lt;/P&gt;&lt;P&gt;These second join and drop are to simplify the resulting data model, but are not strictly necessary.&lt;/P&gt;</description>
    <pubDate>Wed, 12 Jun 2019 05:58:16 GMT</pubDate>
    <dc:creator>jonathandienst</dc:creator>
    <dc:date>2019-06-12T05:58:16Z</dc:date>
    <item>
      <title>Date greather than less than fields in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Date-greather-than-less-than-fields-in-set-analysis/m-p/1590694#M443546</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have a price table with 4 columns:&lt;/P&gt;&lt;P&gt;Product&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Start_Date&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Final_Date&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Price&lt;/P&gt;&lt;P&gt;P1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;2016-01-01&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 2017-12-31&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 20&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;P1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 2018-01-01&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 2019-12-31&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;25&lt;/P&gt;&lt;P&gt;P2&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;2016-01-01&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 2017-12-31&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;32&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;P2&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 2018-01-01&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 2019-12-31&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;35&lt;/P&gt;&lt;P&gt;The report sales should be, example:&lt;/P&gt;&lt;P&gt;%Date&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Product&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; QTY&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Price&lt;/P&gt;&lt;P&gt;2018-05-01&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;P1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 2&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;25&lt;/P&gt;&lt;P&gt;2019-01-03&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;P2&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 4&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 35&lt;/P&gt;&lt;P&gt;But the Column Price is null when i make this Set Analysis:&lt;/P&gt;&lt;P&gt;Max({$&amp;lt;Year=,Month=,%Date={'&amp;gt;=Start_Date&amp;lt;=Final_Date'}&amp;gt;}Price)&lt;/P&gt;&lt;P&gt;I tried, this one, with variables&amp;nbsp; vDateSt=Start_Date and vDateFin=Final_Date&lt;/P&gt;&lt;P&gt;max({$&amp;lt;Año=,Mes=,%FECHA={'&amp;gt;=$(=vDateSt)&amp;lt;=$(=vDateFin)'}&amp;gt;}Price)&lt;/P&gt;&lt;P&gt;But this doesn't work anyway&lt;/P&gt;&lt;P&gt;Could someone help me please.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 03:19:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-greather-than-less-than-fields-in-set-analysis/m-p/1590694#M443546</guid>
      <dc:creator>olramirez</dc:creator>
      <dc:date>2024-11-16T03:19:55Z</dc:date>
    </item>
    <item>
      <title>Re: Date greather than less than fields in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Date-greather-than-less-than-fields-in-set-analysis/m-p/1590734#M443547</link>
      <description>&lt;P&gt;You need an interval match to fetch the correct prices:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Left Join(Fact)
IntervalMatch(Start_Date, Final_Date, Product)
LOAD Start_Date, Final_Date, Product
Resident PriceTable;

//optional ----
Left Join(Fact)
LOAD *
Resident PriceTable;

DROP Table PriceTable;&lt;/LI-CODE&gt;&lt;P&gt;Now use the Price field.&lt;/P&gt;&lt;P&gt;These second join and drop are to simplify the resulting data model, but are not strictly necessary.&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jun 2019 05:58:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-greather-than-less-than-fields-in-set-analysis/m-p/1590734#M443547</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2019-06-12T05:58:16Z</dc:date>
    </item>
    <item>
      <title>Re: Date greather than less than fields in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Date-greather-than-less-than-fields-in-set-analysis/m-p/1591305#M443583</link>
      <description>&lt;P&gt;Hello Jonty,&lt;/P&gt;&lt;P&gt;i have tried your solution, but this doesn't work.&lt;/P&gt;&lt;P&gt;This is an extract from the model, could you tell me what am i doing wrong?&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jun 2019 01:43:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-greather-than-less-than-fields-in-set-analysis/m-p/1591305#M443583</guid>
      <dc:creator>olramirez</dc:creator>
      <dc:date>2019-06-13T01:43:45Z</dc:date>
    </item>
    <item>
      <title>Re: Date greather than less than fields in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Date-greather-than-less-than-fields-in-set-analysis/m-p/1591785#M443606</link>
      <description>&lt;P&gt;Sorry, i got it, i know what is wrong.&lt;/P&gt;&lt;P&gt;This is the answer, thanks Jontydkpi&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jun 2019 17:57:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-greather-than-less-than-fields-in-set-analysis/m-p/1591785#M443606</guid>
      <dc:creator>olramirez</dc:creator>
      <dc:date>2019-06-13T17:57:00Z</dc:date>
    </item>
  </channel>
</rss>

