<?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: Adding calculated measure in Connectivity &amp; Data Prep</title>
    <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Adding-calculated-measure/m-p/1863796#M9897</link>
    <description>&lt;P&gt;You could either join these two tables into a single table by using JOIN / LEFT JOIN / CONCATENATE and then perform the calculation on the ensuing table, or you could create a mapping load to fetch the price into the SO Table and perform the calculation there, or you could just perform the calculation on the front end in a master measure or chart measure.&lt;/P&gt;</description>
    <pubDate>Thu, 25 Nov 2021 22:42:17 GMT</pubDate>
    <dc:creator>Or</dc:creator>
    <dc:date>2021-11-25T22:42:17Z</dc:date>
    <item>
      <title>Adding calculated measure</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Adding-calculated-measure/m-p/1863765#M9896</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have 2 tables:&lt;/P&gt;
&lt;P&gt;In the first one (SO Table) I have sales in units [# Sales Out Quantity]. The second table (Pricelist) is the price list in which I have recommended prices for each product ID [SRP]. Of course there is an&amp;nbsp;association between both tables by %productID.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How to add a measure that shows sales in value terms and calculate productID.[# Sales Out Quantity] *&amp;nbsp;productID[SRP] ?&lt;/P&gt;
&lt;P&gt;Thanks in advance for any help.&lt;/P&gt;
&lt;P&gt;J.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 25 Nov 2021 18:52:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Adding-calculated-measure/m-p/1863765#M9896</guid>
      <dc:creator>jacek27031</dc:creator>
      <dc:date>2021-11-25T18:52:19Z</dc:date>
    </item>
    <item>
      <title>Re: Adding calculated measure</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Adding-calculated-measure/m-p/1863796#M9897</link>
      <description>&lt;P&gt;You could either join these two tables into a single table by using JOIN / LEFT JOIN / CONCATENATE and then perform the calculation on the ensuing table, or you could create a mapping load to fetch the price into the SO Table and perform the calculation there, or you could just perform the calculation on the front end in a master measure or chart measure.&lt;/P&gt;</description>
      <pubDate>Thu, 25 Nov 2021 22:42:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Adding-calculated-measure/m-p/1863796#M9897</guid>
      <dc:creator>Or</dc:creator>
      <dc:date>2021-11-25T22:42:17Z</dc:date>
    </item>
    <item>
      <title>Re: Adding calculated measure</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Adding-calculated-measure/m-p/1863900#M9898</link>
      <description>&lt;P&gt;Sth like this?&lt;/P&gt;
&lt;P&gt;m: mapping LOAD "%Product ID", SRP&lt;BR /&gt;FROM [lib://PL_CONS_TRACKER (len_jwoz)/Pricelist.qvd];&lt;/P&gt;
&lt;P&gt;ORDERPOSITION:&lt;BR /&gt;LOAD&lt;BR /&gt;"%Product ID",&lt;BR /&gt;"Product ID",&lt;BR /&gt;%Date,&lt;BR /&gt;"%Customer ID",&lt;BR /&gt;"Customer ID",&lt;BR /&gt;"# Sales Out Quantity",&lt;BR /&gt;(SRP)*ApplyMap('m', "# Sales Out Quantity", 0) as revenue&lt;BR /&gt;FROM [lib://bms3_emea_root_folder/qvd_facts/f_WESI_SO.qvd](qvd)&lt;/P&gt;</description>
      <pubDate>Fri, 26 Nov 2021 09:40:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Adding-calculated-measure/m-p/1863900#M9898</guid>
      <dc:creator>jacek27031</dc:creator>
      <dc:date>2021-11-26T09:40:38Z</dc:date>
    </item>
    <item>
      <title>Re: Adding calculated measure</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Adding-calculated-measure/m-p/1863988#M9901</link>
      <description>&lt;P&gt;I think you're using ApplyMap on the wrong side here... should be something like:&lt;/P&gt;
&lt;P&gt;"# Sales Out Quantity"*ApplyMap('m', "%Product ID", 0) as revenue&lt;/P&gt;</description>
      <pubDate>Fri, 26 Nov 2021 14:45:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Adding-calculated-measure/m-p/1863988#M9901</guid>
      <dc:creator>Or</dc:creator>
      <dc:date>2021-11-26T14:45:44Z</dc:date>
    </item>
  </channel>
</rss>

