<?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: Wrong result Count distinct after split of data in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Wrong-result-Count-distinct-after-split-of-data/m-p/1580471#M42385</link>
    <description>&lt;P&gt;I don't understand what u mean;&amp;nbsp;&lt;/P&gt;&lt;P&gt;for example:&lt;/P&gt;&lt;P&gt;100 unique creditors have type A&lt;/P&gt;&lt;P&gt;I split type A in 50 type A1 and 50 Type A2&lt;/P&gt;&lt;P&gt;I still have to have 100 unique creditors.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 15 May 2019 13:46:11 GMT</pubDate>
    <dc:creator>Lars_Esser</dc:creator>
    <dc:date>2019-05-15T13:46:11Z</dc:date>
    <item>
      <title>Wrong result Count distinct after split of data</title>
      <link>https://community.qlik.com/t5/App-Development/Wrong-result-Count-distinct-after-split-of-data/m-p/1580440#M42381</link>
      <description>&lt;P&gt;We have the following bar chart:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Knipsel1.PNG" style="width: 479px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/12087i8086D6B6B06F40A6/image-dimensions/479x295?v=v2" width="479" height="295" role="button" title="Knipsel1.PNG" alt="Knipsel1.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Dimensions are YEAR en TYPE CREDITOR, Meassure is a Distinct count of the CREDITOR NUMBERS.&amp;nbsp;&lt;/P&gt;&lt;P&gt;In Qlik we want to spit a certain type ("Crediteur" - 1564 items).&amp;nbsp;&lt;/P&gt;&lt;P&gt;We do this by making a new masteritem (dimension) with the following expression:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;=if ([CRED_DIM_TYPE_CREDITEUR] = 'Crediteur',&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;if(Match(ID_CATEGORIE_LEVEL_3, 'HR.07.02','HR.07.03','HR.13.03','HR.13.02','HR.09.06',&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;'FAC.06.01','FAC.06.02','FAC.03.03','AM.07.10','HR.08.03',&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;'FAC.06.03','HR.06.01'),'Geaccepteerde crediteur','Niet Geaccepteerde Crediteur'),&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;CRED_DIM_TYPE_CREDITEUR)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;When we change the the dimension of the chart to this new one we get:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Knipsel2.PNG" style="width: 623px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/12090i88CA64202ED207FA/image-size/large?v=v2&amp;amp;px=999" role="button" title="Knipsel2.PNG" alt="Knipsel2.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The result of the Count Distinct is different, while the source data is not changed.&amp;nbsp;&lt;/P&gt;&lt;P&gt;We see 1564 items for "Niet Geaccepteerde crediteur" in stead of 1212&lt;/P&gt;&lt;P&gt;352 items for "Geaccepteerde crediteur" are correct.&amp;nbsp;&lt;/P&gt;&lt;P&gt;1564-352 =1212&lt;/P&gt;&lt;P&gt;So it seems like the split does not work in our bar chart&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 05:49:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Wrong-result-Count-distinct-after-split-of-data/m-p/1580440#M42381</guid>
      <dc:creator>Lars_Esser</dc:creator>
      <dc:date>2024-11-16T05:49:59Z</dc:date>
    </item>
    <item>
      <title>Re: Wrong result Count distinct after split of data</title>
      <link>https://community.qlik.com/t5/App-Development/Wrong-result-Count-distinct-after-split-of-data/m-p/1580455#M42383</link>
      <description>&lt;P&gt;I would expect count distinct to produce different results if you change the dimension. The coarser bucket may land up ignoring a duplicate which is not duplicated in the finer resolution buckets. So the finer the granularity, the higher the total of the distinct count will be.&lt;/P&gt;</description>
      <pubDate>Wed, 15 May 2019 13:32:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Wrong-result-Count-distinct-after-split-of-data/m-p/1580455#M42383</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2019-05-15T13:32:59Z</dc:date>
    </item>
    <item>
      <title>Re: Wrong result Count distinct after split of data</title>
      <link>https://community.qlik.com/t5/App-Development/Wrong-result-Count-distinct-after-split-of-data/m-p/1580471#M42385</link>
      <description>&lt;P&gt;I don't understand what u mean;&amp;nbsp;&lt;/P&gt;&lt;P&gt;for example:&lt;/P&gt;&lt;P&gt;100 unique creditors have type A&lt;/P&gt;&lt;P&gt;I split type A in 50 type A1 and 50 Type A2&lt;/P&gt;&lt;P&gt;I still have to have 100 unique creditors.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 15 May 2019 13:46:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Wrong-result-Count-distinct-after-split-of-data/m-p/1580471#M42385</guid>
      <dc:creator>Lars_Esser</dc:creator>
      <dc:date>2019-05-15T13:46:11Z</dc:date>
    </item>
    <item>
      <title>Re: Wrong result Count distinct after split of data</title>
      <link>https://community.qlik.com/t5/App-Development/Wrong-result-Count-distinct-after-split-of-data/m-p/1580689#M42410</link>
      <description>&lt;P&gt;Solved; Used a wrong field in the creation of the dimension.&lt;/P&gt;</description>
      <pubDate>Wed, 15 May 2019 20:55:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Wrong-result-Count-distinct-after-split-of-data/m-p/1580689#M42410</guid>
      <dc:creator>Lars_Esser</dc:creator>
      <dc:date>2019-05-15T20:55:58Z</dc:date>
    </item>
  </channel>
</rss>

