<?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: Help with counting formula in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Help-with-counting-formula/m-p/2549321#M110284</link>
    <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Thanks that worked and I also gave the idea how to fix my formula.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 18 May 2026 13:44:15 GMT</pubDate>
    <dc:creator>GregRyder</dc:creator>
    <dc:date>2026-05-18T13:44:15Z</dc:date>
    <item>
      <title>Help with counting formula</title>
      <link>https://community.qlik.com/t5/App-Development/Help-with-counting-formula/m-p/2549272#M110281</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I am trying to count the number of transactions where loyalty flag is 1.&lt;/P&gt;&lt;P&gt;Here is my formula so far&lt;/P&gt;&lt;P&gt;if(Loyaltyflag=1, (Count(distinct If(TCODE='IN', REFERENCE))))&lt;/P&gt;&lt;P&gt;Loyalty flag is either 1 or 0&lt;/P&gt;&lt;P&gt;TCODE stands for transaction&lt;/P&gt;&lt;P&gt;REFERENCE is the invoice number&lt;/P&gt;&lt;P&gt;it says there is no error but it is not returning a value&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Greg&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 18 May 2026 06:18:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Help-with-counting-formula/m-p/2549272#M110281</guid>
      <dc:creator>GregRyder</dc:creator>
      <dc:date>2026-05-18T06:18:32Z</dc:date>
    </item>
    <item>
      <title>Re: Help with counting formula</title>
      <link>https://community.qlik.com/t5/App-Development/Help-with-counting-formula/m-p/2549275#M110282</link>
      <description>&lt;P&gt;If its not returning value means , either it doesn't have data or the conditions are not correct, check the data once.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Better way to do is using set analysis&amp;nbsp;&lt;/P&gt;&lt;P&gt;count(&lt;SPAN&gt;distinct&amp;nbsp;&lt;/SPAN&gt; {&amp;lt;&lt;SPAN&gt;Loyaltyflag={1},&amp;nbsp;TCODE={'IN'}&lt;/SPAN&gt;&amp;gt;} &lt;SPAN&gt;REFERENCE&lt;/SPAN&gt;)&lt;/P&gt;</description>
      <pubDate>Mon, 18 May 2026 07:16:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Help-with-counting-formula/m-p/2549275#M110282</guid>
      <dc:creator>avinashelite</dc:creator>
      <dc:date>2026-05-18T07:16:43Z</dc:date>
    </item>
    <item>
      <title>Re: Help with counting formula</title>
      <link>https://community.qlik.com/t5/App-Development/Help-with-counting-formula/m-p/2549321#M110284</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Thanks that worked and I also gave the idea how to fix my formula.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 18 May 2026 13:44:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Help-with-counting-formula/m-p/2549321#M110284</guid>
      <dc:creator>GregRyder</dc:creator>
      <dc:date>2026-05-18T13:44:15Z</dc:date>
    </item>
  </channel>
</rss>

