<?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: Set Analysis conflict in Concatenated Table (Dimension vs. Filter) in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-Analysis-conflict-in-Concatenated-Table-Dimension-vs-Filter/m-p/2539544#M1226787</link>
    <description>&lt;P&gt;It's not really related to a set analysis which means reacting to an (adjusted) selection state else it's conflicting on the row-level. A shortcut for re-designing the data-model might be just to add a new field which harmonized the StoreCode and the WarehouseCode and use this for these views.&lt;/P&gt;</description>
    <pubDate>Thu, 18 Dec 2025 13:40:25 GMT</pubDate>
    <dc:creator>marcus_sommer</dc:creator>
    <dc:date>2025-12-18T13:40:25Z</dc:date>
    <item>
      <title>Set Analysis conflict in Concatenated Table (Dimension vs. Filter)</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-conflict-in-Concatenated-Table-Dimension-vs-Filter/m-p/2539413#M1226784</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I have a data model where &lt;STRONG&gt;Sales&lt;/STRONG&gt; and &lt;STRONG&gt;Inventory&lt;/STRONG&gt; tables are concatenated into a single fact table. Both datasets share the same field name: &lt;FONT color="#FF0000"&gt;StoreCode&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;Table Format:&lt;/P&gt;&lt;P&gt;StoreCode ItemCode ColorCode&amp;nbsp; Sales Inventory&lt;/P&gt;&lt;P&gt;A100&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ABCD&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;red&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 1000&amp;nbsp; 0&lt;/P&gt;&lt;P&gt;A100&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;XYZ&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; blue&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;500&amp;nbsp; &amp;nbsp;0&lt;/P&gt;&lt;P&gt;A200&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;E&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;black&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;100&amp;nbsp; &amp;nbsp; 0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now I would like to calculate Inventory. Currently, I use this formula:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum({&amp;lt;MyDate= {'&amp;gt;=$(start_date) &amp;lt;=$(=today_date)'},StoreCode={'WR-ON-008'}&amp;gt;}InventoryQTY)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;The Problem:&lt;/STRONG&gt; I am using a table with StoreCode as a dimension. I want to show a column for "Warehouse Inventory" specifically for warehouse &lt;STRONG&gt;'WR-ON-008'&lt;/STRONG&gt; regardless of the store on the current row.&lt;/P&gt;&lt;P&gt;When the table row is StoreCode = 'A100', the column returns &lt;STRONG&gt;zero&lt;/STRONG&gt; because the engine tries to find rows where StoreCode is both 'A100' and 'WR-ON-008' simultaneously, which is impossible.&lt;/P&gt;&lt;P&gt;I know renaming the field to WarehouseCode in the script would solve this, but my model is too large to refactor right now.&lt;/P&gt;&lt;P&gt;Is there a way to &lt;STRONG&gt;ignore the dimension's selection&lt;/STRONG&gt; on StoreCode but &lt;STRONG&gt;force the set analysis filter&lt;/STRONG&gt; for 'WR-ON-008' on the same field in the frontend?&lt;/P&gt;</description>
      <pubDate>Wed, 17 Dec 2025 12:53:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-conflict-in-Concatenated-Table-Dimension-vs-Filter/m-p/2539413#M1226784</guid>
      <dc:creator>muratmert41</dc:creator>
      <dc:date>2025-12-17T12:53:46Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis conflict in Concatenated Table (Dimension vs. Filter)</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-conflict-in-Concatenated-Table-Dimension-vs-Filter/m-p/2539429#M1226786</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/324274"&gt;@muratmert41&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I think you need the following expression:&lt;/P&gt;
&lt;P&gt;&lt;FONT size="2" color="#808080"&gt;&lt;EM&gt;Sum(Total &amp;lt;ItemCode,ColorCode&amp;gt; {&amp;lt;MyDate= {'&amp;gt;=$(start_date) &amp;lt;=$(=today_date)'},StoreCode={'WR-ON-008'}&amp;gt;}InventoryQTY)&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This will display the inventory for the warehouse on all stores depending only on the item code and color code but not on the StoreCode. If other fields are needed, you can add them after the total, or remove the ones set if they are not needed.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Let me know if it works for you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Kind Regards&lt;/P&gt;
&lt;P&gt;Daniel&lt;/P&gt;</description>
      <pubDate>Wed, 17 Dec 2025 15:44:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-conflict-in-Concatenated-Table-Dimension-vs-Filter/m-p/2539429#M1226786</guid>
      <dc:creator>Daniel_Castella</dc:creator>
      <dc:date>2025-12-17T15:44:37Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis conflict in Concatenated Table (Dimension vs. Filter)</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-conflict-in-Concatenated-Table-Dimension-vs-Filter/m-p/2539544#M1226787</link>
      <description>&lt;P&gt;It's not really related to a set analysis which means reacting to an (adjusted) selection state else it's conflicting on the row-level. A shortcut for re-designing the data-model might be just to add a new field which harmonized the StoreCode and the WarehouseCode and use this for these views.&lt;/P&gt;</description>
      <pubDate>Thu, 18 Dec 2025 13:40:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-conflict-in-Concatenated-Table-Dimension-vs-Filter/m-p/2539544#M1226787</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2025-12-18T13:40:25Z</dc:date>
    </item>
  </channel>
</rss>

