<?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: Problem AGGR Nodistinct in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Problem-AGGR-Nodistinct/m-p/2430663#M96551</link>
    <description>&lt;P&gt;This looks like a really smart solution, but I would like to make it work with one table, because we prepare the data in a data warehouse beforehand&lt;/P&gt;</description>
    <pubDate>Thu, 14 Mar 2024 08:32:39 GMT</pubDate>
    <dc:creator>tcc_pascal1</dc:creator>
    <dc:date>2024-03-14T08:32:39Z</dc:date>
    <item>
      <title>Problem AGGR Nodistinct</title>
      <link>https://community.qlik.com/t5/App-Development/Problem-AGGR-Nodistinct/m-p/2430442#M96535</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;
&lt;P&gt;I have the problem of adding up repeated values in the aggregation in a unique way&lt;/P&gt;
&lt;TABLE width="391"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="63.925px"&gt;Monat&lt;/TD&gt;
&lt;TD width="63.8px"&gt;Kat 1&lt;/TD&gt;
&lt;TD width="63.8px"&gt;Kat 2&lt;/TD&gt;
&lt;TD width="63.8px"&gt;Kat 3&lt;/TD&gt;
&lt;TD width="70.95px"&gt;Product ID&lt;/TD&gt;
&lt;TD width="63.925px"&gt;Value&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="63.925px"&gt;Jan&lt;/TD&gt;
&lt;TD width="63.8px"&gt;A&lt;/TD&gt;
&lt;TD width="63.8px"&gt;C&lt;/TD&gt;
&lt;TD width="63.8px"&gt;F&lt;/TD&gt;
&lt;TD width="70.95px"&gt;1&lt;/TD&gt;
&lt;TD width="63.925px"&gt;22&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="63.925px"&gt;Jan&lt;/TD&gt;
&lt;TD width="63.8px"&gt;A&lt;/TD&gt;
&lt;TD width="63.8px"&gt;C&lt;/TD&gt;
&lt;TD width="63.8px"&gt;G&lt;/TD&gt;
&lt;TD width="70.95px"&gt;1&lt;/TD&gt;
&lt;TD width="63.925px"&gt;22&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="63.925px"&gt;Jan&lt;/TD&gt;
&lt;TD width="63.8px"&gt;A&lt;/TD&gt;
&lt;TD width="63.8px"&gt;D&lt;/TD&gt;
&lt;TD width="63.8px"&gt;F&lt;/TD&gt;
&lt;TD width="70.95px"&gt;1&lt;/TD&gt;
&lt;TD width="63.925px"&gt;22&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="63.925px"&gt;Jan&lt;/TD&gt;
&lt;TD width="63.8px"&gt;A&lt;/TD&gt;
&lt;TD width="63.8px"&gt;D&lt;/TD&gt;
&lt;TD width="63.8px"&gt;G&lt;/TD&gt;
&lt;TD width="70.95px"&gt;1&lt;/TD&gt;
&lt;TD width="63.925px"&gt;22&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="63.925px"&gt;Jan&lt;/TD&gt;
&lt;TD width="63.8px"&gt;A&lt;/TD&gt;
&lt;TD width="63.8px"&gt;C&lt;/TD&gt;
&lt;TD width="63.8px"&gt;G&lt;/TD&gt;
&lt;TD width="70.95px"&gt;2&lt;/TD&gt;
&lt;TD width="63.925px"&gt;25&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="63.925px"&gt;Jan&lt;/TD&gt;
&lt;TD width="63.8px"&gt;B&lt;/TD&gt;
&lt;TD width="63.8px"&gt;C&lt;/TD&gt;
&lt;TD width="63.8px"&gt;F&lt;/TD&gt;
&lt;TD width="70.95px"&gt;2&lt;/TD&gt;
&lt;TD width="63.925px"&gt;25&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="63.925px"&gt;Jan&lt;/TD&gt;
&lt;TD width="63.8px"&gt;A&lt;/TD&gt;
&lt;TD width="63.8px"&gt;C&lt;/TD&gt;
&lt;TD width="63.8px"&gt;G&lt;/TD&gt;
&lt;TD width="70.95px"&gt;2&lt;/TD&gt;
&lt;TD width="63.925px"&gt;25&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="63.925px"&gt;Jan&lt;/TD&gt;
&lt;TD width="63.8px"&gt;B&lt;/TD&gt;
&lt;TD width="63.8px"&gt;C&lt;/TD&gt;
&lt;TD width="63.8px"&gt;F&lt;/TD&gt;
&lt;TD width="70.95px"&gt;2&lt;/TD&gt;
&lt;TD width="63.925px"&gt;25&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="63.925px"&gt;Feb&lt;/TD&gt;
&lt;TD width="63.8px"&gt;A&lt;/TD&gt;
&lt;TD width="63.8px"&gt;C&lt;/TD&gt;
&lt;TD width="63.8px"&gt;F&lt;/TD&gt;
&lt;TD width="70.95px"&gt;1&lt;/TD&gt;
&lt;TD width="63.925px"&gt;18&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="63.925px"&gt;Feb&lt;/TD&gt;
&lt;TD width="63.8px"&gt;A&lt;/TD&gt;
&lt;TD width="63.8px"&gt;C&lt;/TD&gt;
&lt;TD width="63.8px"&gt;G&lt;/TD&gt;
&lt;TD width="70.95px"&gt;1&lt;/TD&gt;
&lt;TD width="63.925px"&gt;18&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="63.925px"&gt;Feb&lt;/TD&gt;
&lt;TD width="63.8px"&gt;A&lt;/TD&gt;
&lt;TD width="63.8px"&gt;D&lt;/TD&gt;
&lt;TD width="63.8px"&gt;F&lt;/TD&gt;
&lt;TD width="70.95px"&gt;1&lt;/TD&gt;
&lt;TD width="63.925px"&gt;18&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="63.925px"&gt;Feb&lt;/TD&gt;
&lt;TD width="63.8px"&gt;A&lt;/TD&gt;
&lt;TD width="63.8px"&gt;D&lt;/TD&gt;
&lt;TD width="63.8px"&gt;G&lt;/TD&gt;
&lt;TD width="70.95px"&gt;1&lt;/TD&gt;
&lt;TD width="63.925px"&gt;18&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="63.925px"&gt;Feb&lt;/TD&gt;
&lt;TD width="63.8px"&gt;A&lt;/TD&gt;
&lt;TD width="63.8px"&gt;C&lt;/TD&gt;
&lt;TD width="63.8px"&gt;G&lt;/TD&gt;
&lt;TD width="70.95px"&gt;2&lt;/TD&gt;
&lt;TD width="63.925px"&gt;15&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="63.925px"&gt;Feb&lt;/TD&gt;
&lt;TD width="63.8px"&gt;B&lt;/TD&gt;
&lt;TD width="63.8px"&gt;C&lt;/TD&gt;
&lt;TD width="63.8px"&gt;F&lt;/TD&gt;
&lt;TD width="70.95px"&gt;2&lt;/TD&gt;
&lt;TD width="63.925px"&gt;15&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="63.925px"&gt;Feb&lt;/TD&gt;
&lt;TD width="63.8px"&gt;A&lt;/TD&gt;
&lt;TD width="63.8px"&gt;C&lt;/TD&gt;
&lt;TD width="63.8px"&gt;G&lt;/TD&gt;
&lt;TD width="70.95px"&gt;2&lt;/TD&gt;
&lt;TD width="63.925px"&gt;15&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="63.925px"&gt;Feb&lt;/TD&gt;
&lt;TD width="63.8px"&gt;B&lt;/TD&gt;
&lt;TD width="63.8px"&gt;C&lt;/TD&gt;
&lt;TD width="63.8px"&gt;F&lt;/TD&gt;
&lt;TD width="70.95px"&gt;2&lt;/TD&gt;
&lt;TD width="63.925px"&gt;15&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Because a product can be in different categories, one product is linked with one value multiple times. For a dashboard I would like to show the value for all combinations of categories 1, 2 &amp;amp; 3 for the required dimensions, but&amp;nbsp;suppress unnecessary double counting.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In my example a result is:&lt;/P&gt;
&lt;TABLE width="192"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="64"&gt;Monat&lt;/TD&gt;
&lt;TD width="64"&gt;Kat 1&lt;/TD&gt;
&lt;TD width="64"&gt;Value&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;Jan&lt;/TD&gt;
&lt;TD&gt;A&lt;/TD&gt;
&lt;TD&gt;47&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;Jan&amp;nbsp;&lt;/TD&gt;
&lt;TD&gt;B&lt;/TD&gt;
&lt;TD&gt;25&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The function I have tried is:&amp;nbsp;SUM(AGGR(Nodistinct MIN(Value),[Product ID]))&lt;/P&gt;
&lt;P&gt;Can you help me with the correct formula?&lt;/P&gt;</description>
      <pubDate>Wed, 13 Mar 2024 16:18:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Problem-AGGR-Nodistinct/m-p/2430442#M96535</guid>
      <dc:creator>tcc_pascal1</dc:creator>
      <dc:date>2024-03-13T16:18:17Z</dc:date>
    </item>
    <item>
      <title>Re: Problem AGGR Nodistinct</title>
      <link>https://community.qlik.com/t5/App-Development/Problem-AGGR-Nodistinct/m-p/2430475#M96536</link>
      <description>&lt;P&gt;Little confusing but can&amp;nbsp; you share expected output, expected results? In your final chart you need only&amp;nbsp;&lt;SPAN&gt;Monat,Kat1 and Value?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Mar 2024 17:48:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Problem-AGGR-Nodistinct/m-p/2430475#M96536</guid>
      <dc:creator>Digvijay_Singh</dc:creator>
      <dc:date>2024-03-13T17:48:17Z</dc:date>
    </item>
    <item>
      <title>Re: Problem AGGR Nodistinct</title>
      <link>https://community.qlik.com/t5/App-Development/Problem-AGGR-Nodistinct/m-p/2430497#M96537</link>
      <description>&lt;P&gt;looking at the profile of your data, it appears a product can only have 1 value per month, a product can have different categories per month.&amp;nbsp; my suggested solution is to refine your data model.&amp;nbsp; this will result in a simpler expression that will be easy to maintain. i suggest you break this up into 2 tables: categories and product value:&lt;BR /&gt;the link is by month and product (as the characteristics of your product change by month)&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="edwin_0-1710355510763.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/161939i8EE858FC65264D69/image-size/medium?v=v2&amp;amp;px=400" role="button" title="edwin_0-1710355510763.png" alt="edwin_0-1710355510763.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;this is the script i used:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Categories:
