<?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: How do I get minimum and maximum values from two datasources in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-do-I-get-minimum-and-maximum-values-from-two-datasources/m-p/354339#M1174747</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank´s for your reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The example I posted was from the qvw, which is seen at the accesspoint. Originally I only used the qvd with the data from 02/2012. &lt;/P&gt;&lt;P&gt;I got the xlsx file with the older data last week and with the then I had to use the field "Erfassungsdatum".&lt;/P&gt;&lt;P&gt;Sorry for this mistake.&lt;/P&gt;&lt;P&gt;The Calendar of my test qvw is build like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;Min:&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;load&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;min(Erfassungsdatum) as Datumklein &lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;Resident Geräusche where len(Erfassungsdatum)&amp;gt;0;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;Max:&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;load&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;max(Erfassungsdatum) as Datumgross&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;resident Geräusche;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The field "Erfassungsdatum"&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp; (&lt;SPAN class="hps" style="font-family: arial, sans-serif; text-align: -webkit-auto; background-color: #f5f5f5;"&gt;date of&lt;/SPAN&gt;&lt;SPAN style="font-family: arial, sans-serif; text-align: -webkit-auto; background-color: #f5f5f5;"&gt; &lt;/SPAN&gt;&lt;SPAN class="hps" style="font-family: arial, sans-serif; text-align: -webkit-auto; background-color: #f5f5f5;"&gt;acquisition) exists in both&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-align: -webkit-auto;"&gt;&lt;SPAN class="hps" style="font-family: arial, sans-serif; font-size: 24px; text-align: -webkit-auto; background-color: #f5f5f5;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 17 Apr 2012 11:28:59 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2012-04-17T11:28:59Z</dc:date>
    <item>
      <title>How do I get minimum and maximum values from two datasources</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-I-get-minimum-and-maximum-values-from-two-datasources/m-p/354335#M1174743</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I got two different datasource, on xslx and one qvd. I combine them with concatenate, that is not my problem. All data is shown in the qvw. &lt;/P&gt;&lt;P&gt;The Fields of the xslx and the qvd I want to use are the same. Same format and same valuetype. On of this value is the date the data was created. &lt;/P&gt;&lt;P&gt;Now my Problem is, that I want to use a Calendar where I can use the creation-date from both datasources. But I only get the dates from the qvd.&lt;/P&gt;&lt;P&gt;I hope an example will help to understand.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Apr 2012 07:57:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-I-get-minimum-and-maximum-values-from-two-datasources/m-p/354335#M1174743</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-04-17T07:57:06Z</dc:date>
    </item>
    <item>
      <title>How do I get minimum and maximum values from two datasources</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-I-get-minimum-and-maximum-values-from-two-datasources/m-p/354336#M1174744</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I can't view your example currently but I'd guess the dates are coming in as text strings from the xlsx and so min and max won't consider them as they aren't numerical (which true dates are). Try using the date#() function when loading in the xlsx to convert the string in to a true date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Matt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Apr 2012 09:11:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-I-get-minimum-and-maximum-values-from-two-datasources/m-p/354336#M1174744</guid>
      <dc:creator />
      <dc:date>2012-04-17T09:11:44Z</dc:date>
    </item>
    <item>
      <title>Re: How do I get minimum and maximum values from two datasources</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-I-get-minimum-and-maximum-values-from-two-datasources/m-p/354337#M1174745</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your response.&lt;/P&gt;&lt;P&gt;I did what you suggested, but the result is the same.&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;Date(Date#(Datum,'DD.MM.YYYY'), 'DD.MM.YYYY') as Erfassungsdatum&lt;/P&gt;&lt;P&gt;The calendar has values from 02/2012 up to today. &lt;/P&gt;&lt;P&gt;&lt;IMG alt="Calendar.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/13060_Calendar.png" /&gt;&lt;/P&gt;&lt;P&gt;If I select some date I can choose also dates from the xslx in the statusbox.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="selection.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/13061_selection.png" /&gt;&lt;/P&gt;&lt;P&gt;if I run the Skript, I can see that only 68 Datefields where added, that is the correct amount from the qvd.&lt;/P&gt;&lt;P&gt;Any new suggestions?&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Apr 2012 10:27:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-I-get-minimum-and-maximum-values-from-two-datasources/m-p/354337#M1174745</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-04-17T10:27:58Z</dc:date>
    </item>
    <item>
      <title>Re: How do I get minimum and maximum values from two datasources</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-I-get-minimum-and-maximum-values-from-two-datasources/m-p/354338#M1174746</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've had a quick look at your example. As the table loads look to be mocked up and because my German isn't great I can't be sure but the following where clause caught my eye:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; where len(Datum)&amp;gt;0;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you sure the Datum field is in both the QVD and the XLSX? You are getting the date from a different field Erfassungsdatum instead so I'm not sure of its purpose.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Matt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Apr 2012 11:05:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-I-get-minimum-and-maximum-values-from-two-datasources/m-p/354338#M1174746</guid>
      <dc:creator />
      <dc:date>2012-04-17T11:05:08Z</dc:date>
    </item>
    <item>
      <title>Re: How do I get minimum and maximum values from two datasources</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-I-get-minimum-and-maximum-values-from-two-datasources/m-p/354339#M1174747</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank´s for your reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The example I posted was from the qvw, which is seen at the accesspoint. Originally I only used the qvd with the data from 02/2012. &lt;/P&gt;&lt;P&gt;I got the xlsx file with the older data last week and with the then I had to use the field "Erfassungsdatum".&lt;/P&gt;&lt;P&gt;Sorry for this mistake.&lt;/P&gt;&lt;P&gt;The Calendar of my test qvw is build like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;Min:&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;load&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;min(Erfassungsdatum) as Datumklein &lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;Resident Geräusche where len(Erfassungsdatum)&amp;gt;0;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;Max:&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;load&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;max(Erfassungsdatum) as Datumgross&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;resident Geräusche;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The field "Erfassungsdatum"&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp; (&lt;SPAN class="hps" style="font-family: arial, sans-serif; text-align: -webkit-auto; background-color: #f5f5f5;"&gt;date of&lt;/SPAN&gt;&lt;SPAN style="font-family: arial, sans-serif; text-align: -webkit-auto; background-color: #f5f5f5;"&gt; &lt;/SPAN&gt;&lt;SPAN class="hps" style="font-family: arial, sans-serif; text-align: -webkit-auto; background-color: #f5f5f5;"&gt;acquisition) exists in both&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-align: -webkit-auto;"&gt;&lt;SPAN class="hps" style="font-family: arial, sans-serif; font-size: 24px; text-align: -webkit-auto; background-color: #f5f5f5;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Apr 2012 11:28:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-I-get-minimum-and-maximum-values-from-two-datasources/m-p/354339#M1174747</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-04-17T11:28:59Z</dc:date>
    </item>
    <item>
      <title>Re: How do I get minimum and maximum values from two datasources</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-I-get-minimum-and-maximum-values-from-two-datasources/m-p/354340#M1174748</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, I found the error.&lt;/P&gt;&lt;P&gt;The problem was that I wanted to concatenate the excel file like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;concatenate(Geräusche)&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;ODBC CONNECT32 TO ...&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;LOAD Date...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After I put the concatenate directly infront of the load, everything went fine&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;ODBC CONNECT32 TO ...&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;concatenate(Geräusche)&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;LOAD Date...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks Matt for your effort.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Apr 2012 07:57:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-I-get-minimum-and-maximum-values-from-two-datasources/m-p/354340#M1174748</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-04-18T07:57:28Z</dc:date>
    </item>
  </channel>
</rss>

