<?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 in dimension in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/count-in-dimension/m-p/1036629#M464603</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gysbert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my Dimension accounting is calculated:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;=(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; (&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;asset_status&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = 'sold', &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;postrule_id&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;amp;'.'&amp;amp;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;kst_id&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;amp;'.'&amp;amp;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;project_id&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;amp;' (H) ', &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;postrule_id&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;amp;'.'&amp;amp;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;kst_id&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;amp;'.'&amp;amp;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;project_id&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;amp;' (S) '))&lt;BR /&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Do you think it is possible to say, that the line should only be shown, if the postrule_id is unequal?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 15 Apr 2016 06:56:24 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-04-15T06:56:24Z</dc:date>
    <item>
      <title>count in dimension</title>
      <link>https://community.qlik.com/t5/QlikView/count-in-dimension/m-p/1036626#M464600</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good Morning,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does someone of you know, how to Count in a Dimension?&lt;/P&gt;&lt;P&gt;As you can see the first two project_id's have the same postrule_id.&lt;/P&gt;&lt;P&gt;In this case I dont want to see that entry.&lt;/P&gt;&lt;P&gt;I thought of a count-function in the Dimension so that &lt;SPAN style="text-decoration: underline;"&gt;only&lt;/SPAN&gt; the project_id's will be shown where at more than one postrule_id is included.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;(Null-values should not be shown in the table)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/121753_pastedImage_0.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I searched the qlikview-Forum but could not find anything for Dimension (only for calculation).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does someone of you have an idea?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Apr 2016 06:40:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/count-in-dimension/m-p/1036626#M464600</guid>
      <dc:creator />
      <dc:date>2016-04-15T06:40:56Z</dc:date>
    </item>
    <item>
      <title>Re: count in dimension</title>
      <link>https://community.qlik.com/t5/QlikView/count-in-dimension/m-p/1036627#M464601</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Perhaps a calculated dimension like this will do the trick: =if(aggr(count(distinct accounting),postrule_id,asset_id,project_id,txnper,txnyear)=1, postrule_id)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;If not, please post a small qlikview document that demonstrates the problem.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Apr 2016 06:51:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/count-in-dimension/m-p/1036627#M464601</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2016-04-15T06:51:36Z</dc:date>
    </item>
    <item>
      <title>Re: count in dimension</title>
      <link>https://community.qlik.com/t5/QlikView/count-in-dimension/m-p/1036628#M464602</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could probably use expression something like:&lt;/P&gt;&lt;P&gt;=If( Aggr( Count( Distinct &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt; postrule_id) , txnyear, txnper, projectid)&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&amp;gt;1&lt;/SPAN&gt;, &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;projectid)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;in place of &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;projectid&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;and check 'Suppress When value is Null' in the dimension tab.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Apr 2016 06:56:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/count-in-dimension/m-p/1036628#M464602</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2016-04-15T06:56:04Z</dc:date>
    </item>
    <item>
      <title>Re: count in dimension</title>
      <link>https://community.qlik.com/t5/QlikView/count-in-dimension/m-p/1036629#M464603</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gysbert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my Dimension accounting is calculated:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;=(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; (&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;asset_status&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = 'sold', &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;postrule_id&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;amp;'.'&amp;amp;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;kst_id&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;amp;'.'&amp;amp;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;project_id&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;amp;' (H) ', &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;postrule_id&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;amp;'.'&amp;amp;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;kst_id&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;amp;'.'&amp;amp;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;project_id&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;amp;' (S) '))&lt;BR /&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Do you think it is possible to say, that the line should only be shown, if the postrule_id is unequal?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Apr 2016 06:56:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/count-in-dimension/m-p/1036629#M464603</guid>
      <dc:creator />
      <dc:date>2016-04-15T06:56:24Z</dc:date>
    </item>
  </channel>
</rss>