Load Monat &amp;amp; '|' &amp;amp; [Product ID] as key,
	[Kat 1], 
    [Kat 2],
    [Kat 3]
    Inline [
Monat,Kat 1,Kat 2,Kat 3,Product ID
Jan,A,C,F,1
Jan,A,C,G,1
Jan,A,D,F,1
Jan,A,D,G,1
Jan,A,C,G,2
Jan,B,C,F,2
Feb,A,C,F,1
Feb,A,C,G,1
Feb,A,D,F,1
Feb,A,D,G,1
Feb,A,C,G,2
Feb,B,C,F,2
];

Products:
load Monat &amp;amp; '|' &amp;amp; [Product ID] as key,
	Monat,
    [Product ID],
    Value Inline [
Monat,Product ID,Value
Jan,1,22
Jan,2,25
Feb,1,18
Feb,2,15
];&lt;/LI-CODE&gt;
&lt;P&gt;and this is the resulting table:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="edwin_1-1710355586930.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/161940i1FAD798E980976CE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="edwin_1-1710355586930.png" alt="edwin_1-1710355586930.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;as you can see the expression is a simple sum(Value)&lt;BR /&gt;&lt;BR /&gt;you havent really explained all the bsuiness rules as your data has duplicates and i suspect there must be some requirement why you have that but as far as the stated requirement, you are with this solution able to sum the values of each product per month correctly&lt;/P&gt;</description>
      <pubDate>Wed, 13 Mar 2024 18:48:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Problem-AGGR-Nodistinct/m-p/2430497#M96537</guid>
      <dc:creator>edwin</dc:creator>
      <dc:date>2024-03-13T18:48:12Z</dc:date>
    </item>
    <item>
      <title>Re: Problem AGGR Nodistinct</title>
      <link>https://community.qlik.com/t5/App-Development/Problem-AGGR-Nodistinct/m-p/2430652#M96549</link>
      <description>&lt;P&gt;Thanks for your replies!&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Expected results in my example are:&lt;/P&gt;
