<?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 (1- Discount)? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/1-Discount/m-p/1281296#M845837</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi There,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry for the basic question. I wonder what does 1-Discount indicate in the below calculated field. Can we write this in some other way. Please explain.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Quantity * UnitPrice * (1- Discount) as LineSalesAmount&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator>surajap123</dc:creator>
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>(1- Discount)?</title>
      <link>https://community.qlik.com/t5/QlikView/1-Discount/m-p/1281296#M845837</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi There,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry for the basic question. I wonder what does 1-Discount indicate in the below calculated field. Can we write this in some other way. Please explain.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Quantity * UnitPrice * (1- Discount) as LineSalesAmount&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!!&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/1-Discount/m-p/1281296#M845837</guid>
      <dc:creator>surajap123</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: (1- Discount)?</title>
      <link>https://community.qlik.com/t5/QlikView/1-Discount/m-p/1281297#M845838</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Suraj,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It seeme that Discount field has information about % of discount in a product. For example, 20 shirts with a price of 10 € and a discount of 10% will result: 20 * 10 * (1 - 0.2) = 180 €.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it serves...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;H&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 26 Mar 2017 14:42:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/1-Discount/m-p/1281297#M845838</guid>
      <dc:creator>hector_munoz</dc:creator>
      <dc:date>2017-03-26T14:42:31Z</dc:date>
    </item>
    <item>
      <title>Re: (1- Discount)?</title>
      <link>https://community.qlik.com/t5/QlikView/1-Discount/m-p/1281298#M845839</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for reply.&lt;/P&gt;&lt;P&gt;Sorry, still not clear about &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;(1 - 0.2)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 26 Mar 2017 14:50:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/1-Discount/m-p/1281298#M845839</guid>
      <dc:creator>surajap123</dc:creator>
      <dc:date>2017-03-26T14:50:02Z</dc:date>
    </item>
    <item>
      <title>Re: (1- Discount)?</title>
      <link>https://community.qlik.com/t5/QlikView/1-Discount/m-p/1281299#M845840</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;discount generally in 10% or 20% like that&lt;/P&gt;&lt;P&gt;i mean 0.10 and 0.20&amp;nbsp; discount&lt;/P&gt;&lt;P&gt;when you calcute (1-discount) and multiply with quantity and unit price &lt;/P&gt;&lt;P&gt;it will give total price of of quantity (whatever product it may be) after removing discount amount&lt;/P&gt;&lt;P&gt;Ex: if you have 10 pens unit price 2 rs and discount 0.10&lt;/P&gt;&lt;P&gt;then 10*2*(1-0.10)=18 rs so discount is 2 rs for all pens &lt;/P&gt;&lt;P&gt;formulae is correct i don't know what you want to change in that formulae&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 26 Mar 2017 14:54:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/1-Discount/m-p/1281299#M845840</guid>
      <dc:creator>stonecold111</dc:creator>
      <dc:date>2017-03-26T14:54:17Z</dc:date>
    </item>
    <item>
      <title>Re: (1- Discount)?</title>
      <link>https://community.qlik.com/t5/QlikView/1-Discount/m-p/1281300#M845841</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Exactly&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 26 Mar 2017 15:00:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/1-Discount/m-p/1281300#M845841</guid>
      <dc:creator>hector_munoz</dc:creator>
      <dc:date>2017-03-26T15:00:21Z</dc:date>
    </item>
    <item>
      <title>Re: (1- Discount)?</title>
      <link>https://community.qlik.com/t5/QlikView/1-Discount/m-p/1281301#M845842</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for explanation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now i understand that 0.20 is 20% discount. What does '&lt;STRONG&gt;1-'&lt;/STRONG&gt; indicate in (1-discount)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 26 Mar 2017 15:31:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/1-Discount/m-p/1281301#M845842</guid>
      <dc:creator>surajap123</dc:creator>
      <dc:date>2017-03-26T15:31:32Z</dc:date>
    </item>
    <item>
      <title>Re: (1- Discount)?</title>
      <link>https://community.qlik.com/t5/QlikView/1-Discount/m-p/1281302#M845843</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yey ... if 0.20 is 20% what 1-0.20 will become&lt;/P&gt;&lt;P&gt; will be 80%..what u do you want man. just use that formulae . it will work fine&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 26 Mar 2017 15:39:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/1-Discount/m-p/1281302#M845843</guid>
      <dc:creator>stonecold111</dc:creator>
      <dc:date>2017-03-26T15:39:51Z</dc:date>
    </item>
    <item>
      <title>Re: (1- Discount)?</title>
      <link>https://community.qlik.com/t5/QlikView/1-Discount/m-p/1281303#M845844</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, You can write like below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Load Quantity, UnitPrice, Discount, Quantity * UnitPrice * (1- Discount) as LineSalesAmount;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Load * Inline [&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;Quantity, UnitPrice, Discount&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;10, 20, 30&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;];&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;So the condition works as 10*20*(1-30) = 200 * -29 = -580&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;Finally Output seems this&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;Quantity, UnitPrice, Discount, &lt;STRONG style="font-size: 13.3333px;"&gt;LineSalesAmount&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;10, 20, 30, -580&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 26 Mar 2017 15:48:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/1-Discount/m-p/1281303#M845844</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-03-26T15:48:03Z</dc:date>
    </item>
  </channel>
</rss>

