<?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: Demand per Month in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Demand-per-Month/m-p/1663850#M49922</link>
    <description>&lt;P&gt;Sorry for the delayed response &lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/46628"&gt;@sunny_talwar&lt;/a&gt;&amp;nbsp;!&lt;/P&gt;&lt;P&gt;One Problem is, that the material_group_id is in an extra table.&lt;/P&gt;&lt;P&gt;I have the following tables:&lt;/P&gt;&lt;P&gt;delivery positions:&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;material id&lt;/TD&gt;&lt;TD&gt;order date&lt;/TD&gt;&lt;TD&gt;order quanity&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;001&lt;/TD&gt;&lt;TD&gt;1.1.2019&lt;/TD&gt;&lt;TD&gt;100&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;001&lt;/TD&gt;&lt;TD&gt;5.1.2019&lt;/TD&gt;&lt;TD&gt;30&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;001&lt;/TD&gt;&lt;TD&gt;1.2.2019&lt;/TD&gt;&lt;TD&gt;50&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;002&lt;/TD&gt;&lt;TD&gt;1.1.2019&lt;/TD&gt;&lt;TD&gt;20&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;002&lt;/TD&gt;&lt;TD&gt;10.1.2019&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;100&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;material master data&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;material id&lt;/TD&gt;&lt;TD&gt;material group&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;001&lt;/TD&gt;&lt;TD&gt;A&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;002&lt;/TD&gt;&lt;TD&gt;B&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;forecast&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;material group id&lt;/TD&gt;&lt;TD&gt;forecast date (MM.YYYY)&lt;/TD&gt;&lt;TD&gt;forecast quantity&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;A&lt;/TD&gt;&lt;TD&gt;1.2019&lt;/TD&gt;&lt;TD&gt;150&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;A&lt;/TD&gt;&lt;TD&gt;2.2019&lt;/TD&gt;&lt;TD&gt;50&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;B&lt;/TD&gt;&lt;TD&gt;1.2019&lt;/TD&gt;&lt;TD&gt;130&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now I want to compare the forecast quantity with the order quantity and calculate the forecast accuracy like that for each material group&amp;nbsp; and for each month:&lt;/P&gt;&lt;P&gt;FCA (%) = (1-ABS(order quantity - forecast quantity)/order quantity)*100&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So I have the FCA for each material group and for each month and then I want to get the average value.&lt;/P&gt;&lt;P&gt;So in the end there should be an average FCA calculated in a chart function, if it is not necessary i do not want to calculate something in de load editor.&lt;/P&gt;&lt;P&gt;I hope now you can understand my problem and thank you for helping me!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Oliver&lt;/P&gt;</description>
    <pubDate>Thu, 09 Jan 2020 00:02:37 GMT</pubDate>
    <dc:creator>Oliver1</dc:creator>
    <dc:date>2020-01-09T00:02:37Z</dc:date>
    <item>
      <title>Demand per Month</title>
      <link>https://community.qlik.com/t5/App-Development/Demand-per-Month/m-p/1659299#M49409</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have a delivery positions table with "material id", "order date" and "order quantity". In another table there is also the "materialgroup id" for each material, I want to calculate the avg demand for each month and for each material group.&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;material id&lt;/TD&gt;&lt;TD&gt;order date&lt;/TD&gt;&lt;TD&gt;order quanity&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;001&lt;/TD&gt;&lt;TD&gt;1.1.2019&lt;/TD&gt;&lt;TD&gt;100&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;001&lt;/TD&gt;&lt;TD&gt;5.1.2019&lt;/TD&gt;&lt;TD&gt;30&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;001&lt;/TD&gt;&lt;TD&gt;1.2.2019&lt;/TD&gt;&lt;TD&gt;50&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;002&lt;/TD&gt;&lt;TD&gt;1.1.2019&lt;/TD&gt;&lt;TD&gt;20&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;002&lt;/TD&gt;&lt;TD&gt;10.1.2019&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;100&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;material id&lt;/TD&gt;&lt;TD&gt;material group&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;001&lt;/TD&gt;&lt;TD&gt;A&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;002&lt;/TD&gt;&lt;TD&gt;B&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So in this example i should get:&lt;/P&gt;&lt;P&gt;Group A:&amp;nbsp;&lt;BR /&gt;130 for January&lt;BR /&gt;50 for February&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Group B:&lt;BR /&gt;120 in January&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your help!&lt;/P&gt;</description>
      <pubDate>Mon, 20 Dec 2021 21:38:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Demand-per-Month/m-p/1659299#M49409</guid>
      <dc:creator>Oliver1</dc:creator>
      <dc:date>2021-12-20T21:38:40Z</dc:date>
    </item>
    <item>
      <title>Re: Demand per Month</title>
      <link>https://community.qlik.com/t5/App-Development/Demand-per-Month/m-p/1659301#M49410</link>
      <description>&lt;P&gt;What is format you are expecting output? PFA&lt;/P&gt;</description>
      <pubDate>Thu, 19 Dec 2019 10:11:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Demand-per-Month/m-p/1659301#M49410</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2019-12-19T10:11:35Z</dc:date>
    </item>
    <item>
      <title>Re: Demand per Month</title>
      <link>https://community.qlik.com/t5/App-Development/Demand-per-Month/m-p/1659313#M49411</link>
      <description>&lt;P&gt;I also have forecasts for each material group and month and I want to calculate how accurate the forecasts are so in the end the output should be percentage&lt;/P&gt;</description>
      <pubDate>Thu, 19 Dec 2019 10:17:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Demand-per-Month/m-p/1659313#M49411</guid>
      <dc:creator>Oliver1</dc:creator>
      <dc:date>2019-12-19T10:17:14Z</dc:date>
    </item>
    <item>
      <title>Re: Demand per Month</title>
      <link>https://community.qlik.com/t5/App-Development/Demand-per-Month/m-p/1659315#M49412</link>
      <description>&lt;P&gt;Better, If you could supply the outcome as well?&lt;/P&gt;</description>
      <pubDate>Thu, 19 Dec 2019 10:20:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Demand-per-Month/m-p/1659315#M49412</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2019-12-19T10:20:06Z</dc:date>
    </item>
    <item>
      <title>Re: Demand per Month</title>
      <link>https://community.qlik.com/t5/App-Development/Demand-per-Month/m-p/1659337#M49415</link>
      <description>&lt;P&gt;For example, when my forecast for group A in January is 120 then my forecast accuracy is 92,31 %.&lt;/P&gt;&lt;P&gt;Calculation:&lt;/P&gt;&lt;P&gt;100-((|demand-forecast|)/demand*100)=92,31%&lt;/P&gt;</description>
      <pubDate>Thu, 19 Dec 2019 10:46:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Demand-per-Month/m-p/1659337#M49415</guid>
      <dc:creator>Oliver1</dc:creator>
      <dc:date>2019-12-19T10:46:16Z</dc:date>
    </item>
    <item>
      <title>Re: Demand per Month</title>
      <link>https://community.qlik.com/t5/App-Development/Demand-per-Month/m-p/1659356#M49420</link>
      <description>&lt;P&gt;What is demand and forecast here?&lt;/P&gt;</description>
      <pubDate>Thu, 19 Dec 2019 11:14:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Demand-per-Month/m-p/1659356#M49420</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2019-12-19T11:14:19Z</dc:date>
    </item>
    <item>
      <title>Re: Demand per Month</title>
      <link>https://community.qlik.com/t5/App-Development/Demand-per-Month/m-p/1659367#M49425</link>
      <description>&lt;P&gt;The demand is for material group per month form the example in my&amp;nbsp; post and the forecast is from a third table which shows the forecasts for each material group per month.&lt;/P&gt;&lt;P&gt;The result should be the overall forecast accuracy as a percentage.&lt;/P&gt;</description>
      <pubDate>Thu, 19 Dec 2019 11:21:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Demand-per-Month/m-p/1659367#M49425</guid>
      <dc:creator>Oliver1</dc:creator>
      <dc:date>2019-12-19T11:21:17Z</dc:date>
    </item>
    <item>
      <title>Re: Demand per Month</title>
      <link>https://community.qlik.com/t5/App-Development/Demand-per-Month/m-p/1659368#M49426</link>
      <description>&lt;P&gt;You may take care the model, I believe it is already ready. If that is the case, expression I would think like&lt;/P&gt;&lt;DIV class="lia-quilt-row lia-quilt-row-main"&gt;&lt;DIV class="lia-quilt-column lia-quilt-column-21 lia-quilt-column-right lia-quilt-column-main-content"&gt;&lt;DIV class="lia-quilt-column-alley lia-quilt-column-alley-right"&gt;&lt;DIV class="lia-message-body lia-component-message-view-widget-body lia-component-body-signature-highlight-escalation lia-component-message-view-widget-body-signature-highlight-escalation"&gt;&lt;DIV class="lia-message-body-content"&gt;&lt;P&gt;&lt;STRONG&gt;Num(100-((Sum(TOTAL &amp;lt;Month&amp;gt; demand)-Sum(TOTAL &amp;lt;Month&amp;gt; forecast))/Sum(TOTAL &amp;lt;Month&amp;gt; demand)*100),'#,#0%')&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Where as Month field calculated from script like&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Month(Date(Date#([order date], 'DD.MM.YYYY'),'DD-MMM-YYYY')) as Month&lt;/STRONG&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 19 Dec 2019 11:25:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Demand-per-Month/m-p/1659368#M49426</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2019-12-19T11:25:09Z</dc:date>
    </item>
    <item>
      <title>Re: Demand per Month</title>
      <link>https://community.qlik.com/t5/App-Development/Demand-per-Month/m-p/1659385#M49431</link>
      <description>&lt;P&gt;Thank you, but I cant import the date as Month, is thera also a solution where i can use something like &lt;STRONG&gt;month(order date)&lt;/STRONG&gt;?&lt;/P&gt;</description>
      <pubDate>Thu, 19 Dec 2019 11:58:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Demand-per-Month/m-p/1659385#M49431</guid>
      <dc:creator>Oliver1</dc:creator>
      <dc:date>2019-12-19T11:58:11Z</dc:date>
    </item>
    <item>
      <title>Re: Demand per Month</title>
      <link>https://community.qlik.com/t5/App-Development/Demand-per-Month/m-p/1659410#M49440</link>
      <description>&lt;P&gt;I don't think so, But let's take from other suggestion&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/22569"&gt;@Clever_Anjos&lt;/a&gt;&amp;nbsp;or&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/46628"&gt;@sunny_talwar&lt;/a&gt;&amp;nbsp; etc.&lt;/P&gt;</description>
      <pubDate>Thu, 19 Dec 2019 13:33:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Demand-per-Month/m-p/1659410#M49440</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2019-12-19T13:33:53Z</dc:date>
    </item>
    <item>
      <title>Re: Demand per Month</title>
      <link>https://community.qlik.com/t5/App-Development/Demand-per-Month/m-p/1659417#M49441</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/93508"&gt;@Oliver1&lt;/a&gt;&amp;nbsp;are you saying that you don't have a Month or MonthYear field in the script and you don't want to create one? Is there a reason you don't want to create this field?&lt;/P&gt;</description>
      <pubDate>Thu, 19 Dec 2019 13:54:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Demand-per-Month/m-p/1659417#M49441</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-12-19T13:54:26Z</dc:date>
    </item>
    <item>
      <title>Re: Demand per Month</title>
      <link>https://community.qlik.com/t5/App-Development/Demand-per-Month/m-p/1663850#M49922</link>
      <description>&lt;P&gt;Sorry for the delayed response &lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/46628"&gt;@sunny_talwar&lt;/a&gt;&amp;nbsp;!&lt;/P&gt;&lt;P&gt;One Problem is, that the material_group_id is in an extra table.&lt;/P&gt;&lt;P&gt;I have the following tables:&lt;/P&gt;&lt;P&gt;delivery positions:&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;material id&lt;/TD&gt;&lt;TD&gt;order date&lt;/TD&gt;&lt;TD&gt;order quanity&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;001&lt;/TD&gt;&lt;TD&gt;1.1.2019&lt;/TD&gt;&lt;TD&gt;100&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;001&lt;/TD&gt;&lt;TD&gt;5.1.2019&lt;/TD&gt;&lt;TD&gt;30&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;001&lt;/TD&gt;&lt;TD&gt;1.2.2019&lt;/TD&gt;&lt;TD&gt;50&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;002&lt;/TD&gt;&lt;TD&gt;1.1.2019&lt;/TD&gt;&lt;TD&gt;20&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;002&lt;/TD&gt;&lt;TD&gt;10.1.2019&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;100&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;material master data&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;material id&lt;/TD&gt;&lt;TD&gt;material group&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;001&lt;/TD&gt;&lt;TD&gt;A&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;002&lt;/TD&gt;&lt;TD&gt;B&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;forecast&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;material group id&lt;/TD&gt;&lt;TD&gt;forecast date (MM.YYYY)&lt;/TD&gt;&lt;TD&gt;forecast quantity&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;A&lt;/TD&gt;&lt;TD&gt;1.2019&lt;/TD&gt;&lt;TD&gt;150&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;A&lt;/TD&gt;&lt;TD&gt;2.2019&lt;/TD&gt;&lt;TD&gt;50&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;B&lt;/TD&gt;&lt;TD&gt;1.2019&lt;/TD&gt;&lt;TD&gt;130&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now I want to compare the forecast quantity with the order quantity and calculate the forecast accuracy like that for each material group&amp;nbsp; and for each month:&lt;/P&gt;&lt;P&gt;FCA (%) = (1-ABS(order quantity - forecast quantity)/order quantity)*100&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So I have the FCA for each material group and for each month and then I want to get the average value.&lt;/P&gt;&lt;P&gt;So in the end there should be an average FCA calculated in a chart function, if it is not necessary i do not want to calculate something in de load editor.&lt;/P&gt;&lt;P&gt;I hope now you can understand my problem and thank you for helping me!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Oliver&lt;/P&gt;</description>
      <pubDate>Thu, 09 Jan 2020 00:02:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Demand-per-Month/m-p/1663850#M49922</guid>
      <dc:creator>Oliver1</dc:creator>
      <dc:date>2020-01-09T00:02:37Z</dc:date>
    </item>
  </channel>
</rss>

