<?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 Loop and reduce function in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Loop-and-reduce-function/m-p/174558#M1329519</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't know of any way to set patterns on only some bars or to adjust the bars width. Maybe you can play with the new Gandtt chart available in v10, it might work better for you. Meanwhile, I'm attaching the solution that I mentioned before that I made from some fake data--I think it's a very decent view and you can easily tell from the legend what the red bars represent.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 15 Feb 2011 17:47:31 GMT</pubDate>
    <dc:creator>vgutkovsky</dc:creator>
    <dc:date>2011-02-15T17:47:31Z</dc:date>
    <item>
      <title>Loop and reduce function</title>
      <link>https://community.qlik.com/t5/QlikView/Loop-and-reduce-function/m-p/174555#M1329511</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;Hello,&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;I have a question regarding the loop and reduce function. I use it in several application and it works fine. But now I have the following situation:&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;I have two tables:&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;Orders:&lt;/P&gt;&lt;P class="MsoListParagraph" style="text-indent: -18pt; margin: 0cm 0cm 0pt 36pt; mso-list: l0 level1 lfo1;"&gt;- Company&lt;/P&gt;&lt;P class="MsoListParagraph" style="text-indent: -18pt; margin: 0cm 0cm 0pt 36pt; mso-list: l0 level1 lfo1;"&gt;- Order&lt;/P&gt;&lt;P class="MsoListParagraph" style="text-indent: -18pt; margin: 0cm 0cm 0pt 36pt; mso-list: l0 level1 lfo1;"&gt;- Date&lt;/P&gt;&lt;P class="MsoListParagraph" style="text-indent: -18pt; margin: 0cm 0cm 0pt 36pt; mso-list: l0 level1 lfo1;"&gt;- Item&lt;/P&gt;&lt;P class="MsoListParagraph" style="text-indent: -18pt; margin: 0cm 0cm 0pt 36pt; mso-list: l0 level1 lfo1;"&gt;- Quantity&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;Forecast&lt;/P&gt;&lt;P class="MsoListParagraph" style="text-indent: -18pt; margin: 0cm 0cm 0pt 36pt; mso-list: l0 level1 lfo1;"&gt;- Item&lt;/P&gt;&lt;P class="MsoListParagraph" style="text-indent: -18pt; margin: 0cm 0cm 0pt 36pt; mso-list: l0 level1 lfo1;"&gt;- Date&lt;/P&gt;&lt;P class="MsoListParagraph" style="text-indent: -18pt; margin: 0cm 0cm 0pt 36pt; mso-list: l0 level1 lfo1;"&gt;- Quantity&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;They are linked through the item and the date. That makes it possible to compare the sold quantity with the origin forecast.&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;When I loop and reduce the application per company, I only received the forecast of the dates which exists in the orders table as well. I lose the forecast values in the future.&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;Is it possible to exclude the forecast table in the script for the reduce function? Like I could exclude the filter with fix set analysis in diagrams!?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jan 2026 18:19:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loop-and-reduce-function/m-p/174555#M1329511</guid>
      <dc:creator />
      <dc:date>2026-01-26T18:19:17Z</dc:date>
    </item>
    <item>
      <title>Loop and reduce function</title>
      <link>https://community.qlik.com/t5/QlikView/Loop-and-reduce-function/m-p/174556#M1329514</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well it seems to me that's what will always happen if you link on Date. Rather, if your second table is for forecasting, you should only be linking on Item. Rename Date from Forecast to [Forecast Date] or something. It's not possible to exclude a table from a loop-and-reduce; even if it were possible though, it would not be a very elegant solution. You would typically want to avoid synthetic key situations like the one you're introducing here. Once the data model is revised a little your problems should go away.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Feb 2011 18:49:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loop-and-reduce-function/m-p/174556#M1329514</guid>
      <dc:creator>vgutkovsky</dc:creator>
      <dc:date>2011-02-04T18:49:33Z</dc:date>
    </item>
    <item>
      <title>Loop and reduce function</title>
      <link>https://community.qlik.com/t5/QlikView/Loop-and-reduce-function/m-p/174557#M1329517</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;thanks for your response. I think you are right with the recommendation. Of course my data model is not that easy as described in the example, but I will try to merge the "two" tables and ignore the date.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Bernd&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Feb 2011 16:51:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loop-and-reduce-function/m-p/174557#M1329517</guid>
      <dc:creator />
      <dc:date>2011-02-15T16:51:16Z</dc:date>
    </item>
    <item>
      <title>Loop and reduce function</title>
      <link>https://community.qlik.com/t5/QlikView/Loop-and-reduce-function/m-p/174558#M1329519</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't know of any way to set patterns on only some bars or to adjust the bars width. Maybe you can play with the new Gandtt chart available in v10, it might work better for you. Meanwhile, I'm attaching the solution that I mentioned before that I made from some fake data--I think it's a very decent view and you can easily tell from the legend what the red bars represent.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Feb 2011 17:47:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loop-and-reduce-function/m-p/174558#M1329519</guid>
      <dc:creator>vgutkovsky</dc:creator>
      <dc:date>2011-02-15T17:47:31Z</dc:date>
    </item>
  </channel>
</rss>

