<?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: calculated measure in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/calculated-measure/m-p/1644913#M48100</link>
    <description>&lt;P&gt;correction total for sum(NetAmt) should be 220+145=365&lt;/P&gt;</description>
    <pubDate>Fri, 08 Nov 2019 17:22:20 GMT</pubDate>
    <dc:creator>johndoub</dc:creator>
    <dc:date>2019-11-08T17:22:20Z</dc:date>
    <item>
      <title>calculated measure</title>
      <link>https://community.qlik.com/t5/App-Development/calculated-measure/m-p/1644476#M48068</link>
      <description>&lt;P&gt;my data record has the following fields:&lt;/P&gt;&lt;P&gt;Date, TranId, Item, DiscountType, NetAmt&amp;nbsp;&lt;/P&gt;&lt;P&gt;10/1/19, 12345, dress, 20%promo,100.00&lt;/P&gt;&lt;P&gt;10/1/19, 12345, sweater, -(no discount), 75.00&lt;/P&gt;&lt;P&gt;10/1/19, 12345, top, -(no discount), 50.00&lt;/P&gt;&lt;P&gt;i would like to show the total Sum(NetAmt) of the transaction if one of the items has a specific DiscountType.&lt;/P&gt;&lt;P&gt;in the above example, this would be 225.00 for the 20%promo discount type.&lt;/P&gt;&lt;P&gt;how should i write the expression for a measure that would show this?&lt;/P&gt;&lt;P&gt;thanks.&lt;/P&gt;&lt;P&gt;john doub&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Nov 2019 20:15:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/calculated-measure/m-p/1644476#M48068</guid>
      <dc:creator>johndoub</dc:creator>
      <dc:date>2019-11-07T20:15:05Z</dc:date>
    </item>
    <item>
      <title>Re: calculated measure</title>
      <link>https://community.qlik.com/t5/App-Development/calculated-measure/m-p/1644522#M48071</link>
      <description>&lt;P&gt;See solution attached&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="calcmeas.PNG" style="width: 954px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/23162i1074C0CF4DC17275/image-size/large?v=v2&amp;amp;px=999" role="button" title="calcmeas.PNG" alt="calcmeas.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Nov 2019 22:21:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/calculated-measure/m-p/1644522#M48071</guid>
      <dc:creator>Lisa_P</dc:creator>
      <dc:date>2019-11-07T22:21:22Z</dc:date>
    </item>
    <item>
      <title>Re: calculated measure</title>
      <link>https://community.qlik.com/t5/App-Development/calculated-measure/m-p/1644867#M48096</link>
      <description>&lt;P&gt;thanks for your help on this.&lt;/P&gt;&lt;P&gt;i should have been clearer with my question.&lt;/P&gt;&lt;P&gt;as an example,my data record has the following fields for 3 transactions&lt;/P&gt;&lt;P&gt;Date, TranId, Item, DiscountType, NetAmt&amp;nbsp;&lt;/P&gt;&lt;P&gt;10/1/19, 12345, dress, 20%promo,100.00&lt;/P&gt;&lt;P&gt;10/1/19, 12345, sweater, -(no discount), 75.00&lt;/P&gt;&lt;P&gt;10/1/19, 12345, top, -(no discount), 50.00&lt;/P&gt;&lt;P&gt;(total for tran 12345 =225)&lt;/P&gt;&lt;P&gt;10/1/19, 12346, sweater, Fallpromo, 80.00&lt;/P&gt;&lt;P&gt;(total for tran 12346 =80)&lt;/P&gt;&lt;P&gt;10/1/19, 12347, sweater, -(no discount), 60.00&lt;/P&gt;&lt;P&gt;10/1/19, 12347, dress, 20%promo, 80.00&lt;/P&gt;&lt;P&gt;(total for tran 12347 = 140)&lt;/P&gt;&lt;P&gt;i would like to show the total Sum(NetAmt) for the transactions where the 20%promo discount type was used.&lt;/P&gt;&lt;P&gt;in the above example, transactions 12345 and 12347 would qualify since one of the items in each of these transactions used the 20%promo discount type.&lt;/P&gt;&lt;P&gt;therefore, the sum(NetAmt) would be 225 +140 = 265&lt;/P&gt;&lt;P&gt;how should i write the expression for a measure that would show this?&lt;/P&gt;&lt;P&gt;thanks.&lt;/P&gt;&lt;P&gt;john doub&lt;/P&gt;</description>
      <pubDate>Fri, 08 Nov 2019 15:18:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/calculated-measure/m-p/1644867#M48096</guid>
      <dc:creator>johndoub</dc:creator>
      <dc:date>2019-11-08T15:18:15Z</dc:date>
    </item>
    <item>
      <title>Re: calculated measure</title>
      <link>https://community.qlik.com/t5/App-Development/calculated-measure/m-p/1644913#M48100</link>
      <description>&lt;P&gt;correction total for sum(NetAmt) should be 220+145=365&lt;/P&gt;</description>
      <pubDate>Fri, 08 Nov 2019 17:22:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/calculated-measure/m-p/1644913#M48100</guid>
      <dc:creator>johndoub</dc:creator>
      <dc:date>2019-11-08T17:22:20Z</dc:date>
    </item>
  </channel>
</rss>

