<?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 Compartmentation in Qlik Sense Table for calculation in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Compartmentation-in-Qlik-Sense-Table-for-calculation/m-p/2134962#M92239</link>
    <description>&lt;P&gt;Hi All,&lt;/P&gt;
&lt;P&gt;I am facing a scenario where I need to show measure value only if its not already shown in earlier (or later) row with condition.&lt;/P&gt;
&lt;P&gt;Consider below input data -&lt;/P&gt;
&lt;TABLE width="265"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="64"&gt;Product&lt;/TD&gt;
&lt;TD width="64"&gt;Theme&lt;/TD&gt;
&lt;TD width="73"&gt;Type&lt;/TD&gt;
&lt;TD width="64"&gt;Value&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;A&lt;/TD&gt;
&lt;TD&gt;Credit&lt;/TD&gt;
&lt;TD&gt;Credit&lt;/TD&gt;
&lt;TD&gt;100&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;A&lt;/TD&gt;
&lt;TD&gt;Credit&lt;/TD&gt;
&lt;TD&gt;Equity&lt;/TD&gt;
&lt;TD&gt;100&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;A&lt;/TD&gt;
&lt;TD&gt;Credit&lt;/TD&gt;
&lt;TD&gt;General&lt;/TD&gt;
&lt;TD&gt;100&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;B&lt;/TD&gt;
&lt;TD&gt;Equity&lt;/TD&gt;
&lt;TD&gt;Real Estate&lt;/TD&gt;
&lt;TD&gt;50&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;B&lt;/TD&gt;
&lt;TD&gt;Equity&lt;/TD&gt;
&lt;TD&gt;General&lt;/TD&gt;
&lt;TD&gt;50&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here Theme of product is always same but Type changes as per sale. The output I want in visualization is -&lt;/P&gt;
&lt;TABLE width="265"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="63.9815px"&gt;&lt;STRONG&gt;Product&lt;/STRONG&gt;&lt;/TD&gt;
&lt;TD width="63.8426px"&gt;&lt;STRONG&gt;Theme&lt;/STRONG&gt;&lt;/TD&gt;
&lt;TD width="72.7662px"&gt;&lt;STRONG&gt;Type&lt;/STRONG&gt;&lt;/TD&gt;
&lt;TD width="63.6574px"&gt;&lt;STRONG&gt;Value&lt;/STRONG&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="63.9815px"&gt;&lt;FONT color="#0000FF"&gt;A&lt;/FONT&gt;&lt;/TD&gt;
&lt;TD width="63.8426px"&gt;&lt;FONT color="#0000FF"&gt;Credit&lt;/FONT&gt;&lt;/TD&gt;
&lt;TD width="72.7662px"&gt;&lt;FONT color="#0000FF"&gt;Credit&lt;/FONT&gt;&lt;/TD&gt;
&lt;TD width="63.6574px"&gt;&lt;FONT color="#0000FF"&gt;100&lt;/FONT&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="63.9815px"&gt;&lt;FONT color="#0000FF"&gt;A&lt;/FONT&gt;&lt;/TD&gt;
&lt;TD width="63.8426px"&gt;&lt;FONT color="#0000FF"&gt;Credit&lt;/FONT&gt;&lt;/TD&gt;
&lt;TD width="72.7662px"&gt;&lt;FONT color="#0000FF"&gt;Equity&lt;/FONT&gt;&lt;/TD&gt;
&lt;TD width="63.6574px"&gt;&lt;FONT color="#0000FF"&gt;0&lt;/FONT&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="63.9815px"&gt;&lt;FONT color="#0000FF"&gt;A&lt;/FONT&gt;&lt;/TD&gt;
&lt;TD width="63.8426px"&gt;&lt;FONT color="#0000FF"&gt;Credit&lt;/FONT&gt;&lt;/TD&gt;
&lt;TD width="72.7662px"&gt;&lt;FONT color="#0000FF"&gt;General&lt;/FONT&gt;&lt;/TD&gt;
&lt;TD width="63.6574px"&gt;&lt;FONT color="#0000FF"&gt;0&lt;/FONT&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="63.9815px"&gt;&lt;FONT color="#FF0000"&gt;B&lt;/FONT&gt;&lt;/TD&gt;
&lt;TD width="63.8426px"&gt;&lt;FONT color="#FF0000"&gt;Equity&lt;/FONT&gt;&lt;/TD&gt;
&lt;TD width="72.7662px"&gt;&lt;FONT color="#FF0000"&gt;Real Estate&lt;/FONT&gt;&lt;/TD&gt;
&lt;TD width="63.6574px"&gt;&lt;FONT color="#FF0000"&gt;0&lt;/FONT&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="63.9815px"&gt;&lt;FONT color="#FF0000"&gt;B&lt;/FONT&gt;&lt;/TD&gt;
&lt;TD width="63.8426px"&gt;&lt;FONT color="#FF0000"&gt;Equity&lt;/FONT&gt;&lt;/TD&gt;
&lt;TD width="72.7662px"&gt;&lt;FONT color="#FF0000"&gt;General&lt;/FONT&gt;&lt;/TD&gt;
&lt;TD width="63.6574px"&gt;&lt;FONT color="#FF0000"&gt;50&lt;/FONT&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;Meaning -&lt;/P&gt;
&lt;P&gt;For any product, If Theme = Type then show value ( as first row for product A) else for any product if Theme and Type never match then show value in front of General Type (as second row of product B). Notice that third row of product A is value 0 because there is already a Theme and Type match for product A which is not there in product B.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 06 Nov 2023 13:02:57 GMT</pubDate>
    <dc:creator>sharanqlik</dc:creator>
    <dc:date>2023-11-06T13:02:57Z</dc:date>
    <item>
      <title>Compartmentation in Qlik Sense Table for calculation</title>
      <link>https://community.qlik.com/t5/App-Development/Compartmentation-in-Qlik-Sense-Table-for-calculation/m-p/2134962#M92239</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;
