<?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 QlikView Data Modelling Challenge in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/QlikView-Data-Modelling-Challenge/m-p/2080442#M1223984</link>
    <description>&lt;P&gt;Hey all,&lt;/P&gt;
&lt;P&gt;i am struggling with the following challange: I have a set of groups where each group defines a scope of facts. The scope is determined by a set of articles and customer_nationalities using inclusion or exclusion.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Example&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;(please see attached QVW for actual use case):&lt;BR /&gt;Group: "toys_italian_customers_only" (inclusion): Selecting this group should result in the fact table being reduced to only data that&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;have article ids corresponding to toys and&lt;/LI&gt;
&lt;LI&gt;customer_nationality_id corresponding to Italy.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;STRONG&gt;another example&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;(also in the attached QVW):&lt;BR /&gt;Group: "german_customers" (exclusion): Selecting this group should result the fact table being reduced to data where&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;the customer_nationality_id is not 1 or 2&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Looking forward to get some hints, help or advise&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;Thank a lot in advance!&lt;/P&gt;
&lt;P&gt;(for the ones only having Sense these days, please find the script in the attached .txt&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;)&lt;/P&gt;</description>
    <pubDate>Tue, 06 Jun 2023 07:43:54 GMT</pubDate>
    <dc:creator>xyz_1011</dc:creator>
    <dc:date>2023-06-06T07:43:54Z</dc:date>
    <item>
      <title>QlikView Data Modelling Challenge</title>
      <link>https://community.qlik.com/t5/QlikView/QlikView-Data-Modelling-Challenge/m-p/2080442#M1223984</link>
      <description>&lt;P&gt;Hey all,&lt;/P&gt;
&lt;P&gt;i am struggling with the following challange: I have a set of groups where each group defines a scope of facts. The scope is determined by a set of articles and customer_nationalities using inclusion or exclusion.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Example&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;(please see attached QVW for actual use case):&lt;BR /&gt;Group: "toys_italian_customers_only" (inclusion): Selecting this group should result in the fact table being reduced to only data that&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;have article ids corresponding to toys and&lt;/LI&gt;
&lt;LI&gt;customer_nationality_id corresponding to Italy.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;STRONG&gt;another example&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;(also in the attached QVW):&lt;BR /&gt;Group: "german_customers" (exclusion): Selecting this group should result the fact table being reduced to data where&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;the customer_nationality_id is not 1 or 2&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Looking forward to get some hints, help or advise&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;Thank a lot in advance!&lt;/P&gt;
&lt;P&gt;(for the ones only having Sense these days, please find the script in the attached .txt&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;)&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jun 2023 07:43:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QlikView-Data-Modelling-Challenge/m-p/2080442#M1223984</guid>
      <dc:creator>xyz_1011</dc:creator>
      <dc:date>2023-06-06T07:43:54Z</dc:date>
    </item>
    <item>
      <title>Re: QlikView Data Modelling Challenge</title>
      <link>https://community.qlik.com/t5/QlikView/QlikView-Data-Modelling-Challenge/m-p/2080570#M1223988</link>
      <description>&lt;P&gt;I think I would create a listing of the customer-article-combinations probably by joining the 3 group-tables and loading them as mapping-table like:&lt;/P&gt;
&lt;P&gt;m: mapping load&amp;nbsp; customer &amp;amp; '|' &amp;amp; article, 1 from JoinTable;&lt;/P&gt;
&lt;P&gt;and within the fact-table something like:&lt;/P&gt;
&lt;P&gt;...&lt;BR /&gt;applymap('m',&amp;nbsp;customer &amp;amp; '|' &amp;amp; article, 0) as Flag&lt;BR /&gt;...&lt;/P&gt;
&lt;P&gt;Instead of a single Flag field you may also create several ones and/or using multiple mapping-tables and (nested) applymap() logic to get your include/exclude logic and you may also reverse the 0/1 assigning logic to simplify the join &amp;amp; mapping approaches.&lt;/P&gt;
&lt;P&gt;If the include/exclude could contain some overlapping you need in each case some advanced logic by using several Flags or applying &lt;A href="https://community.qlik.com/t5/Design/The-As-Of-Table/ba-p/1466130" target="_blank"&gt;The As-Of Table - Qlik Community - 1466130&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jun 2023 11:25:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QlikView-Data-Modelling-Challenge/m-p/2080570#M1223988</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2023-06-06T11:25:23Z</dc:date>
    </item>
  </channel>
</rss>

