<?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 Count orders only with discount in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Count-orders-only-with-discount/m-p/26942#M782235</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I want to Count orders with discount only. &lt;/P&gt;&lt;P&gt;I have field names [Order number] ,[Sales amount] and [Discount amount]. &lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator>madhuqliklondon</dc:creator>
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>Count orders only with discount</title>
      <link>https://community.qlik.com/t5/QlikView/Count-orders-only-with-discount/m-p/26942#M782235</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I want to Count orders with discount only. &lt;/P&gt;&lt;P&gt;I have field names [Order number] ,[Sales amount] and [Discount amount]. &lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-orders-only-with-discount/m-p/26942#M782235</guid>
      <dc:creator>madhuqliklondon</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Count orders only with discount</title>
      <link>https://community.qlik.com/t5/QlikView/Count-orders-only-with-discount/m-p/26943#M782236</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi you can do it like this &lt;/P&gt;&lt;P&gt;count({&amp;lt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;[Discount amount]={"&amp;gt;0"}&lt;/SPAN&gt;&amp;gt;}distinct &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt; [Order number])&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Mar 2018 13:35:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-orders-only-with-discount/m-p/26943#M782236</guid>
      <dc:creator>lironbaram</dc:creator>
      <dc:date>2018-03-14T13:35:32Z</dc:date>
    </item>
    <item>
      <title>Re: Count orders only with discount</title>
      <link>https://community.qlik.com/t5/QlikView/Count-orders-only-with-discount/m-p/26944#M782237</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;I am counting orders with count(DISTINCT [Order number]) and orders with discount&amp;nbsp; with &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;count({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;[Discount amount]={"&amp;gt;0"}&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&amp;gt;}distinct &lt;/SPAN&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;[Order number])&amp;nbsp; , for some reason I have same count of number of orders in both .&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Mar 2018 13:50:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-orders-only-with-discount/m-p/26944#M782237</guid>
      <dc:creator>madhuqliklondon</dc:creator>
      <dc:date>2018-03-14T13:50:06Z</dc:date>
    </item>
    <item>
      <title>Re: Count orders only with discount</title>
      <link>https://community.qlik.com/t5/QlikView/Count-orders-only-with-discount/m-p/26945#M782238</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: 'trebuchet ms', geneva; color: #000000;"&gt;Hi,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'trebuchet ms', geneva; color: #000000;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'trebuchet ms', geneva; color: #000000;"&gt;Use the below code.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'trebuchet ms', geneva; color: #000000;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'trebuchet ms', geneva; color: #000000;"&gt;Count(Distinct If([Discount Amount] &amp;gt; 0 , [Order Number]))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'trebuchet ms', geneva; color: #000000;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'trebuchet ms', geneva; color: #000000;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'trebuchet ms', geneva; color: #000000;"&gt;&lt;STRONG&gt;Thanks,&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'trebuchet ms', geneva; color: #000000;"&gt;&lt;STRONG&gt;Venkata Sreekanth&lt;/STRONG&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Mar 2018 13:57:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-orders-only-with-discount/m-p/26945#M782238</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-03-14T13:57:13Z</dc:date>
    </item>
    <item>
      <title>Re: Count orders only with discount</title>
      <link>https://community.qlik.com/t5/QlikView/Count-orders-only-with-discount/m-p/26946#M782239</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Sreekanth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Mar 2018 15:43:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-orders-only-with-discount/m-p/26946#M782239</guid>
      <dc:creator>madhuqliklondon</dc:creator>
      <dc:date>2018-03-14T15:43:33Z</dc:date>
    </item>
  </channel>
</rss>