&lt;P&gt;I am facing a scenario where I need to show measure value only if its not already shown in earlier (or later) row with condition.&lt;/P&gt;
&lt;P&gt;Consider below input data -&lt;/P&gt;
&lt;TABLE width="265"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="64"&gt;Product&lt;/TD&gt;
&lt;TD width="64"&gt;Theme&lt;/TD&gt;
&lt;TD width="73"&gt;Type&lt;/TD&gt;
&lt;TD width="64"&gt;Value&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;A&lt;/TD&gt;
&lt;TD&gt;Credit&lt;/TD&gt;
&lt;TD&gt;Credit&lt;/TD&gt;
&lt;TD&gt;100&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;A&lt;/TD&gt;
&lt;TD&gt;Credit&lt;/TD&gt;
&lt;TD&gt;Equity&lt;/TD&gt;
&lt;TD&gt;100&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;A&lt;/TD&gt;
&lt;TD&gt;Credit&lt;/TD&gt;
&lt;TD&gt;General&lt;/TD&gt;
&lt;TD&gt;100&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;B&lt;/TD&gt;
&lt;TD&gt;Equity&lt;/TD&gt;
&lt;TD&gt;Real Estate&lt;/TD&gt;
&lt;TD&gt;50&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;B&lt;/TD&gt;
&lt;TD&gt;Equity&lt;/TD&gt;
&lt;TD&gt;General&lt;/TD&gt;
&lt;TD&gt;50&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here Theme of product is always same but Type changes as per sale. The output I want in visualization is -&lt;/P&gt;
&lt;TABLE width="265"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="63.9815px"&gt;&lt;STRONG&gt;Product&lt;/STRONG&gt;&lt;/TD&gt;
&lt;TD width="63.8426px"&gt;&lt;STRONG&gt;Theme&lt;/STRONG&gt;&lt;/TD&gt;
&lt;TD width="72.7662px"&gt;&lt;STRONG&gt;Type&lt;/STRONG&gt;&lt;/TD&gt;
&lt;TD width="63.6574px"&gt;&lt;STRONG&gt;Value&lt;/STRONG&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="63.9815px"&gt;&lt;FONT color="#0000FF"&gt;A&lt;/FONT&gt;&lt;/TD&gt;
&lt;TD width="63.8426px"&gt;&lt;FONT color="#0000FF"&gt;Credit&lt;/FONT&gt;&lt;/TD&gt;
&lt;TD width="72.7662px"&gt;&lt;FONT color="#0000FF"&gt;Credit&lt;/FONT&gt;&lt;/TD&gt;
&lt;TD width="63.6574px"&gt;&lt;FONT color="#0000FF"&gt;100&lt;/FONT&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="63.9815px"&gt;&lt;FONT color="#0000FF"&gt;A&lt;/FONT&gt;&lt;/TD&gt;
&lt;TD width="63.8426px"&gt;&lt;FONT color="#0000FF"&gt;Credit&lt;/FONT&gt;&lt;/TD&gt;
&lt;TD width="72.7662px"&gt;&lt;FONT color="#0000FF"&gt;Equity&lt;/FONT&gt;&lt;/TD&gt;
&lt;TD width="63.6574px"&gt;&lt;FONT color="#0000FF"&gt;0&lt;/FONT&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="63.9815px"&gt;&lt;FONT color="#0000FF"&gt;A&lt;/FONT&gt;&lt;/TD&gt;
&lt;TD width="63.8426px"&gt;&lt;FONT color="#0000FF"&gt;Credit&lt;/FONT&gt;&lt;/TD&gt;
&lt;TD width="72.7662px"&gt;&lt;FONT color="#0000FF"&gt;General&lt;/FONT&gt;&lt;/TD&gt;
&lt;TD width="63.6574px"&gt;&lt;FONT color="#0000FF"&gt;0&lt;/FONT&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="63.9815px"&gt;&lt;FONT color="#FF0000"&gt;B&lt;/FONT&gt;&lt;/TD&gt;
&lt;TD width="63.8426px"&gt;&lt;FONT color="#FF0000"&gt;Equity&lt;/FONT&gt;&lt;/TD&gt;
&lt;TD width="72.7662px"&gt;&lt;FONT color="#FF0000"&gt;Real Estate&lt;/FONT&gt;&lt;/TD&gt;
&lt;TD width="63.6574px"&gt;&lt;FONT color="#FF0000"&gt;0&lt;/FONT&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="63.9815px"&gt;&lt;FONT color="#FF0000"&gt;B&lt;/FONT&gt;&lt;/TD&gt;
&lt;TD width="63.8426px"&gt;&lt;FONT color="#FF0000"&gt;Equity&lt;/FONT&gt;&lt;/TD&gt;
&lt;TD width="72.7662px"&gt;&lt;FONT color="#FF0000"&gt;General&lt;/FONT&gt;&lt;/TD&gt;
&lt;TD width="63.6574px"&gt;&lt;FONT color="#FF0000"&gt;50&lt;/FONT&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;Meaning -&lt;/P&gt;
&lt;P&gt;For any product, If Theme = Type then show value ( as first row for product A) else for any product if Theme and Type never match then show value in front of General Type (as second row of product B). Notice that third row of product A is value 0 because there is already a Theme and Type match for product A which is not there in product B.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Nov 2023 13:02:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Compartmentation-in-Qlik-Sense-Table-for-calculation/m-p/2134962#M92239</guid>
      <dc:creator>sharanqlik</dc:creator>
      <dc:date>2023-11-06T13:02:57Z</dc:date>
    </item>
    <item>
      <title>Re: Compartmentation in Qlik Sense Table for calculation</title>
      <link>https://community.qlik.com/t5/App-Development/Compartmentation-in-Qlik-Sense-Table-for-calculation/m-p/2135031#M92250</link>
      <description>&lt;P&gt;Do you have the ability to modify the loading script? If this is the case are those fields in the same table?&lt;/P&gt;</description>
      <pubDate>Mon, 06 Nov 2023 15:43:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Compartmentation-in-Qlik-Sense-Table-for-calculation/m-p/2135031#M92250</guid>
      <dc:creator>vincent_ardiet_</dc:creator>
      <dc:date>2023-11-06T15:43:30Z</dc:date>
    </item>
    <item>
      <title>Re: Compartmentation in Qlik Sense Table for calculation</title>
      <link>https://community.qlik.com/t5/App-Development/Compartmentation-in-Qlik-Sense-Table-for-calculation/m-p/2135227#M92262</link>
      <description>&lt;P&gt;Hi Vincent,&lt;/P&gt;
