<?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: Count Distinct with condition in Text Object? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Count-Distinct-with-condition-in-Text-Object/m-p/1173435#M462757</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot. The round brackets after "Distinct" are not necessary.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 25 Aug 2016 14:50:15 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-08-25T14:50:15Z</dc:date>
    <item>
      <title>Count Distinct with condition in Text Object?</title>
      <link>https://community.qlik.com/t5/QlikView/Count-Distinct-with-condition-in-Text-Object/m-p/1173431#M462753</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am still quite new to QlikView and could need some help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to track certain changes made in SAP with QlikView.&lt;/P&gt;&lt;P&gt;The overall tracking is not a problem: I simply use a text object and =Count(Distinct (Änderungsbelegnr)). By counting the individual IDs that are created when a change is made, I now know how many changes were made in total.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, I would like to distinguish between changes concerning general data and bank data.The Information needed is stored in a different field ("SAP Tabelle"). See screenshot below.&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/135556_pastedImage_0.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;IMG class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/135560_pastedImage_2.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/P&gt;&lt;P&gt;In the second screenshot I marked two of the required values to display changes made in bank details. &lt;/P&gt;&lt;P&gt;I already thought of an if-statements, maybe in combination with a match-Statement, but I cannot make it work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So what I need in the end is a table box that looks like the following (but displays the corresponding values):&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-3" src="https://community.qlik.com/legacyfs/online/135561_pastedImage_3.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The remaining values in the field "SAP Tabelle" will be needed to create the general data figure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope I explained my problem well enough. Any suggestions are very welcome and appreciated.&lt;/P&gt;&lt;P&gt;Thank you in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Daniela&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Aug 2016 13:11:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-Distinct-with-condition-in-Text-Object/m-p/1173431#M462753</guid>
      <dc:creator />
      <dc:date>2016-08-25T13:11:20Z</dc:date>
    </item>
    <item>
      <title>Re: Count Distinct with condition in Text Object?</title>
      <link>https://community.qlik.com/t5/QlikView/Count-Distinct-with-condition-in-Text-Object/m-p/1173432#M462754</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it like this ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;assuming&amp;nbsp; "SAP Tabelle" is a field...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;count (Distinct { &amp;lt;[SAP Tabelle]={"LFBK","LFB1"}&amp;nbsp; &amp;gt; }&amp;nbsp; Änderungsbelegnr )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;sorry , if i misunderstood ..your requirement...&lt;/STRONG&gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Aug 2016 13:56:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-Distinct-with-condition-in-Text-Object/m-p/1173432#M462754</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-08-25T13:56:53Z</dc:date>
    </item>
    <item>
      <title>Re: Count Distinct with condition in Text Object?</title>
      <link>https://community.qlik.com/t5/QlikView/Count-Distinct-with-condition-in-Text-Object/m-p/1173433#M462755</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Count(Distinct ({&amp;lt;[&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;SAP Tabelle&lt;/SPAN&gt;]={'LFB1','LFBK'}&amp;gt;}Änderungsbelegnr))&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Aug 2016 14:01:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-Distinct-with-condition-in-Text-Object/m-p/1173433#M462755</guid>
      <dc:creator>avinashelite</dc:creator>
      <dc:date>2016-08-25T14:01:39Z</dc:date>
    </item>
    <item>
      <title>Re: Count Distinct with condition in Text Object?</title>
      <link>https://community.qlik.com/t5/QlikView/Count-Distinct-with-condition-in-Text-Object/m-p/1173434#M462756</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This works perfectly. Thank you so much!&lt;/P&gt;&lt;P&gt;And sorry for the confusion. I know it is a bit weird to name a field "Tabelle" &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/wink.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One additional question that just came to my mind. If I don't want to have the distinct count but the regular one, how would this look like? The below won't work. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Count&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({ &amp;lt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[SAP Tabelle ]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={'LFBK','LFB1'} &amp;gt; }&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Änderungsbelegnr&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Daniela&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Aug 2016 14:48:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-Distinct-with-condition-in-Text-Object/m-p/1173434#M462756</guid>
      <dc:creator />
      <dc:date>2016-08-25T14:48:12Z</dc:date>
    </item>
    <item>
      <title>Re: Count Distinct with condition in Text Object?</title>
      <link>https://community.qlik.com/t5/QlikView/Count-Distinct-with-condition-in-Text-Object/m-p/1173435#M462757</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot. The round brackets after "Distinct" are not necessary.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Aug 2016 14:50:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-Distinct-with-condition-in-Text-Object/m-p/1173435#M462757</guid>
      <dc:creator />
      <dc:date>2016-08-25T14:50:15Z</dc:date>
    </item>
  </channel>
</rss>

