<?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>Question Re: Count function in webi in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/count-function-in-webi/qaa-p/13800892#M4842295</link>
    <description>&lt;P&gt;Try the following as a variable and place the variable in the Count column of the table.&lt;/P&gt;&lt;P&gt;=Count([Position Number]) In ([Username])&lt;/P&gt;</description>
    <pubDate>Tue, 20 Aug 2024 13:35:34 GMT</pubDate>
    <dc:creator>MichaelGrackin</dc:creator>
    <dc:date>2024-08-20T13:35:34Z</dc:date>
    <item>
      <title>Count function in webi</title>
      <link>https://community.sap.com/t5/technology-q-a/count-function-in-webi/qaq-p/13800011</link>
      <description>&lt;P&gt;I'm having trouble with a seemingly simple formula in webi&lt;/P&gt;&lt;P&gt;I am trying to count the number of times a username appears in the list. When ther are multiple usernames in the username object, they will have a diffent position number. Below is a sample of the data:&lt;/P&gt;&lt;TABLE border="1" width="100%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="33.333333333333336%"&gt;Username&lt;/TD&gt;&lt;TD width="33.333333333333336%"&gt;Position Number&lt;/TD&gt;&lt;TD width="33.333333333333336%"&gt;Count&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="33.333333333333336%"&gt;JDOE&lt;/TD&gt;&lt;TD width="33.333333333333336%"&gt;12345&lt;/TD&gt;&lt;TD width="33.333333333333336%"&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="33.333333333333336%"&gt;JDOE&lt;/TD&gt;&lt;TD width="33.333333333333336%"&gt;54321&lt;/TD&gt;&lt;TD width="33.333333333333336%"&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;I have tried the following formulas but keep getting a result of 1 when there are more than 1&amp;nbsp;&lt;BR /&gt;=count([Username])&lt;BR /&gt;=count([Username]) foreach ([Position Number])&lt;BR /&gt;=count([Username]) forall ([Position Number])&lt;BR /&gt;I have also tried reversing Username and Position Number as well adding the sum function in front.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm hoping someone has some advice on what I am doing wrong or something else I could try.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your help!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Aug 2024 23:44:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/count-function-in-webi/qaq-p/13800011</guid>
      <dc:creator>jm12</dc:creator>
      <dc:date>2024-08-19T23:44:02Z</dc:date>
    </item>
    <item>
      <title>Re: Count function in webi</title>
      <link>https://community.sap.com/t5/technology-q-a/count-function-in-webi/qaa-p/13800892#M4842295</link>
      <description>&lt;P&gt;Try the following as a variable and place the variable in the Count column of the table.&lt;/P&gt;&lt;P&gt;=Count([Position Number]) In ([Username])&lt;/P&gt;</description>
      <pubDate>Tue, 20 Aug 2024 13:35:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/count-function-in-webi/qaa-p/13800892#M4842295</guid>
      <dc:creator>MichaelGrackin</dc:creator>
      <dc:date>2024-08-20T13:35:34Z</dc:date>
    </item>
    <item>
      <title>Re: Count function in webi</title>
      <link>https://community.sap.com/t5/technology-q-a/count-function-in-webi/qaa-p/13801133#M4842328</link>
      <description>&lt;P&gt;Check the documentation on the &lt;A href="https://help.sap.com/docs/SAP_BUSINESSOBJECTS_WEB_INTELLIGENCE/4ef7aa2cbf3d432a80d8b85a9c2c7e20/47197c446e041014910aba7db0e91070.html" target="_self"&gt;Count()&lt;/A&gt; function.&lt;/P&gt;&lt;P&gt;Have you tried using &lt;STRONG&gt;All&lt;/STRONG&gt;?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="nscheaffer_0-1724168767923.png"&gt;&lt;img src="https://community.sap.com/t5/image/serverpage/image-id/154880iD2F912F43FA225C2/image-size/medium?v=v2&amp;amp;px=400" alt="nscheaffer_0-1724168767923.png" title="nscheaffer_0-1724168767923.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Noel&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Aug 2024 15:46:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/count-function-in-webi/qaa-p/13801133#M4842328</guid>
      <dc:creator>nscheaffer</dc:creator>
      <dc:date>2024-08-20T15:46:21Z</dc:date>
    </item>
    <item>
      <title>Re: Count function in webi</title>
      <link>https://community.sap.com/t5/technology-q-a/count-function-in-webi/qaa-p/13801409#M4842365</link>
      <description>Thank you Michael. This has solved my problem.</description>
      <pubDate>Tue, 20 Aug 2024 22:36:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/count-function-in-webi/qaa-p/13801409#M4842365</guid>
      <dc:creator>jm12</dc:creator>
      <dc:date>2024-08-20T22:36:42Z</dc:date>
    </item>
  </channel>
</rss>