&lt;P&gt;Yes, We can edit the script.&lt;/P&gt;
&lt;P&gt;The columns are from associated tables in data model.&lt;/P&gt;</description>
      <pubDate>Tue, 07 Nov 2023 06:42:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Compartmentation-in-Qlik-Sense-Table-for-calculation/m-p/2135227#M92262</guid>
      <dc:creator>sharanqlik</dc:creator>
      <dc:date>2023-11-07T06:42:30Z</dc:date>
    </item>
    <item>
      <title>Re: Compartmentation in Qlik Sense Table for calculation</title>
      <link>https://community.qlik.com/t5/App-Development/Compartmentation-in-Qlik-Sense-Table-for-calculation/m-p/2135272#M92267</link>
      <description>&lt;P&gt;Could you describe the datamodel or provide a simplified view only with the 4 fields needed (and the keys linking the different tables involved)?&lt;BR /&gt;For example if [Theme] and [Type] are in the same table, first thing to do is to add a flag when their are equal...&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Nov 2023 08:10:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Compartmentation-in-Qlik-Sense-Table-for-calculation/m-p/2135272#M92267</guid>
      <dc:creator>vincent_ardiet_</dc:creator>
      <dc:date>2023-11-07T08:10:42Z</dc:date>
    </item>
    <item>
      <title>Re: Compartmentation in Qlik Sense Table for calculation</title>
      <link>https://community.qlik.com/t5/App-Development/Compartmentation-in-Qlik-Sense-Table-for-calculation/m-p/2135292#M92268</link>
      <description>&lt;P&gt;For simplifying the problem, lets say all columns are in same table (like displayed in description) and I am able to add a flag where Theme= Type&lt;/P&gt;
