<?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: Complex Count Formula Help Needed in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Complex-Count-Formula-Help-Needed/m-p/1832505#M1214686</link>
    <description>&lt;P&gt;I think that got it! I really really appreciate the assistance on it!&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 31 Aug 2021 12:44:28 GMT</pubDate>
    <dc:creator>JustinRamsey</dc:creator>
    <dc:date>2021-08-31T12:44:28Z</dc:date>
    <item>
      <title>Complex Count Formula Help Needed</title>
      <link>https://community.qlik.com/t5/QlikView/Complex-Count-Formula-Help-Needed/m-p/1832495#M1214681</link>
      <description>&lt;P&gt;Good Day,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am needing assistance with a rather tricky formula. I have a formula that counts the number of order lines (%Key_POSNR) that have parts with out safety stock allocated to them and have an associated missing parts flag (RESB.XFEHL=X). That formula is below and working&amp;nbsp;&lt;/P&gt;&lt;P&gt;Count({&amp;lt;Safety_Stock={'No Safety Stock'}, RESB.XFEHL={X}&amp;gt;} distinct(%KEY_POSNR))&lt;/P&gt;&lt;P&gt;What I am needing now is the order lines impacted by this since we usually only ship complete orders. So I need a formula that will count the total order lines on any order that contains an order line with the above criteria. For example order 1456 has 5 lines but only one of them has a missing non stock part, we would want this formula to return 5 so we can capture the total number of lines affected by the missing part. Any help would be appreciated! Fields for reference&lt;/P&gt;&lt;P&gt;VBAK.VBELN= Order Number&lt;/P&gt;&lt;P&gt;%KEY_POSNR=Order Line&lt;/P&gt;&lt;P&gt;Safety_Stock=Stock Indicator&lt;/P&gt;&lt;P&gt;RESB.XFEHL= Missing Parts Flag&lt;/P&gt;</description>
      <pubDate>Tue, 31 Aug 2021 12:24:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Complex-Count-Formula-Help-Needed/m-p/1832495#M1214681</guid>
      <dc:creator>JustinRamsey</dc:creator>
      <dc:date>2021-08-31T12:24:16Z</dc:date>
    </item>
    <item>
      <title>Re: Complex Count Formula Help Needed</title>
      <link>https://community.qlik.com/t5/QlikView/Complex-Count-Formula-Help-Needed/m-p/1832499#M1214682</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Count({&amp;lt;VBAK.VBELN={"=Count({&amp;lt;Safety_Stock={'No Safety Stock'}, RESB.XFEHL={X}&amp;gt;} %KEY_POSNR)&amp;gt;0"}&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;%KEY_POSNR)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I think you're looking for something like above.&amp;nbsp; I am counting all Order Lines but limited to Order Numbers that have at least 1 line that meet that criteria.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 31 Aug 2021 12:35:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Complex-Count-Formula-Help-Needed/m-p/1832499#M1214682</guid>
      <dc:creator>stevejoyce</dc:creator>
      <dc:date>2021-08-31T12:35:32Z</dc:date>
    </item>
    <item>
      <title>Re: Complex Count Formula Help Needed</title>
      <link>https://community.qlik.com/t5/QlikView/Complex-Count-Formula-Help-Needed/m-p/1832503#M1214684</link>
      <description>&lt;P&gt;I am getting an error in set modifier expression from that formula Stevejoyce&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 31 Aug 2021 12:41:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Complex-Count-Formula-Help-Needed/m-p/1832503#M1214684</guid>
      <dc:creator>JustinRamsey</dc:creator>
      <dc:date>2021-08-31T12:41:13Z</dc:date>
    </item>
    <item>
      <title>Re: Complex Count Formula Help Needed</title>
      <link>https://community.qlik.com/t5/QlikView/Complex-Count-Formula-Help-Needed/m-p/1832504#M1214685</link>
      <description>&lt;P&gt;I think a typo on my part, try this...&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Count({&amp;lt;VBAK.VBELN={"=Count({&amp;lt;Safety_Stock={'No Safety Stock'}, RESB.XFEHL={X}&amp;gt;} %KEY_POSNR)&amp;gt;0"} &amp;gt;}&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;%KEY_POSNR)&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 31 Aug 2021 12:42:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Complex-Count-Formula-Help-Needed/m-p/1832504#M1214685</guid>
      <dc:creator>stevejoyce</dc:creator>
      <dc:date>2021-08-31T12:42:18Z</dc:date>
    </item>
    <item>
      <title>Re: Complex Count Formula Help Needed</title>
      <link>https://community.qlik.com/t5/QlikView/Complex-Count-Formula-Help-Needed/m-p/1832505#M1214686</link>
      <description>&lt;P&gt;I think that got it! I really really appreciate the assistance on it!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 31 Aug 2021 12:44:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Complex-Count-Formula-Help-Needed/m-p/1832505#M1214686</guid>
      <dc:creator>JustinRamsey</dc:creator>
      <dc:date>2021-08-31T12:44:28Z</dc:date>
    </item>
  </channel>
</rss>

