<?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: Create an Open Orders chart with multiple dates per fact record in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Create-an-Open-Orders-chart-with-multiple-dates-per-fact-record/m-p/1696483#M63833</link>
    <description>&lt;P&gt;I have to credit Joe Ho and Rob Mohr from Qlik for this solution.&lt;/P&gt;&lt;P&gt;I created a stand alone canonical calendar (a data island) and used a Cartesian join to find open orders on dates in that calendar. Dimension and Measure are below.&lt;/P&gt;&lt;P&gt;X-Axis dimension only showing working days:&lt;/P&gt;&lt;P&gt;=IF(CCDate&amp;lt;=(Today(0)-1) and MATCH(CCDate,$(vHolidays))=0,CCDate)&amp;nbsp;&lt;/P&gt;&lt;P&gt;Y-Axis Open orders on each day:&lt;/P&gt;&lt;P&gt;sum({$&amp;lt;CMorOrder={'Work Order'}&amp;gt;} (OrderDate &amp;lt;= CCDate and ShipDate &amp;gt;= CCDate)*-1)&lt;BR /&gt;+&lt;BR /&gt;sum({$&amp;lt;CMorOrder={'Work Order'}&amp;gt;} (OrderDate &amp;lt;= CCDate and isnull(ShipDate))*-1)&lt;/P&gt;&lt;P&gt;This of course works for any of the other values associated with the order number. Simply multiple by the value at the end of the Cartesian join.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Enjoy!&lt;/P&gt;</description>
    <pubDate>Fri, 24 Apr 2020 12:27:37 GMT</pubDate>
    <dc:creator>SDT</dc:creator>
    <dc:date>2020-04-24T12:27:37Z</dc:date>
    <item>
      <title>Create an Open Orders chart with multiple dates per fact record</title>
      <link>https://community.qlik.com/t5/App-Development/Create-an-Open-Orders-chart-with-multiple-dates-per-fact-record/m-p/1693430#M63832</link>
      <description>&lt;P&gt;I learned a lot (no where near enough) on these forums and I'm hoping someone can help with the latest problem. I have a fact table with multiple dates per fact. The unique fact key is WorkOrder and I have used a bridge table to connect the facts to a fiscal calendar. I also have an as-of calendar for rolling rate of change calculations.&lt;/P&gt;&lt;P&gt;I cannot figure out how to create a line or bar chart showing the $ value of open (sum(OpenOrInvoicedAmt) orders on a given day in the fiscal calendar. It has been driving me quite mad as it seems like this would be simple. I bet it could be done in Excel by listing all the fiscal calendar dates and doing a SUMIFS statement with the OrderDate and ShipDate.&lt;/P&gt;&lt;P&gt;To complicate matters, the ShipDate is null for orders not yet shipped as of the last data load.&lt;/P&gt;&lt;P&gt;Please help me see what I am missing ?!?!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SDT_0-1586890782561.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/31819iE26D16296DAE28FF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SDT_0-1586890782561.png" alt="SDT_0-1586890782561.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Apr 2021 08:24:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Create-an-Open-Orders-chart-with-multiple-dates-per-fact-record/m-p/1693430#M63832</guid>
      <dc:creator>SDT</dc:creator>
      <dc:date>2021-04-02T08:24:44Z</dc:date>
    </item>
    <item>
      <title>Re: Create an Open Orders chart with multiple dates per fact record</title>
      <link>https://community.qlik.com/t5/App-Development/Create-an-Open-Orders-chart-with-multiple-dates-per-fact-record/m-p/1696483#M63833</link>
      <description>&lt;P&gt;I have to credit Joe Ho and Rob Mohr from Qlik for this solution.&lt;/P&gt;&lt;P&gt;I created a stand alone canonical calendar (a data island) and used a Cartesian join to find open orders on dates in that calendar. Dimension and Measure are below.&lt;/P&gt;&lt;P&gt;X-Axis dimension only showing working days:&lt;/P&gt;&lt;P&gt;=IF(CCDate&amp;lt;=(Today(0)-1) and MATCH(CCDate,$(vHolidays))=0,CCDate)&amp;nbsp;&lt;/P&gt;&lt;P&gt;Y-Axis Open orders on each day:&lt;/P&gt;&lt;P&gt;sum({$&amp;lt;CMorOrder={'Work Order'}&amp;gt;} (OrderDate &amp;lt;= CCDate and ShipDate &amp;gt;= CCDate)*-1)&lt;BR /&gt;+&lt;BR /&gt;sum({$&amp;lt;CMorOrder={'Work Order'}&amp;gt;} (OrderDate &amp;lt;= CCDate and isnull(ShipDate))*-1)&lt;/P&gt;&lt;P&gt;This of course works for any of the other values associated with the order number. Simply multiple by the value at the end of the Cartesian join.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Enjoy!&lt;/P&gt;</description>
      <pubDate>Fri, 24 Apr 2020 12:27:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Create-an-Open-Orders-chart-with-multiple-dates-per-fact-record/m-p/1696483#M63833</guid>
      <dc:creator>SDT</dc:creator>
      <dc:date>2020-04-24T12:27:37Z</dc:date>
    </item>
  </channel>
</rss>