&lt;TABLE style="border-collapse: collapse; width: 240pt; box-sizing: border-box; outline: none; border-spacing: 0px; font-variant-ligatures: normal; font-variant-caps: normal; orphans: 2; widows: 2; -webkit-text-stroke-width: 0px; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;" border="0" width="320px" cellspacing="0" cellpadding="0"&gt;
&lt;TBODY&gt;
&lt;TR style="height: 14.5pt; box-sizing: border-box; outline: none;"&gt;
&lt;TD width="63.9815px" height="19" class="xl66" style="height: 14.5pt; width: 48pt; box-sizing: border-box; outline: none; min-width: 40px;"&gt;Product&lt;/TD&gt;
&lt;TD width="63.8889px" class="xl66" style="border-left: none; width: 48pt; box-sizing: border-box; outline: none; min-width: 40px;"&gt;Theme&lt;/TD&gt;
&lt;TD width="63.9699px" class="xl66" style="border-left: none; width: 48pt; box-sizing: border-box; outline: none; min-width: 40px;"&gt;Type&lt;/TD&gt;
&lt;TD width="63.75px" class="xl66" style="border-left: none; width: 48pt; box-sizing: border-box; outline: none; min-width: 40px;"&gt;Value&lt;/TD&gt;
&lt;TD width="63.6574px" class="xl66" style="border-left: none; width: 48pt;"&gt;Flag&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 14.5pt; box-sizing: border-box; outline: none;"&gt;
&lt;TD width="63.9815px" height="19" class="xl66" style="height: 14.5pt; border-top: none; width: 48pt; box-sizing: border-box; outline: none; min-width: 40px;"&gt;A&lt;/TD&gt;
&lt;TD width="63.8889px" class="xl66" style="border-top: none; border-left: none; width: 48pt; box-sizing: border-box; outline: none; min-width: 40px;"&gt;Credit&lt;/TD&gt;
&lt;TD width="63.9699px" class="xl66" style="border-top: none; border-left: none; width: 48pt; box-sizing: border-box; outline: none; min-width: 40px;"&gt;Credit&lt;/TD&gt;
&lt;TD width="63.75px" align="right" class="xl66" style="border-top: none; border-left: none; width: 48pt; box-sizing: border-box; outline: none; min-width: 40px;"&gt;100&lt;/TD&gt;
&lt;TD width="63.6574px" align="right" class="xl65" style="border-top: none; border-left: none;"&gt;1&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 14.5pt; box-sizing: border-box; outline: none;"&gt;
&lt;TD width="63.9815px" height="19" class="xl66" style="height: 14.5pt; border-top: none; width: 48pt; box-sizing: border-box; outline: none; min-width: 40px;"&gt;A&lt;/TD&gt;
&lt;TD width="63.8889px" class="xl66" style="border-top: none; border-left: none; width: 48pt; box-sizing: border-box; outline: none; min-width: 40px;"&gt;Credit&lt;/TD&gt;
&lt;TD width="63.9699px" class="xl66" style="border-top: none; border-left: none; width: 48pt; box-sizing: border-box; outline: none; min-width: 40px;"&gt;Equity&lt;/TD&gt;
&lt;TD width="63.75px" align="right" class="xl66" style="border-top: none; border-left: none; width: 48pt; box-sizing: border-box; outline: none; min-width: 40px;"&gt;100&lt;/TD&gt;
&lt;TD width="63.6574px" align="right" class="xl65" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 14.5pt; box-sizing: border-box; outline: none;"&gt;
&lt;TD width="63.9815px" height="19" class="xl66" style="height: 14.5pt; border-top: none; width: 48pt; box-sizing: border-box; outline: none; min-width: 40px;"&gt;A&lt;/TD&gt;
&lt;TD width="63.8889px" class="xl66" style="border-top: none; border-left: none; width: 48pt; box-sizing: border-box; outline: none; min-width: 40px;"&gt;Credit&lt;/TD&gt;
&lt;TD width="63.9699px" class="xl66" style="border-top: none; border-left: none; width: 48pt; box-sizing: border-box; outline: none; min-width: 40px;"&gt;General&lt;/TD&gt;
&lt;TD width="63.75px" align="right" class="xl66" style="border-top: none; border-left: none; width: 48pt; box-sizing: border-box; outline: none; min-width: 40px;"&gt;100&lt;/TD&gt;
&lt;TD width="63.6574px" align="right" class="xl65" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 14.5pt; box-sizing: border-box; outline: none;"&gt;
&lt;TD width="63.9815px" height="19" class="xl66" style="height: 14.5pt; border-top: none; width: 48pt; box-sizing: border-box; outline: none; min-width: 40px;"&gt;B&lt;/TD&gt;
&lt;TD width="63.8889px" class="xl66" style="border-top: none; border-left: none; width: 48pt; box-sizing: border-box; outline: none; min-width: 40px;"&gt;Equity&lt;/TD&gt;
&lt;TD width="63.9699px" class="xl66" style="border-top: none; border-left: none; width: 48pt; box-sizing: border-box; outline: none; min-width: 40px;"&gt;Real Estate&lt;/TD&gt;
&lt;TD width="63.75px" align="right" class="xl66" style="border-top: none; border-left: none; width: 48pt; box-sizing: border-box; outline: none; min-width: 40px;"&gt;50&lt;/TD&gt;
&lt;TD width="63.6574px" align="right" class="xl65" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 14.5pt; box-sizing: border-box; outline: none;"&gt;
&lt;TD width="63.9815px" height="19" class="xl66" style="height: 14.5pt; border-top: none; width: 48pt; box-sizing: border-box; outline: none; min-width: 40px;"&gt;B&lt;/TD&gt;
&lt;TD width="63.8889px" class="xl66" style="border-top: none; border-left: none; width: 48pt; box-sizing: border-box; outline: none; min-width: 40px;"&gt;Equity&lt;/TD&gt;
&lt;TD width="63.9699px" class="xl66" style="border-top: none; border-left: none; width: 48pt; box-sizing: border-box; outline: none; min-width: 40px;"&gt;General&lt;/TD&gt;
&lt;TD width="63.75px" align="right" class="xl66" style="border-top: none; border-left: none; width: 48pt; box-sizing: border-box; outline: none; min-width: 40px;"&gt;50&lt;/TD&gt;
&lt;TD width="63.6574px" align="right" class="xl65" style="border-top: none; border-left: none;"&gt;
&lt;P&gt;0&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Whats next do you suggest ?&lt;/P&gt;</description>
      <pubDate>Tue, 07 Nov 2023 08:59:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Compartmentation-in-Qlik-Sense-Table-for-calculation/m-p/2135292#M92268</guid>
      <dc:creator>sharanqlik</dc:creator>
      <dc:date>2023-11-07T08:59:41Z</dc:date>
    </item>
    <item>
      <title>Re: Compartmentation in Qlik Sense Table for calculation</title>
      <link>https://community.qlik.com/t5/App-Development/Compartmentation-in-Qlik-Sense-Table-for-calculation/m-p/2135302#M92269</link>
      <description>&lt;P&gt;Then you can do something like:&lt;BR /&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;mapProductFlag:&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Mapping Load Product, Max(Flag) as Flag Resident myTable Group By Product;&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;myTable2:&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Load&amp;nbsp;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp; &amp;nbsp; *&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp; &amp;nbsp;,if(Flag=1, Value, if(Type='General' and ApplyMap('mapProductFlag',Product)=0, Value,0)) as NewValue&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Resident myTable;&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Drop myTable;&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Nov 2023 09:20:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Compartmentation-in-Qlik-Sense-Table-for-calculation/m-p/2135302#M92269</guid>
      <dc:creator>vincent_ardiet_</dc:creator>
      <dc:date>2023-11-07T09:20:35Z</dc:date>
    </item>
    <item>
      <title>Re: Compartmentation in Qlik Sense Table for calculation</title>
      <link>https://community.qlik.com/t5/App-Development/Compartmentation-in-Qlik-Sense-Table-for-calculation/m-p/2135755#M92311</link>
      <description>&lt;P&gt;Hi Vincent,&lt;/P&gt;
