<?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: Nested for loop in qlik view in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Nested-for-loop-in-qlik-view/m-p/1988617#M81705</link>
    <description>&lt;P&gt;You would generally not use a loop to calculate this, but rather a Group By in script or a Dimension in a chart.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In script:&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;LOAD Id, Count(Id) as IdCount&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;from...&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Group By Id;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;In a chart:&lt;/P&gt;
&lt;P&gt;Dimension: &lt;FONT face="courier new,courier"&gt;ID&lt;/FONT&gt;&lt;BR /&gt;Measure: &lt;FONT face="courier new,courier"&gt;Count(ID)&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;-Rob&lt;BR /&gt;&lt;A href="http://www.easyqlik.com" target="_blank"&gt;http://www.easyqlik.com&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://masterssummit.com" target="_blank"&gt;http://masterssummit.com&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://qlikviewcookbook.com" target="_blank"&gt;http://qlikviewcookbook.com&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 04 Oct 2022 12:55:50 GMT</pubDate>
    <dc:creator>rwunderlich</dc:creator>
    <dc:date>2022-10-04T12:55:50Z</dc:date>
    <item>
      <title>Nested for loop in qlik view</title>
      <link>https://community.qlik.com/t5/App-Development/Nested-for-loop-in-qlik-view/m-p/1988320#M81684</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I want to ask the community for some help using qlik view with regards to nested for statements&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For example if I have a DB list I have passed into qlik view as :&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;123456,&lt;/P&gt;
&lt;P&gt;54321,&lt;/P&gt;
&lt;P&gt;123456,&lt;/P&gt;
&lt;P&gt;66789,&lt;/P&gt;
&lt;P&gt;1090,&lt;/P&gt;
&lt;P&gt;54321&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;how can I use a nested for in qlik view to look at a if at a time and get the count, there are two ids of 123456 for example&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;thanks and I look forward to your replies&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;kind regards&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Oct 2022 18:17:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Nested-for-loop-in-qlik-view/m-p/1988320#M81684</guid>
      <dc:creator>Razwan_S</dc:creator>
      <dc:date>2022-10-03T18:17:28Z</dc:date>
    </item>
    <item>
      <title>Re: Nested for loop in qlik view</title>
      <link>https://community.qlik.com/t5/App-Development/Nested-for-loop-in-qlik-view/m-p/1988617#M81705</link>
      <description>&lt;P&gt;You would generally not use a loop to calculate this, but rather a Group By in script or a Dimension in a chart.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In script:&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;LOAD Id, Count(Id) as IdCount&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;from...&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Group By Id;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;In a chart:&lt;/P&gt;
&lt;P&gt;Dimension: &lt;FONT face="courier new,courier"&gt;ID&lt;/FONT&gt;&lt;BR /&gt;Measure: &lt;FONT face="courier new,courier"&gt;Count(ID)&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;-Rob&lt;BR /&gt;&lt;A href="http://www.easyqlik.com" target="_blank"&gt;http://www.easyqlik.com&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://masterssummit.com" target="_blank"&gt;http://masterssummit.com&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://qlikviewcookbook.com" target="_blank"&gt;http://qlikviewcookbook.com&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Oct 2022 12:55:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Nested-for-loop-in-qlik-view/m-p/1988617#M81705</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2022-10-04T12:55:50Z</dc:date>
    </item>
  </channel>
</rss>

