<?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: &amp;quot;For each&amp;quot; in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/quot-For-each-quot/m-p/1687277#M450451</link>
    <description>&lt;P&gt;Yes this works well, QlikView makes the relation. But still, it doesn't give me the precision "for each order number".&lt;/P&gt;&lt;P&gt;With this relation, i can calculate : sum of all order quantity/sum of all delivered quantity.&lt;/P&gt;&lt;P&gt;But this is not what i want, because, after that, i want to obtain the proportion of "order quantity that are equal to the delivered quantity".&lt;/P&gt;&lt;P&gt;For example i thought about this :&lt;/P&gt;&lt;P&gt;"For each" [Order number], if(sum([ordered quantity])=sum([delivered quantity]),1,0) as [test]&lt;/P&gt;&lt;P&gt;count([test]=1)/count([test]=0)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This would give me the pourcentage of Order quantity that are equal to the delivered quantity, but i need to know how to write "for each".&lt;/P&gt;&lt;P&gt;I hope it's clearer this time.&lt;/P&gt;&lt;P&gt;Thank you in advance for any answer,&lt;/P&gt;&lt;P&gt;Thomas.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 24 Mar 2020 11:45:37 GMT</pubDate>
    <dc:creator>ThomasMauconduit</dc:creator>
    <dc:date>2020-03-24T11:45:37Z</dc:date>
    <item>
      <title>"For each"</title>
      <link>https://community.qlik.com/t5/QlikView/quot-For-each-quot/m-p/1687272#M450449</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I need your help because i'm facing an issue that looks easy, but i can't find the answer..&lt;/P&gt;&lt;P&gt;I have 2 Excel documents, the first one contains the Order number and the quantity ordered, and the other contains the same Order number, and the quantity delivered.&lt;/P&gt;&lt;P&gt;I want to calculate&amp;nbsp;for each order number :&amp;nbsp;sum(quantity delivered)/sum(quantity ordered).&lt;/P&gt;&lt;P&gt;My problem is that i Don't know how to make QlikView understand "For each order number".&lt;/P&gt;&lt;P&gt;I hope i'm clear enough, if that's not the case, i would precise with pleasure !&lt;/P&gt;&lt;P&gt;Thank you in advance for answering.&lt;/P&gt;&lt;P&gt;Thomas.&lt;/P&gt;</description>
      <pubDate>Tue, 24 Mar 2020 11:22:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/quot-For-each-quot/m-p/1687272#M450449</guid>
      <dc:creator>ThomasMauconduit</dc:creator>
      <dc:date>2020-03-24T11:22:18Z</dc:date>
    </item>
    <item>
      <title>Re: "For each"</title>
      <link>https://community.qlik.com/t5/QlikView/quot-For-each-quot/m-p/1687273#M450450</link>
      <description>&lt;P&gt;Qlik will automatically make a relation between two different sources if it is having similar field name,if not,you can link by using renaming fields or joining concatenation methods.&lt;/P&gt;</description>
      <pubDate>Tue, 24 Mar 2020 11:30:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/quot-For-each-quot/m-p/1687273#M450450</guid>
      <dc:creator>venkat1</dc:creator>
      <dc:date>2020-03-24T11:30:33Z</dc:date>
    </item>
    <item>
      <title>Re: "For each"</title>
      <link>https://community.qlik.com/t5/QlikView/quot-For-each-quot/m-p/1687277#M450451</link>
      <description>&lt;P&gt;Yes this works well, QlikView makes the relation. But still, it doesn't give me the precision "for each order number".&lt;/P&gt;&lt;P&gt;With this relation, i can calculate : sum of all order quantity/sum of all delivered quantity.&lt;/P&gt;&lt;P&gt;But this is not what i want, because, after that, i want to obtain the proportion of "order quantity that are equal to the delivered quantity".&lt;/P&gt;&lt;P&gt;For example i thought about this :&lt;/P&gt;&lt;P&gt;"For each" [Order number], if(sum([ordered quantity])=sum([delivered quantity]),1,0) as [test]&lt;/P&gt;&lt;P&gt;count([test]=1)/count([test]=0)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This would give me the pourcentage of Order quantity that are equal to the delivered quantity, but i need to know how to write "for each".&lt;/P&gt;&lt;P&gt;I hope it's clearer this time.&lt;/P&gt;&lt;P&gt;Thank you in advance for any answer,&lt;/P&gt;&lt;P&gt;Thomas.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Mar 2020 11:45:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/quot-For-each-quot/m-p/1687277#M450451</guid>
      <dc:creator>ThomasMauconduit</dc:creator>
      <dc:date>2020-03-24T11:45:37Z</dc:date>
    </item>
    <item>
      <title>Re: "For each"</title>
      <link>https://community.qlik.com/t5/QlikView/quot-For-each-quot/m-p/1693763#M450805</link>
      <description>&lt;P&gt;Not sure if the following Design Blog will help or not:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Qlik-Design-Blog/Accumulations/ba-p/1466581" target="_blank"&gt;https://community.qlik.com/t5/Qlik-Design-Blog/Accumulations/ba-p/1466581&lt;/A&gt;&lt;/P&gt;&lt;P&gt;If you want to search further in this area, use the following link, there are over 700 posts and most are how-to related:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Qlik-Design-Blog/bg-p/qlik-design-blog" target="_blank"&gt;https://community.qlik.com/t5/Qlik-Design-Blog/bg-p/qlik-design-blog&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Brett&lt;/P&gt;</description>
      <pubDate>Wed, 15 Apr 2020 15:50:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/quot-For-each-quot/m-p/1693763#M450805</guid>
      <dc:creator>Brett_Bleess</dc:creator>
      <dc:date>2020-04-15T15:50:03Z</dc:date>
    </item>
  </channel>
</rss>