&lt;P&gt;Thanks for help. This works like a charm if columns are in single table.&lt;/P&gt;
&lt;P&gt;I will need your help now if those are not in same table (which is actual scenario). Please consider below load script&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Rating:&lt;BR /&gt;Load * inline [&lt;BR /&gt;RatingID, Consultant, Type, Product, Rating&lt;BR /&gt;1, Alpha, Credit, Car &lt;BR /&gt;2, Alpha, Equity, Car &lt;BR /&gt;3, Alpha, General, Car&lt;BR /&gt;4, Beta, Real Estate, Table&lt;BR /&gt;5, Beta, General, Table&lt;BR /&gt;];&lt;/P&gt;
&lt;P&gt;Product:&lt;BR /&gt;Load * Inline [&lt;BR /&gt;Product, Theme&lt;BR /&gt;Table,Credit&lt;BR /&gt;Car, Equity&lt;BR /&gt;];&lt;/P&gt;
&lt;P&gt;Cost:&lt;BR /&gt;Load * Inline [&lt;BR /&gt;Product, Value&lt;BR /&gt;Table, 100&lt;BR /&gt;Car, 50&lt;BR /&gt;];&lt;/P&gt;
&lt;P&gt;Column 'Type' is in Rating table, 'Theme' is in Product and 'Value' is in Cost. All the three tables are associated with 'Product' field.&lt;/P&gt;
&lt;P&gt;How do we proceed here ?&lt;/P&gt;</description>
      <pubDate>Wed, 08 Nov 2023 10:13:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Compartmentation-in-Qlik-Sense-Table-for-calculation/m-p/2135755#M92311</guid>
      <dc:creator>sharanqlik</dc:creator>
      <dc:date>2023-11-08T10:13:12Z</dc:date>
    </item>
    <item>
      <title>Re: Compartmentation in Qlik Sense Table for calculation</title>
      <link>https://community.qlik.com/t5/App-Development/Compartmentation-in-Qlik-Sense-Table-for-calculation/m-p/2135771#M92314</link>
      <description>&lt;P&gt;You can join everything in the same table, often Qlik Engine prefers this to start schema, but it depends of the other tables you can have. And you can simplify this a bit just joining Rating with Cost, or with Product, up to you. If you want to keep it like this, this is a solution:&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;Rating:&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Load * inline [&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;RatingID, Consultant, Type, Product, Rating&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;1, Alpha, Credit, Car&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;2, Alpha, Equity, Car&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;3, Alpha, General, Car&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;4, Beta, Real Estate, Table&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;5, Beta, General, Table&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;];&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;Product:&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Load * Inline [&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Product, Theme&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Table,Credit&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Car, Equity&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;];&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;Cost:&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Load * Inline [&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Product, Value&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Table, 100&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Car, 50&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;];&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;mapProductTheme:&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Mapping Load Product, Theme Resident Product;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;Inner Join (Rating)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Load RatingID, Type=ApplyMap('mapProductTheme',Product) as Flag Resident Rating;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;mapProductFlag:&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Mapping Load Product, Min(Flag) as FlagGlobal Resident Rating Group By Product;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;mapProductValue:&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Mapping Load Product, Value Resident Cost;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;Rating2:&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Load&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;*&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;,if(Flag, ApplyMap('mapProductValue',Product)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp; &amp;nbsp; , if(Type='General' and ApplyMap('mapProductFlag',Product)=0&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; , ApplyMap('mapProductValue',Product)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; ,0)) as NewValue&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Resident Rating;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;Drop Table Rating;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Nov 2023 10:40:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Compartmentation-in-Qlik-Sense-Table-for-calculation/m-p/2135771#M92314</guid>
      <dc:creator>vincent_ardiet_</dc:creator>
      <dc:date>2023-11-08T10:40:00Z</dc:date>
    </item>
    <item>
      <title>Re: Compartmentation in Qlik Sense Table for calculation</title>
      <link>https://community.qlik.com/t5/App-Development/Compartmentation-in-Qlik-Sense-Table-for-calculation/m-p/2135819#M92318</link>
      <description>&lt;P&gt;Hi Vincent,&lt;/P&gt;
