<?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 open orders on a given day in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/open-orders-on-a-given-day/m-p/2076613#M88290</link>
    <description>&lt;P&gt;Hi all,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I want a running line graph with open orders on a given day.&amp;nbsp; how do I create this? I've looked at a few solution sbut can't get it to work. I am using a master calander.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;these are my fields:&lt;/P&gt;
&lt;P&gt;'iQ|'&amp;amp;"PK_R_ORDER" as OrderID,&lt;BR /&gt;'iQ|'&amp;amp;"FK_SALESPERSON" as VerkoperID,&lt;BR /&gt;'iQ|'&amp;amp;"FK_ORDERCATEGORY" as OrderCatID,&lt;BR /&gt;'iQ|'&amp;amp; FK_MAINPROJECT as ProjectID,&lt;BR /&gt;'iQ|'&amp;amp;"FK_RELATION" as RelationID,&lt;BR /&gt;'iQ|'&amp;amp; FK_WORKFLOWSTATE as WorkflowID,&lt;BR /&gt;'iQ|'&amp;amp;"FK_DEALER" as DealerID,&lt;BR /&gt;floor(ORDERDATE) as DateID,&lt;BR /&gt;&lt;BR /&gt;'iQ' as Source,&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;ORDERNUMBER as OrderNumber,&lt;BR /&gt;DESCRIPTION as OrderDesc,&lt;BR /&gt;Date(ORDERDATE) as OrderDate,&lt;/P&gt;
&lt;P&gt;ORDERTYPE as OrderType,&lt;BR /&gt;TOTALNETAMOUNT as OrderIntake,&lt;BR /&gt;TOTALCOSTPRICE as OrderKostprijs,&lt;BR /&gt;INVOICEDAMOUNT as OrderGefactureerd,&lt;BR /&gt;TOTALNETAMOUNT - TOTALCOSTPRICE as OrderMarge,&lt;BR /&gt;ISPROJECTMAINORDER,&lt;BR /&gt;FINANCIALDONE,&lt;BR /&gt;date(DATEFINANCIALFINISHED) as DatumFinancieelGereed,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Openingdate = OrderDate&lt;/P&gt;
&lt;P&gt;closingdate = DatumFinancieelGereed&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;thank you in advance,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Kind regards&lt;/P&gt;</description>
    <pubDate>Fri, 26 May 2023 06:34:51 GMT</pubDate>
    <dc:creator>Simon4</dc:creator>
    <dc:date>2023-05-26T06:34:51Z</dc:date>
    <item>
      <title>open orders on a given day</title>
      <link>https://community.qlik.com/t5/App-Development/open-orders-on-a-given-day/m-p/2076613#M88290</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I want a running line graph with open orders on a given day.&amp;nbsp; how do I create this? I've looked at a few solution sbut can't get it to work. I am using a master calander.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;these are my fields:&lt;/P&gt;
