<?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: Distinct count Per Group of Dimensions in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Distinct-count-Per-Group-of-Dimensions/m-p/291317#M498499</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Stefan,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Thanks for answer.&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;swuehl schrieb:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi Sravan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so you want to display only one row? I think you got this result if you remove Processchain and Processchain_2 from dimensions and do a count(distinct ProcessChain_1) as expression.&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;It is not about row. what I want is, if the Processchain is same, For example 91170 I get a count of user QMN_SUB as 8 (see the fig below)&lt;/P&gt;&lt;P&gt;&lt;IMG alt="chartRisk2.jpg" class="jive-image-thumbnail jive-image" onclick="" src="https://community.qlik.com/legacyfs/online/6012_chartRisk2.jpg" width="450" /&gt;&lt;/P&gt;&lt;P&gt;This User must be counted only once and not 8 times as in my chart now. Thats my problem. I hope I am clear now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sravan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 20 Jul 2011 14:39:03 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-07-20T14:39:03Z</dc:date>
    <item>
      <title>Distinct count Per Group of Dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/Distinct-count-Per-Group-of-Dimensions/m-p/291312#M498494</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Seems to be simple but I am not getting this one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a chart with 3 Dimensions and 1 Expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Three dimensions are&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Processchain&lt;/P&gt;&lt;P&gt;2) ProcesschainText&lt;/P&gt;&lt;P&gt;3) Client&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and the expression is Count(distinct [Composite role/User_UNAME])&lt;/P&gt;&lt;P&gt;The chart Looks as below and the Field [Composite role/User_UNAME] is as given below.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="chartRisk.jpg" class="jive-image-thumbnail jive-image" onclick="" src="https://community.qlik.com/legacyfs/online/5970_chartRisk.jpg" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now my problem is Here if I select a User-&amp;gt;[Composite role/User_UNAME ] as below it shows 1 for all the Processchains.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="chartRisk1.jpg" class="jive-image-thumbnail jive-image" onclick="" src="https://community.qlik.com/legacyfs/online/5971_chartRisk1.jpg" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Actually I need the count as 1 as the Processchains are almost same. For Ex here.. 91170_01 to 91170_08 should be considered as 91170 and count should be for the above user only 1 for all these Process chains and not individually 1 per each processchain as above in diagram.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;BR /&gt;Sravan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jul 2011 14:46:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Distinct-count-Per-Group-of-Dimensions/m-p/291312#M498494</guid>
      <dc:creator />
      <dc:date>2011-07-19T14:46:37Z</dc:date>
    </item>
    <item>
      <title>Distinct count Per Group of Dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/Distinct-count-Per-Group-of-Dimensions/m-p/291313#M498495</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sravan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how do you decide that process chains are almost the same? If you decide that using the process chain number, first part, disregarding&amp;nbsp; the part after "_", you could maybe build a new process chain ID from that just to count the "really" distinct process chains.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jul 2011 15:26:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Distinct-count-Per-Group-of-Dimensions/m-p/291313#M498495</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2011-07-19T15:26:14Z</dc:date>
    </item>
    <item>
      <title>Re: Distinct count Per Group of Dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/Distinct-count-Per-Group-of-Dimensions/m-p/291314#M498496</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Stefan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your answer.&lt;/P&gt;&lt;P&gt;I decided that the Processchains are same based on the text of Processchain. See the previous attached screenshot.&lt;/P&gt;&lt;P&gt;I did the splitting of the Field using Subfield in the following way&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;subfield(Processchain,'-',1) as Processchain1&lt;/P&gt;&lt;P&gt;subfield(Processchain,'-',2) as Processchain2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I need to use this Processchain1 to Remove the users which are redundant for 91170&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for Example For Processchain1= 91170, the User QMN_SUB is present in everyrow. It must be only once if the processchain1 is same( as in the attached case).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="6007" alt="chartRisk2.jpg" class="jive-image-thumbnail jive-image" src="https://community.qlik.com/legacyfs/online/6007_chartRisk2.jpg" width="450" /&gt;&lt;/P&gt;&lt;P&gt;Can this be done in chart or it must be done in Script? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;BR /&gt;Sravan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jul 2011 13:35:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Distinct-count-Per-Group-of-Dimensions/m-p/291314#M498496</guid>
      <dc:creator />
      <dc:date>2011-07-20T13:35:37Z</dc:date>
    </item>
    <item>
      <title>Re: Distinct count Per Group of Dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/Distinct-count-Per-Group-of-Dimensions/m-p/291315#M498497</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sravan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so you want to display only one row? I think you got this result if you remove Processchain and Processchain_2 from dimensions and do a count(distinct ProcessChain_1) as expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to show also Processchain and Processchain_2 that might be a bit more tricky.&lt;/P&gt;&lt;P&gt;Could you describe how the table should look like then, i.e. you want the expression to be shown only once. In which row then?&lt;/P&gt;&lt;P&gt;It might be possible to check the dimension level an calculate the expression conditional or as subtotal.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just some ideas.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jul 2011 13:56:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Distinct-count-Per-Group-of-Dimensions/m-p/291315#M498497</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2011-07-20T13:56:31Z</dc:date>
    </item>
    <item>
      <title>Re: Distinct count Per Group of Dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/Distinct-count-Per-Group-of-Dimensions/m-p/291316#M498498</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Another idea,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if the second part of the processchain always follow the scheme _01, _02, _03 and always starts with _01,&lt;/P&gt;&lt;P&gt;then you might do something like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;count(if(processchain2='01', whateveryoucount, 0)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can force QlikView to show also 0 values in presentation tab of properties, I think.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But not sure what you are after.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jul 2011 14:00:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Distinct-count-Per-Group-of-Dimensions/m-p/291316#M498498</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2011-07-20T14:00:56Z</dc:date>
    </item>
    <item>
      <title>Re: Distinct count Per Group of Dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/Distinct-count-Per-Group-of-Dimensions/m-p/291317#M498499</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Stefan,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Thanks for answer.&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;swuehl schrieb:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi Sravan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so you want to display only one row? I think you got this result if you remove Processchain and Processchain_2 from dimensions and do a count(distinct ProcessChain_1) as expression.&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;It is not about row. what I want is, if the Processchain is same, For example 91170 I get a count of user QMN_SUB as 8 (see the fig below)&lt;/P&gt;&lt;P&gt;&lt;IMG alt="chartRisk2.jpg" class="jive-image-thumbnail jive-image" onclick="" src="https://community.qlik.com/legacyfs/online/6012_chartRisk2.jpg" width="450" /&gt;&lt;/P&gt;&lt;P&gt;This User must be counted only once and not 8 times as in my chart now. Thats my problem. I hope I am clear now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sravan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jul 2011 14:39:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Distinct-count-Per-Group-of-Dimensions/m-p/291317#M498499</guid>
      <dc:creator />
      <dc:date>2011-07-20T14:39:03Z</dc:date>
    </item>
    <item>
      <title>Re: Distinct count Per Group of Dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/Distinct-count-Per-Group-of-Dimensions/m-p/291318#M498500</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sravan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sorry, I can't see a count of 8 anywhere in the fig.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I see the rows with a count of 1 each, because the expression is evaluated per row.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So what is the expression that gives you 8?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example, if you put &lt;/P&gt;&lt;P&gt;=count(distinct Processchain1) &lt;/P&gt;&lt;P&gt;in a textbox and select the user, you should get &lt;/P&gt;&lt;P&gt;1 &lt;/P&gt;&lt;P&gt;as result, shouldn't you?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry if I am a bit slow today.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jul 2011 14:48:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Distinct-count-Per-Group-of-Dimensions/m-p/291318#M498500</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2011-07-20T14:48:59Z</dc:date>
    </item>
    <item>
      <title>Distinct count Per Group of Dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/Distinct-count-Per-Group-of-Dimensions/m-p/291319#M498501</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As I said in a previous post,&lt;/P&gt;&lt;P&gt;if you don't want to count the subchains, remove them from the dimension list (Keeping only Processchain1 and text).&lt;/P&gt;&lt;P&gt;Is there any need to show these details for you? Then you might consider splitting the information (count of processchain table and detailed listing of all subchains.&lt;/P&gt;&lt;P&gt;Or use subtotals.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jul 2011 14:57:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Distinct-count-Per-Group-of-Dimensions/m-p/291319#M498501</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2011-07-20T14:57:59Z</dc:date>
    </item>
    <item>
      <title>Re: Distinct count Per Group of Dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/Distinct-count-Per-Group-of-Dimensions/m-p/291320#M498502</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Stefan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I solved this by changing the data in the Sourcesystem. Thanks for your help. I think I could not express my problem correctly. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards&lt;/P&gt;&lt;P&gt;Sravan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jul 2011 10:18:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Distinct-count-Per-Group-of-Dimensions/m-p/291320#M498502</guid>
      <dc:creator />
      <dc:date>2011-07-22T10:18:39Z</dc:date>
    </item>
  </channel>
</rss>