&lt;TABLE style="border-collapse: collapse; width: 192pt;" border="0" width="256" cellspacing="0" cellpadding="0"&gt;
&lt;TBODY&gt;
&lt;TR style="height: 14.4pt;"&gt;
&lt;TD width="63.9px" height="14px" style="height: 14.4pt; width: 48pt;"&gt;Monat&lt;/TD&gt;
&lt;TD width="63.725px" height="14px" style="width: 48pt;"&gt;Kat 1&lt;/TD&gt;
&lt;TD width="63.725px" height="14px" style="width: 48pt;"&gt;Kat 2&lt;/TD&gt;
&lt;TD width="63.85px" height="14px" style="width: 48pt;"&gt;Value&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 14.4pt;"&gt;
&lt;TD width="63.9px" height="14px" style="height: 14.4pt;"&gt;Jan&lt;/TD&gt;
&lt;TD width="63.725px" height="14px"&gt;A&lt;/TD&gt;
&lt;TD width="63.725px" height="14px"&gt;C&lt;/TD&gt;
&lt;TD width="63.85px" height="14px" align="right"&gt;47&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 14.4pt;"&gt;
&lt;TD width="63.9px" height="14px" style="height: 14.4pt;"&gt;Jan&lt;/TD&gt;
&lt;TD width="63.725px" height="14px"&gt;A&lt;/TD&gt;
&lt;TD width="63.725px" height="14px"&gt;D&lt;/TD&gt;
&lt;TD width="63.85px" height="14px" align="right"&gt;22&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&lt;BR /&gt;and:&lt;/P&gt;
&lt;TABLE style="border-collapse: collapse; width: 144pt;" border="0" width="192" cellspacing="0" cellpadding="0"&gt;
&lt;TBODY&gt;
&lt;TR style="height: 14.4pt;"&gt;
&lt;TD width="64" height="19" style="height: 14.4pt; width: 48pt;"&gt;Monat&lt;/TD&gt;
&lt;TD width="64" style="width: 48pt;"&gt;Kat 3&lt;/TD&gt;
&lt;TD width="64" style="width: 48pt;"&gt;Value&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 14.4pt;"&gt;
&lt;TD height="19" style="height: 14.4pt;"&gt;Jan&lt;/TD&gt;
&lt;TD&gt;F&lt;/TD&gt;
&lt;TD align="right"&gt;47&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 14.4pt;"&gt;
&lt;TD height="19" style="height: 14.4pt;"&gt;Feb&lt;/TD&gt;
&lt;TD&gt;F&lt;/TD&gt;
&lt;TD align="right"&gt;33&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Think of it as a sweater that sold for €300 in March, for example. This sweater has the characteristics Men, Business and Winter in category 1. In category 2, the sizes are M, L and XL. There is also a T-shirt with a retail value of €100 and category 1 Men, Leisure and Summer and category 2 S and M.&lt;BR /&gt;As a result I want to see an overall of 400€ in March, for size S it is 100€, and most import thing:&lt;/P&gt;
&lt;TABLE style="border-collapse: collapse; width: 144pt;" border="0" width="191px" cellspacing="0" cellpadding="0"&gt;
&lt;TBODY&gt;
&lt;TR style="height: 14.4pt;"&gt;
&lt;TD width="59.05px" height="14px" style="height: 14.4pt; width: 48pt;"&gt;Monat&lt;/TD&gt;
&lt;TD width="75.7625px" height="14px" style="width: 48pt;"&gt;Kat 1&lt;/TD&gt;
&lt;TD width="56.3875px" height="14px" style="width: 48pt;"&gt;Value&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 14.4pt;"&gt;
&lt;TD width="59.05px" height="14px" style="height: 14.4pt;"&gt;March&lt;/TD&gt;
&lt;TD width="75.7625px" height="14px"&gt;Men&lt;/TD&gt;
&lt;TD width="56.3875px" height="14px" align="right" class="xl65"&gt;400 €&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 14.4pt;"&gt;
&lt;TD width="59.05px" height="14px" style="height: 14.4pt;"&gt;March&lt;/TD&gt;
&lt;TD width="75.7625px" height="14px"&gt;Business&lt;/TD&gt;
&lt;TD width="56.3875px" height="14px" align="right" class="xl65"&gt;300 €&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 14.4pt;"&gt;
&lt;TD width="59.05px" height="14px" style="height: 14.4pt;"&gt;March&lt;/TD&gt;
&lt;TD width="75.7625px" height="14px"&gt;Winter&lt;/TD&gt;
&lt;TD width="56.3875px" height="14px" align="right" class="xl65"&gt;300 €&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 14.4pt;"&gt;
&lt;TD width="59.05px" height="14px" style="height: 14.4pt;"&gt;March&lt;/TD&gt;
&lt;TD width="75.7625px" height="14px"&gt;Leisure&lt;/TD&gt;
&lt;TD width="56.3875px" height="14px" align="right" class="xl65"&gt;100 €&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 14.4pt;"&gt;
&lt;TD width="59.05px" height="14px" style="height: 14.4pt;"&gt;March&lt;/TD&gt;
&lt;TD width="75.7625px" height="14px"&gt;Summer&lt;/TD&gt;
&lt;TD width="56.3875px" height="14px" align="right" class="xl65"&gt;
&lt;P&gt;100 €&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;So multiple counting is fine, if a dimension with multiple&amp;nbsp;characteristics is visible, but in total the value is still the sum of products values 300€ + 100€ = 400€&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Mar 2024 08:18:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Problem-AGGR-Nodistinct/m-p/2430652#M96549</guid>
      <dc:creator>tcc_pascal1</dc:creator>
      <dc:date>2024-03-14T08:18:29Z</dc:date>
    </item>
    <item>
      <title>Re: Problem AGGR Nodistinct</title>
      <link>https://community.qlik.com/t5/App-Development/Problem-AGGR-Nodistinct/m-p/2430663#M96551</link>
      <description>&lt;P&gt;This looks like a really smart solution, but I would like to make it work with one table, because we prepare the data in a data warehouse beforehand&lt;/P&gt;</description>
      <pubDate>Thu, 14 Mar 2024 08:32:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Problem-AGGR-Nodistinct/m-p/2430663#M96551</guid>
      <dc:creator>tcc_pascal1</dc:creator>
      <dc:date>2024-03-14T08:32:39Z</dc:date>
    </item>
    <item>
      <title>Re: Problem AGGR Nodistinct</title>
      <link>https://community.qlik.com/t5/App-Development/Problem-AGGR-Nodistinct/m-p/2430827#M96574</link>
      <description>&lt;P&gt;Qlik has an ETL-like capability in its load script.&amp;nbsp; you shouldnt confine yourself with what form your data is available in.&amp;nbsp; you model your data the way you think it should be or what is best for your dashboard.&amp;nbsp; at the end of the day, you will decide which works best for you.&amp;nbsp; im sure there will be a smart complicated expression that will help you arrive at the required output but keeping things simple helps in the long run.&amp;nbsp; if you have a single table, you can break it up into two.&amp;nbsp; i didnt add that in as it was obvious - you have 1 table and to deliver your requirement i recommend a DM change so you can do something like:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;NoConcatenate
