<?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: I need a formula to count in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/I-need-a-formula-to-count/m-p/2545194#M109825</link>
    <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I have finally worked out the formula.&lt;/P&gt;&lt;P&gt;Sum( Aggr(If(Only([Store Retail])=Mode(total&amp;lt;BARCODE,[Supplier Name]&amp;gt; [Store Retail]),1,0),[MEMBER CODE],BARCODE,[Supplier Name]))&lt;/P&gt;&lt;P&gt;Thanks for the ideas&lt;/P&gt;</description>
    <pubDate>Fri, 20 Mar 2026 06:35:34 GMT</pubDate>
    <dc:creator>GregRyder</dc:creator>
    <dc:date>2026-03-20T06:35:34Z</dc:date>
    <item>
      <title>I need a formula to count</title>
      <link>https://community.qlik.com/t5/App-Development/I-need-a-formula-to-count/m-p/2545039#M109795</link>
      <description>&lt;P&gt;I have the below formula the searches through my data to find the most common retail selling price&lt;/P&gt;&lt;P&gt;Mode( {&amp;lt;[MEMBER CODE]=&amp;gt;} [Store Retail])&lt;/P&gt;&lt;P&gt;I now need a formula to tell me how many stores have that common retail price&lt;/P&gt;</description>
      <pubDate>Wed, 18 Mar 2026 08:26:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/I-need-a-formula-to-count/m-p/2545039#M109795</guid>
      <dc:creator>GregRyder</dc:creator>
      <dc:date>2026-03-18T08:26:34Z</dc:date>
    </item>
    <item>
      <title>Re: I need a formula to count</title>
      <link>https://community.qlik.com/t5/App-Development/I-need-a-formula-to-count/m-p/2545044#M109798</link>
      <description>&lt;DIV class=""&gt;Probably easiest and cleanest to achieve this with dollar-sign expansion in another set analysis:&lt;BR /&gt;Count(DISTINCT {&amp;lt; [Store Retail] = {"=$(=Mode({&amp;lt;[MEMBER CODE]=&amp;gt;} [Store Retail]))"} &amp;gt;} Store)&lt;BR /&gt;I can't test this without the data, but I think that's the right syntax here.&lt;/DIV&gt;</description>
      <pubDate>Wed, 18 Mar 2026 10:07:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/I-need-a-formula-to-count/m-p/2545044#M109798</guid>
      <dc:creator>Or</dc:creator>
      <dc:date>2026-03-18T10:07:08Z</dc:date>
    </item>
    <item>
      <title>Re: I need a formula to count</title>
      <link>https://community.qlik.com/t5/App-Development/I-need-a-formula-to-count/m-p/2545048#M109801</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;This is the error I get is&lt;/P&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Qlik Error.jpg" style="width: 388px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/187350i0565E5841A585545/image-size/large?v=v2&amp;amp;px=999" role="button" title="Qlik Error.jpg" alt="Qlik Error.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Mar 2026 10:20:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/I-need-a-formula-to-count/m-p/2545048#M109801</guid>
      <dc:creator>GregRyder</dc:creator>
      <dc:date>2026-03-18T10:20:30Z</dc:date>
    </item>
    <item>
      <title>Re: I need a formula to count</title>
      <link>https://community.qlik.com/t5/App-Development/I-need-a-formula-to-count/m-p/2545050#M109803</link>
      <description>&lt;P&gt;Is your field name "Store"?&lt;/P&gt;</description>
      <pubDate>Wed, 18 Mar 2026 10:27:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/I-need-a-formula-to-count/m-p/2545050#M109803</guid>
      <dc:creator>Or</dc:creator>
      <dc:date>2026-03-18T10:27:27Z</dc:date>
    </item>
    <item>
      <title>Re: I need a formula to count</title>
      <link>https://community.qlik.com/t5/App-Development/I-need-a-formula-to-count/m-p/2545053#M109805</link>
      <description>&lt;P&gt;The field I am comparing is&amp;nbsp;([Store Retail]) and it is reading from all the individual store files.&lt;/P&gt;&lt;P&gt;Below is the load for the store data&lt;/P&gt;&lt;P&gt;MICA_SOH_DATA:&lt;BR /&gt;LOAD&lt;BR /&gt;Model as ID,&lt;BR /&gt;CODE as CODE,&lt;BR /&gt;TRIM(Text(BARCODE)) as [BARCODE],&lt;BR /&gt;ONHAND as [QTY ON HAND],&lt;BR /&gt;SELLPINC1 as [Store Retail],&lt;BR /&gt;GP_1 as [Store GP],&lt;BR /&gt;AVRGCOST as [Store Cost],&lt;BR /&gt;'$(vStoreCode)' as [MEMBER CODE]&lt;BR /&gt;FROM [lib://Data:Amazon_S3_V2_member-dashboard-qlik-export/$(vStoreCode)/001/Stock.csv]&lt;BR /&gt;(txt, codepage is 28591, embedded labels, delimiter is ';', msq)&lt;BR /&gt;Where Exists(BARCODE,TRIM(Text(BARCODE)))&lt;/P&gt;</description>
      <pubDate>Wed, 18 Mar 2026 10:36:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/I-need-a-formula-to-count/m-p/2545053#M109805</guid>
      <dc:creator>GregRyder</dc:creator>
      <dc:date>2026-03-18T10:36:37Z</dc:date>
    </item>
    <item>
      <title>Re: I need a formula to count</title>
      <link>https://community.qlik.com/t5/App-Development/I-need-a-formula-to-count/m-p/2545054#M109806</link>
      <description>&lt;P&gt;This doesn't tell which field is the store ID, but I guess [MEMBER CODE] is the most likely suspect here, so:&lt;/P&gt;&lt;P&gt;Count(DISTINCT {&amp;lt; [Store Retail] = {"=$(=Mode({&amp;lt;[MEMBER CODE]=&amp;gt;} [Store Retail]))"} &amp;gt;} [MEMBER CODE])&lt;/P&gt;</description>
      <pubDate>Wed, 18 Mar 2026 10:43:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/I-need-a-formula-to-count/m-p/2545054#M109806</guid>
      <dc:creator>Or</dc:creator>
      <dc:date>2026-03-18T10:43:49Z</dc:date>
    </item>
    <item>
      <title>Re: I need a formula to count</title>
      <link>https://community.qlik.com/t5/App-Development/I-need-a-formula-to-count/m-p/2545060#M109811</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Yes, the field we need to count is [MEMBER CODE]. the new formula is now not giving errors, but it is counting all the stores that have a price for the product and not the just the stores with the Comon price.&amp;nbsp;&lt;/P&gt;&lt;P&gt;As per this formula&amp;nbsp;&lt;SPAN&gt;Mode( {&amp;lt;[MEMBER CODE]=&amp;gt;} [Store Retail])&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Mar 2026 11:03:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/I-need-a-formula-to-count/m-p/2545060#M109811</guid>
      <dc:creator>GregRyder</dc:creator>
      <dc:date>2026-03-18T11:03:26Z</dc:date>
    </item>
    <item>
      <title>Re: I need a formula to count</title>
      <link>https://community.qlik.com/t5/App-Development/I-need-a-formula-to-count/m-p/2545065#M109812</link>
      <description>&lt;P&gt;As per the screen shot below 29 stores support this product and the most common price is 36.99. and what i am trying to conclude is how many stores have that price&lt;/P&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Qlik Example.jpg" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/187354i3B3DC7C4E71362CE/image-size/large?v=v2&amp;amp;px=999" role="button" title="Qlik Example.jpg" alt="Qlik Example.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Mar 2026 11:27:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/I-need-a-formula-to-count/m-p/2545065#M109812</guid>
      <dc:creator>GregRyder</dc:creator>
      <dc:date>2026-03-18T11:27:28Z</dc:date>
    </item>
    <item>
      <title>Re: I need a formula to count</title>
      <link>https://community.qlik.com/t5/App-Development/I-need-a-formula-to-count/m-p/2545194#M109825</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I have finally worked out the formula.&lt;/P&gt;&lt;P&gt;Sum( Aggr(If(Only([Store Retail])=Mode(total&amp;lt;BARCODE,[Supplier Name]&amp;gt; [Store Retail]),1,0),[MEMBER CODE],BARCODE,[Supplier Name]))&lt;/P&gt;&lt;P&gt;Thanks for the ideas&lt;/P&gt;</description>
      <pubDate>Fri, 20 Mar 2026 06:35:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/I-need-a-formula-to-count/m-p/2545194#M109825</guid>
      <dc:creator>GregRyder</dc:creator>
      <dc:date>2026-03-20T06:35:34Z</dc:date>
    </item>
  </channel>
</rss>