&lt;P&gt;'iQ|'&amp;amp;"PK_R_ORDER" as OrderID,&lt;BR /&gt;'iQ|'&amp;amp;"FK_SALESPERSON" as VerkoperID,&lt;BR /&gt;'iQ|'&amp;amp;"FK_ORDERCATEGORY" as OrderCatID,&lt;BR /&gt;'iQ|'&amp;amp; FK_MAINPROJECT as ProjectID,&lt;BR /&gt;'iQ|'&amp;amp;"FK_RELATION" as RelationID,&lt;BR /&gt;'iQ|'&amp;amp; FK_WORKFLOWSTATE as WorkflowID,&lt;BR /&gt;'iQ|'&amp;amp;"FK_DEALER" as DealerID,&lt;BR /&gt;floor(ORDERDATE) as DateID,&lt;BR /&gt;&lt;BR /&gt;'iQ' as Source,&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;ORDERNUMBER as OrderNumber,&lt;BR /&gt;DESCRIPTION as OrderDesc,&lt;BR /&gt;Date(ORDERDATE) as OrderDate,&lt;/P&gt;
&lt;P&gt;ORDERTYPE as OrderType,&lt;BR /&gt;TOTALNETAMOUNT as OrderIntake,&lt;BR /&gt;TOTALCOSTPRICE as OrderKostprijs,&lt;BR /&gt;INVOICEDAMOUNT as OrderGefactureerd,&lt;BR /&gt;TOTALNETAMOUNT - TOTALCOSTPRICE as OrderMarge,&lt;BR /&gt;ISPROJECTMAINORDER,&lt;BR /&gt;FINANCIALDONE,&lt;BR /&gt;date(DATEFINANCIALFINISHED) as DatumFinancieelGereed,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Openingdate = OrderDate&lt;/P&gt;
&lt;P&gt;closingdate = DatumFinancieelGereed&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;thank you in advance,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Kind regards&lt;/P&gt;</description>
      <pubDate>Fri, 26 May 2023 06:34:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/open-orders-on-a-given-day/m-p/2076613#M88290</guid>
      <dc:creator>Simon4</dc:creator>
      <dc:date>2023-05-26T06:34:51Z</dc:date>
    </item>
    <item>
      <title>Re: open orders on a given day</title>
      <link>https://community.qlik.com/t5/App-Development/open-orders-on-a-given-day/m-p/2076736#M88305</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/200545"&gt;@Simon4&lt;/a&gt;&amp;nbsp; could please elaborate?&lt;/P&gt;</description>
      <pubDate>Fri, 26 May 2023 11:20:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/open-orders-on-a-given-day/m-p/2076736#M88305</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2023-05-26T11:20:18Z</dc:date>
    </item>
    <item>
      <title>Re: open orders on a given day</title>
      <link>https://community.qlik.com/t5/App-Development/open-orders-on-a-given-day/m-p/2076742#M88306</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/336"&gt;@Kushal_Chawda&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;I attached some sample data.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I want to make a line chart that displays how many open orders there were on a given day.&lt;/P&gt;
&lt;P&gt;OrderDate is the opening date and the order stays open until it is send OR finacial done, which both have dates aswell.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I basically need a open order count per day, but I am not able to get it working.&lt;/P&gt;</description>
      <pubDate>Fri, 26 May 2023 11:28:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/open-orders-on-a-given-day/m-p/2076742#M88306</guid>
      <dc:creator>Simon4</dc:creator>
      <dc:date>2023-05-26T11:28:56Z</dc:date>
    </item>
    <item>
      <title>Re: open orders on a given day</title>
      <link>https://community.qlik.com/t5/App-Development/open-orders-on-a-given-day/m-p/2077058#M88344</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;one solution might be:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MarcoWedel_0-1685295542059.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/108488i892E2FAEF73431D9/image-size/large?v=v2&amp;amp;px=999" role="button" title="MarcoWedel_0-1685295542059.png" alt="MarcoWedel_0-1685295542059.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;tabOrders:
LOAD OrderNumber,  
     Date(OrderDate,'DD-MM-YYYY')				as OrderDate, 
     Date(SendDatepakbon,'DD-MM-YYYY')			as SendDatepakbon,  
     Date(DatumFinancieelGereed,'DD-MM-YYYY')	as DatumFinancieelGereed
FROM [lib://DataFiles/SAMPLE DATA qlik com 2076736#M88305.xlsx] (ooxml, embedded labels, table is Sheet1);

tabDates:
LOAD OrderNumber,
     Date(OrderDate+IterNo()-1,'DD-MM-YYYY') as Date
Resident tabOrders
While OrderDate+IterNo()-1 &amp;lt;= RangeMin(SendDatepakbon,DatumFinancieelGereed,Today());

&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;see also:&amp;nbsp;&lt;A href="https://community.qlik.com/t5/Design/Creating-Reference-Dates-for-Intervals/ba-p/1463944" target="_blank"&gt;https://community.qlik.com/t5/Design/Creating-Reference-Dates-for-Intervals/ba-p/1463944&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 28 May 2023 17:41:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/open-orders-on-a-given-day/m-p/2077058#M88344</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2023-05-28T17:41:06Z</dc:date>
    </item>
    <item>
      <title>Re: open orders on a given day</title>
      <link>https://community.qlik.com/t5/App-Development/open-orders-on-a-given-day/m-p/2078759#M88485</link>
      <description>&lt;P&gt;Thankyou! It works perfectly.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I only had to create a second calander to prevent circle references, but in this case that is not a problem.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cheers&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Simon&lt;/P&gt;</description>
      <pubDate>Thu, 01 Jun 2023 06:21:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/open-orders-on-a-given-day/m-p/2078759#M88485</guid>
      <dc:creator>Simon4</dc:creator>
      <dc:date>2023-06-01T06:21:21Z</dc:date>
    </item>
  </channel>
</rss>