Categories:
Load Monat &amp;amp; '|' &amp;amp; [Product ID] as key,
	[Kat 1], 
    [Kat 2],
    [Kat 3]
Resident
	YOURTABLE;
    
Products:
load distinct 
	Monat &amp;amp; '|' &amp;amp; [Product ID] as key,
	Monat,
    [Product ID],
    Value 
resident YOURTABLE;

drop table YOURTABLE;&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;i didnt add a distinct in the Categories table as your data had duplicates which may drive other requirements not defined above.&amp;nbsp; however, looking at the data in isolation makes me think the duplicates dont make sense.&lt;BR /&gt;&lt;BR /&gt;sample run:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="edwin_0-1710423089172.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/161995iB09E81DA8F618F0B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="edwin_0-1710423089172.png" alt="edwin_0-1710423089172.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="edwin_1-1710423106005.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/161996i3A54BBC11AE9CFDF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="edwin_1-1710423106005.png" alt="edwin_1-1710423106005.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Mar 2024 13:35:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Problem-AGGR-Nodistinct/m-p/2430827#M96574</guid>
      <dc:creator>edwin</dc:creator>
      <dc:date>2024-03-14T13:35:46Z</dc:date>
    </item>
    <item>
      <title>Re: Problem AGGR Nodistinct</title>
      <link>https://community.qlik.com/t5/App-Development/Problem-AGGR-Nodistinct/m-p/2431877#M96676</link>
      <description>&lt;P&gt;I have implemented your solution and it works perfect. Thanks a lot!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Mar 2024 12:39:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Problem-AGGR-Nodistinct/m-p/2431877#M96676</guid>
      <dc:creator>tcc_pascal1</dc:creator>
      <dc:date>2024-03-18T12:39:31Z</dc:date>
    </item>
    <item>
      <title>Re: Problem AGGR Nodistinct</title>
      <link>https://community.qlik.com/t5/App-Development/Problem-AGGR-Nodistinct/m-p/2433780#M96845</link>
      <description>&lt;P&gt;yw&lt;/P&gt;</description>
      <pubDate>Fri, 22 Mar 2024 13:40:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Problem-AGGR-Nodistinct/m-p/2433780#M96845</guid>
      <dc:creator>edwin</dc:creator>
      <dc:date>2024-03-22T13:40:49Z</dc:date>
    </item>
  </channel>
</rss>

