<?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 Calculating date values in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Calculating-date-values/m-p/161164#M35163</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Think it depends a bit from your input-data, if there is a strict rule, that for each Order (Auftragsnummer) there is only one Offer (AngebotID), and for each Offer there is only one Query (AnfrageID), would use a JOIN and have for each Query just one line, which makes then your calculations much easier.&lt;BR /&gt;If Kundennummer, Personalnummer are different, you may record them as Kundennummer_Anfrage, Kundennummber_Angebot etc.&lt;/P&gt;&lt;P&gt;HTH&lt;BR /&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 22 Nov 2009 02:06:48 GMT</pubDate>
    <dc:creator>prieper</dc:creator>
    <dc:date>2009-11-22T02:06:48Z</dc:date>
    <item>
      <title>Calculating date values</title>
      <link>https://community.qlik.com/t5/QlikView/Calculating-date-values/m-p/161163#M35162</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN onmouseout="function onmouseout(){function onmouseout(){function onmouseout(){function onmouseout(){function onmouseout(){this.style.backgroundColor='#fff'}}}}}" onmouseover="function onmouseover(){function onmouseover(){function onmouseover(){function onmouseover(){function onmouseover(){this.style.backgroundColor='#ebeff9'}}}}}" style="background-color: #fff;" title="um einige vorhandene, synthetische Schlüssel zu vermeiden, musste ich 3 Tabellen (Anfragen, Angebote und Aufträge, aus einer Excel-Liste) mit dem CONCATENATE-Befehl zusammenfügen."&gt;avoid some existing synthetic key, I joined 3 tables (questions, quotations and orders, from an Excel list) with a CONCATENATE LOAD command.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN onmouseout="function onmouseout(){function onmouseout(){function onmouseout(){function onmouseout(){function onmouseout(){this.style.backgroundColor='#fff'}}}}}" onmouseover="function onmouseover(){function onmouseover(){function onmouseover(){function onmouseover(){function onmouseover(){this.style.backgroundColor='#ebeff9'}}}}}" style="background-color: #fff;" title="um einige vorhandene, synthetische Schlüssel zu vermeiden, musste ich 3 Tabellen (Anfragen, Angebote und Aufträge, aus einer Excel-Liste) mit dem CONCATENATE-Befehl zusammenfügen."&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE ___default_attr="plain" class="jive_text_macro jive_macro_code" jivemacro="code"&gt;Stammdaten:&lt;BR /&gt;LOAD AnfrageID,&lt;BR /&gt; AnfrageEingang AS Anfrageeingang,&lt;BR /&gt; AnfrageEingang AS Datum,&lt;BR /&gt; AnfrageBearbeitung AS Anfragebearbeitung,&lt;BR /&gt; AnfrageBearbeitung - AnfrageEingang AS AnfrageBearbeitungszeit,&lt;BR /&gt; KundenNr AS Kundennummer,&lt;BR /&gt; PersonalNr AS Personalnummer,&lt;BR /&gt; Besuch AS BesuchJaNein,&lt;BR /&gt; Angebot AS AngebotJaNein&lt;BR /&gt;FROM&lt;BR /&gt;[DataSources\VirtuelleFirma.xlsx]&lt;BR /&gt;(ooxml, embedded labels, table is Anfragen);&lt;BR /&gt;CONCATENATE LOAD AngebotID,&lt;BR /&gt; AnfrageID,&lt;BR /&gt; AngebotErstellung AS Angeboterstellung,&lt;BR /&gt; AngebotAbgabe AS Angebotabgabe,&lt;BR /&gt; AngebotAbgabe AS Datum,&lt;BR /&gt; AngebotAbgabe - AngebotErstellung AS AngebotBearbeitungszeit,&lt;BR /&gt; KundenNr AS Kundennummer,&lt;BR /&gt; PersonalNr AS Personalnummer&lt;BR /&gt;FROM&lt;BR /&gt;[DataSources\VirtuelleFirma.xlsx]&lt;BR /&gt;(ooxml, embedded labels, table is Angebote);&lt;BR /&gt;CONCATENATE LOAD AuftragNr AS Auftragsnummer,&lt;BR /&gt; AngebotID,&lt;BR /&gt; KundenNr AS Kundennummer,&lt;BR /&gt; PersonalNr AS Personalnummer,&lt;BR /&gt; Bestelldatum,&lt;BR /&gt; Bestelldatum AS Datum,&lt;BR /&gt; Lieferdatum,&lt;BR /&gt; Lieferdatum - Bestelldatum AS Lieferzeit,&lt;BR /&gt; RechnungNr AS Rechnungsnummer,&lt;BR /&gt; Rechnungdatum,&lt;BR /&gt; ZahlungBis AS Zahlungsziel&lt;BR /&gt;FROM&lt;BR /&gt;[DataSources\VirtuelleFirma.xlsx]&lt;BR /&gt;(ooxml, embedded labels, table is Auftrag);&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;SPAN onmouseout="function onmouseout(){function onmouseout(){function onmouseout(){function onmouseout(){function onmouseout(){this.style.backgroundColor='#fff'}}}}}" onmouseover="function onmouseover(){function onmouseover(){function onmouseover(){function onmouseover(){function onmouseover(){this.style.backgroundColor='#ebeff9'}}}}}" style="background-color: #fff;" title="um einige vorhandene, synthetische Schlüssel zu vermeiden, musste ich 3 Tabellen (Anfragen, Angebote und Aufträge, aus einer Excel-Liste) mit dem CONCATENATE-Befehl zusammenfügen."&gt;&lt;/SPAN&gt;&lt;SPAN onmouseout="function onmouseout(){function onmouseout(){function onmouseout(){function onmouseout(){function onmouseout(){this.style.backgroundColor='#fff'}}}}}" onmouseover="function onmouseover(){function onmouseover(){function onmouseover(){function onmouseover(){function onmouseover(){this.style.backgroundColor='#ebeff9'}}}}}" style="background-color: #fff;" title="Ich möchte nun berechnen, wie viel Zeit beispielsweise vom Eingang einer Anfrage bis zur Erstellung des Angebots oder von der Erstellung des Angebots bis zum Erteilung des Auftrags vergangen ist."&gt;Now I want to calculate how much time has elapsed, for example the receipt of a request until the establishment of the tender or the preparation of the bid until the issuance of the contract.&lt;/SPAN&gt; &lt;SPAN onmouseout="function onmouseout(){function onmouseout(){function onmouseout(){function onmouseout(){function onmouseout(){this.style.backgroundColor='#fff'}}}}}" onmouseover="function onmouseover(){function onmouseover(){function onmouseover(){function onmouseover(){function onmouseover(){this.style.backgroundColor='#ebeff9'}}}}}" style="background-color: #fff;" title="Dies möchte ich sowohl in einem Kreisdiagramm als auch in einer Tabelle (Tabellendiagramm) ausgeben."&gt;This is what I want to spend both in a pie chart as well as in a table (table diagram).&lt;/SPAN&gt; &lt;SPAN onmouseout="function onmouseout(){function onmouseout(){function onmouseout(){function onmouseout(){function onmouseout(){this.style.backgroundColor='#fff'}}}}}" onmouseover="function onmouseover(){function onmouseover(){function onmouseover(){function onmouseover(){function onmouseover(){this.style.backgroundColor='#ebeff9'}}}}}" style="background-color: #fff;" title="Durch die Verbindung der Tabellen stehen ja aber die zu vergleichenden Datumswerte nicht in einem Datensatz."&gt;By combining the tables are indeed but to compare date values not in a record.&lt;/SPAN&gt; &lt;SPAN onmouseout="function onmouseout(){function onmouseout(){function onmouseout(){function onmouseout(){function onmouseout(){this.style.backgroundColor='#fff'}}}}}" onmouseover="function onmouseover(){function onmouseover(){function onmouseover(){function onmouseover(){function onmouseover(){this.style.backgroundColor='#ebeff9'}}}}}" style="background-color: #fff;" title="Mein Ansatz war nun mit aggr() entsprechend der gemeinsamen Dimensionen die Summen zusammenfassen."&gt;My approach now was summed up in aggr () according to the common dimensions of the totals. How could I do that?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN onmouseout="function onmouseout(){function onmouseout(){function onmouseout(){function onmouseout(){function onmouseout(){this.style.backgroundColor='#fff'}}}}}" onmouseover="function onmouseover(){function onmouseover(){function onmouseover(){function onmouseover(){function onmouseover(){this.style.backgroundColor='#ebeff9'}}}}}" style="background-color: #fff;" title="Mein Ansatz war nun mit aggr() entsprechend der gemeinsamen Dimensionen die Summen zusammenfassen."&gt;To better illustrate, I have just created a &lt;A href="http://www.schoenling.com/download/Test.qvw" target="_blank"&gt;test document&lt;/A&gt; and a screenshot of my &lt;A href="http://www.schoenling.com/download/testtab.jpg" target="_blank"&gt;table structure&lt;/A&gt;, which express my problem in the graphs below right and bottom middle.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN onmouseout="function onmouseout(){function onmouseout(){function onmouseout(){function onmouseout(){function onmouseout(){this.style.backgroundColor='#fff'}}}}}" onmouseover="function onmouseover(){function onmouseover(){function onmouseover(){function onmouseover(){function onmouseover(){this.style.backgroundColor='#ebeff9'}}}}}" style="background-color: #fff;" title="Mein Ansatz war nun mit aggr() entsprechend der gemeinsamen Dimensionen die Summen zusammenfassen."&gt;-&amp;gt; &lt;A href="http://www.schoenling.com/download/Test.qvw" target="_blank"&gt;Test.qvw&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;-&amp;gt; &lt;A href="http://www.schoenling.com/download/testtab.jpg" target="_blank"&gt;testab.jpg&lt;/A&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN onmouseout="function onmouseout(){function onmouseout(){function onmouseout(){function onmouseout(){function onmouseout(){this.style.backgroundColor='#fff'}}}}}" onmouseover="function onmouseover(){function onmouseover(){function onmouseover(){function onmouseover(){function onmouseover(){this.style.backgroundColor='#ebeff9'}}}}}" title="Vielen Dank"&gt;Thank you very much&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN onmouseout="function onmouseout(){function onmouseout(){function onmouseout(){function onmouseout(){function onmouseout(){this.style.backgroundColor='#fff'}}}}}" onmouseover="function onmouseover(){function onmouseover(){function onmouseover(){function onmouseover(){function onmouseover(){this.style.backgroundColor='#ebeff9'}}}}}" title="Thomas Schönling"&gt;Thomas&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 21 Nov 2009 14:48:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculating-date-values/m-p/161163#M35162</guid>
      <dc:creator />
      <dc:date>2009-11-21T14:48:43Z</dc:date>
    </item>
    <item>
      <title>Calculating date values</title>
      <link>https://community.qlik.com/t5/QlikView/Calculating-date-values/m-p/161164#M35163</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Think it depends a bit from your input-data, if there is a strict rule, that for each Order (Auftragsnummer) there is only one Offer (AngebotID), and for each Offer there is only one Query (AnfrageID), would use a JOIN and have for each Query just one line, which makes then your calculations much easier.&lt;BR /&gt;If Kundennummer, Personalnummer are different, you may record them as Kundennummer_Anfrage, Kundennummber_Angebot etc.&lt;/P&gt;&lt;P&gt;HTH&lt;BR /&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 22 Nov 2009 02:06:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculating-date-values/m-p/161164#M35163</guid>
      <dc:creator>prieper</dc:creator>
      <dc:date>2009-11-22T02:06:48Z</dc:date>
    </item>
  </channel>
</rss>

