<?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: Deriving a dimension value. in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Deriving-a-dimension-value/m-p/1812795#M66341</link>
    <description>&lt;P&gt;In chart an expression like:&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;if(count(TOTAL&amp;lt;SalesOrderID&amp;gt; DISTINCT Currency) &amp;gt; 1, 'MultiCurrency', '')&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;In the script:&lt;/P&gt;&lt;P class="p1"&gt;&lt;FONT face="courier new,courier"&gt;Left Join(Sales)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN class="s1"&gt;LOAD&lt;/SPAN&gt; &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp; SalesOrderID,&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN class="s1"&gt;&amp;nbsp; if&lt;/SPAN&gt;(&lt;SPAN class="s1"&gt;Count&lt;/SPAN&gt;(&lt;SPAN class="s1"&gt;DISTINCT&lt;/SPAN&gt; &lt;SPAN class="s2"&gt;Currency&lt;/SPAN&gt;) &amp;gt; 1, 'MultiCurrency', '') &lt;SPAN class="s1"&gt;as&lt;/SPAN&gt; &lt;SPAN class="s2"&gt;Derived_Field&lt;/SPAN&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN class="s1"&gt;Resident&lt;/SPAN&gt; Sales&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN class="s1"&gt;Group&lt;/SPAN&gt; &lt;SPAN class="s1"&gt;By&lt;/SPAN&gt; SalesOrderID;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="Apple-converted-space"&gt;-Rob&lt;BR /&gt;&lt;A href="http://masterssummit.com" target="_blank"&gt;http://masterssummit.com&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://qlikviewcookbook.com" target="_blank"&gt;http://qlikviewcookbook.com&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://www.easyqlik.com" target="_blank"&gt;http://www.easyqlik.com&lt;/A&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 03 Jun 2021 16:40:14 GMT</pubDate>
    <dc:creator>rwunderlich</dc:creator>
    <dc:date>2021-06-03T16:40:14Z</dc:date>
    <item>
      <title>Deriving a dimension value.</title>
      <link>https://community.qlik.com/t5/App-Development/Deriving-a-dimension-value/m-p/1812786#M66339</link>
      <description>&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;I&amp;nbsp; am trying to create derived field for the below scenario, Can anyone help me on this,&amp;nbsp;&lt;/P&gt;&lt;P&gt;DataSet 1.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Correct_Answer_0-1622734975843.png" style="width: 561px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/56279iD9B91CD0FADAC008/image-dimensions/561x134?v=v2" width="561" height="134" role="button" title="Correct_Answer_0-1622734975843.png" alt="Correct_Answer_0-1622734975843.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Here, from this table I just want to check and identify SalesOrderId's, which are&amp;nbsp; having multiple currency types , and need to create a derived column with values as "multi currency" where ever it is applicable and display the same currency type if it is a single currency,&lt;/P&gt;&lt;P&gt;The output would be,&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;SalesOrderID&lt;/TD&gt;&lt;TD&gt;Derived_field&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;45283&lt;/TD&gt;&lt;TD&gt;MultiCurrency&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;45283&lt;/TD&gt;&lt;TD&gt;MultiCurrency&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;46976&lt;/TD&gt;&lt;TD&gt;MultiCurrency&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;46976&lt;/TD&gt;&lt;TD&gt;MultiCurrency&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks In advance&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Nov 2021 18:17:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Deriving-a-dimension-value/m-p/1812786#M66339</guid>
      <dc:creator>Correct_Answer</dc:creator>
      <dc:date>2021-11-30T18:17:33Z</dc:date>
    </item>
    <item>
      <title>Re: Deriving a dimension value.</title>
      <link>https://community.qlik.com/t5/App-Development/Deriving-a-dimension-value/m-p/1812795#M66341</link>
      <description>&lt;P&gt;In chart an expression like:&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;if(count(TOTAL&amp;lt;SalesOrderID&amp;gt; DISTINCT Currency) &amp;gt; 1, 'MultiCurrency', '')&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;In the script:&lt;/P&gt;&lt;P class="p1"&gt;&lt;FONT face="courier new,courier"&gt;Left Join(Sales)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN class="s1"&gt;LOAD&lt;/SPAN&gt; &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp; SalesOrderID,&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN class="s1"&gt;&amp;nbsp; if&lt;/SPAN&gt;(&lt;SPAN class="s1"&gt;Count&lt;/SPAN&gt;(&lt;SPAN class="s1"&gt;DISTINCT&lt;/SPAN&gt; &lt;SPAN class="s2"&gt;Currency&lt;/SPAN&gt;) &amp;gt; 1, 'MultiCurrency', '') &lt;SPAN class="s1"&gt;as&lt;/SPAN&gt; &lt;SPAN class="s2"&gt;Derived_Field&lt;/SPAN&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN class="s1"&gt;Resident&lt;/SPAN&gt; Sales&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN class="s1"&gt;Group&lt;/SPAN&gt; &lt;SPAN class="s1"&gt;By&lt;/SPAN&gt; SalesOrderID;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="Apple-converted-space"&gt;-Rob&lt;BR /&gt;&lt;A href="http://masterssummit.com" target="_blank"&gt;http://masterssummit.com&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://qlikviewcookbook.com" target="_blank"&gt;http://qlikviewcookbook.com&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://www.easyqlik.com" target="_blank"&gt;http://www.easyqlik.com&lt;/A&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Jun 2021 16:40:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Deriving-a-dimension-value/m-p/1812795#M66341</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2021-06-03T16:40:14Z</dc:date>
    </item>
  </channel>
</rss>