&lt;P&gt;We can not create one big table with joins as the amount of data is huge and visuals will break.&lt;/P&gt;
&lt;P&gt;Considering your solution with applymap. But it will break if we have different costids and need to preserve them to show in visualizations. Consider below updated tables -&lt;/P&gt;
&lt;P&gt;Rating:&lt;BR /&gt;Load * inline [&lt;BR /&gt;RatingID, Consultant, Type, Product, Rating&lt;BR /&gt;1, Alpha, Credit, Car &lt;BR /&gt;2, Alpha, Equity, Car &lt;BR /&gt;3, Alpha, General, Car&lt;BR /&gt;4, Beta, Real Estate, Table&lt;BR /&gt;5, Beta, General, Table&lt;BR /&gt;];&lt;/P&gt;
&lt;P&gt;Product:&lt;BR /&gt;Load * Inline [&lt;BR /&gt;Product, Theme&lt;BR /&gt;Table,Credit&lt;BR /&gt;Car, Equity&lt;BR /&gt;];&lt;/P&gt;
&lt;P&gt;Cost:&lt;BR /&gt;Load * Inline [&lt;BR /&gt;CostID,Product, Value&lt;BR /&gt;1,Table, 100&lt;BR /&gt;2,Car, 50&lt;BR /&gt;3,Table, 300&lt;BR /&gt;4,Car, 200&lt;BR /&gt;];&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please note that we have more associated tables in data model and these are just sub set of the whole model. We have connected tables via link table logic.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Nov 2023 12:42:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Compartmentation-in-Qlik-Sense-Table-for-calculation/m-p/2135819#M92318</guid>
      <dc:creator>sharanqlik</dc:creator>
      <dc:date>2023-11-08T12:42:20Z</dc:date>
    </item>
    <item>
      <title>Re: Compartmentation in Qlik Sense Table for calculation</title>
      <link>https://community.qlik.com/t5/App-Development/Compartmentation-in-Qlik-Sense-Table-for-calculation/m-p/2135890#M92323</link>
      <description>&lt;P&gt;Of course if you don't reveal everything &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;Try with this, and in your chart expression, do [Value]*[ValueMultiplier]:&lt;BR /&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Rating2:&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Load&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;*&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;,if(Flag, 1&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp; &amp;nbsp; , if(Type='General' and ApplyMap('mapProductFlag',Product)=0&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; , 1&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; ,0)) as ValueMultiplier&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Resident Rating;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Nov 2023 14:42:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Compartmentation-in-Qlik-Sense-Table-for-calculation/m-p/2135890#M92323</guid>
      <dc:creator>vincent_ardiet_</dc:creator>
      <dc:date>2023-11-08T14:42:23Z</dc:date>
    </item>
    <item>
      <title>Re: Compartmentation in Qlik Sense Table for calculation</title>
      <link>https://community.qlik.com/t5/App-Development/Compartmentation-in-Qlik-Sense-Table-for-calculation/m-p/2137052#M92411</link>
      <description>&lt;P&gt;Thanks Vincent. This worked as expected.&lt;/P&gt;
&lt;P&gt;I am still making some adjustments but this solved the problem, thanks.&lt;/P&gt;</description>
      <pubDate>Mon, 13 Nov 2023 06:19:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Compartmentation-in-Qlik-Sense-Table-for-calculation/m-p/2137052#M92411</guid>
      <dc:creator>sharanqlik</dc:creator>
      <dc:date>2023-11-13T06:19:13Z</dc:date>
    </item>
  </channel>
</rss>

