<?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: Number of fields calculation in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Number-of-fields-calculation/m-p/1313287#M824228</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;maybe this&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;SPAN style="color: #0000ff;"&gt;Count&lt;/SPAN&gt;({&amp;lt;&lt;SPAN style="color: #800000;"&gt;FieldName&lt;/SPAN&gt;={'=Count(DISTINCT WithPropID)=1 and Count(WithPropID) &amp;gt; 1'}&amp;gt;} &lt;SPAN style="color: #0000ff;"&gt;DISTINCT&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;FieldName&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;IMG class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/171798_pastedImage_1.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Concat&lt;/SPAN&gt;&lt;SPAN&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;FieldName&lt;/SPAN&gt;&lt;SPAN&gt;={'=Count(DISTINCT WithPropID)=1 and Count(WithPropID) &amp;gt; 1'}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;DISTINCT&lt;/SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;FieldName&lt;/SPAN&gt;&lt;SPAN&gt;,' - ') &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;IMG class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/171799_pastedImage_3.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;Antonio&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 28 Jul 2017 18:58:55 GMT</pubDate>
    <dc:creator>antoniotiman</dc:creator>
    <dc:date>2017-07-28T18:58:55Z</dc:date>
    <item>
      <title>Number of fields calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Number-of-fields-calculation/m-p/1313282#M824223</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Guys,&lt;/P&gt;&lt;P&gt;I have a table as shown below,&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Screenshot_19.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/171797_Screenshot_19.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;I want to get the &lt;STRONG&gt;count of FieldName&lt;/STRONG&gt; for the fields which are having same WithPropID.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As per this data, I need the result as &lt;STRONG&gt;1 - FieldName (&lt;SPAN style="font-size: 13.3333px;"&gt;SHPM_IDEN_NO&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG&gt;) having same &lt;SPAN style="font-size: 13.3333px;"&gt;WithPropID (4).&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;Thanks,&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;Siva.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Number-of-fields-calculation/m-p/1313282#M824223</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Number of fields calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Number-of-fields-calculation/m-p/1313283#M824224</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;=count(&amp;lt;{FieldName={'&lt;SPAN style="font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;SHPM_IDEN_NO&lt;/SPAN&gt;'}}&amp;gt; &lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;WithPropID)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Jul 2017 18:31:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Number-of-fields-calculation/m-p/1313283#M824224</guid>
      <dc:creator>m_woolf</dc:creator>
      <dc:date>2017-07-28T18:31:33Z</dc:date>
    </item>
    <item>
      <title>Re: Number of fields calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Number-of-fields-calculation/m-p/1313284#M824225</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you post the sample in excel and also the expected output!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Jul 2017 18:34:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Number-of-fields-calculation/m-p/1313284#M824225</guid>
      <dc:creator>vinieme12</dc:creator>
      <dc:date>2017-07-28T18:34:39Z</dc:date>
    </item>
    <item>
      <title>Re: Number of fields calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Number-of-fields-calculation/m-p/1313285#M824226</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No, I don't want the count of &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;WithPropID. I want the FieldName count which has same &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;WithPropID.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Jul 2017 18:35:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Number-of-fields-calculation/m-p/1313285#M824226</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-07-28T18:35:57Z</dc:date>
    </item>
    <item>
      <title>Re: Number of fields calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Number-of-fields-calculation/m-p/1313286#M824227</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Attached sample data, and my output is 1.&lt;/P&gt;&lt;P&gt;i.e Count(FieldName) which has same &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;WithPropID.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Jul 2017 18:37:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Number-of-fields-calculation/m-p/1313286#M824227</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-07-28T18:37:54Z</dc:date>
    </item>
    <item>
      <title>Re: Number of fields calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Number-of-fields-calculation/m-p/1313287#M824228</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;maybe this&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;SPAN style="color: #0000ff;"&gt;Count&lt;/SPAN&gt;({&amp;lt;&lt;SPAN style="color: #800000;"&gt;FieldName&lt;/SPAN&gt;={'=Count(DISTINCT WithPropID)=1 and Count(WithPropID) &amp;gt; 1'}&amp;gt;} &lt;SPAN style="color: #0000ff;"&gt;DISTINCT&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;FieldName&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;IMG class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/171798_pastedImage_1.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Concat&lt;/SPAN&gt;&lt;SPAN&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;FieldName&lt;/SPAN&gt;&lt;SPAN&gt;={'=Count(DISTINCT WithPropID)=1 and Count(WithPropID) &amp;gt; 1'}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;DISTINCT&lt;/SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;FieldName&lt;/SPAN&gt;&lt;SPAN&gt;,' - ') &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;IMG class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/171799_pastedImage_3.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;Antonio&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Jul 2017 18:58:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Number-of-fields-calculation/m-p/1313287#M824228</guid>
      <dc:creator>antoniotiman</dc:creator>
      <dc:date>2017-07-28T18:58:55Z</dc:date>
    </item>
    <item>
      <title>Re: Number of fields calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Number-of-fields-calculation/m-p/1313288#M824229</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try below , this will check for exact combination of each value in Fieldname, WithPropID and Length&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dimension&lt;/P&gt;&lt;P&gt;Fieldname&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expression&lt;/P&gt;&lt;P&gt;=sum(AGGR(if(count(DISTINCT TOTAL &amp;lt;FieldName&amp;gt; FieldName&amp;amp;Length&amp;amp;WithPropID)=1 and count(FieldName)&amp;gt;1 ,1,0),FieldName))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or if you only need fieldname and withpropid combination, remove length from the expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum(AGGR(if(count(distinct total&amp;nbsp; &amp;lt;FieldName&amp;gt; FieldName&amp;amp;WithPropID)=1 and count(FieldName)&amp;gt;1 ,1,0),FieldName))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Jul 2017 19:13:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Number-of-fields-calculation/m-p/1313288#M824229</guid>
      <dc:creator>vinieme12</dc:creator>
      <dc:date>2017-07-28T19:13:04Z</dc:date>
    </item>
    <item>
      <title>Re: Number of fields calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Number-of-fields-calculation/m-p/1313289#M824230</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Vineeth. But using this expression, I couldn't expect my output.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Jul 2017 19:44:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Number-of-fields-calculation/m-p/1313289#M824230</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-07-28T19:44:50Z</dc:date>
    </item>
    <item>
      <title>Re: Number of fields calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Number-of-fields-calculation/m-p/1313290#M824231</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;works for me!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Jul 2017 20:01:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Number-of-fields-calculation/m-p/1313290#M824231</guid>
      <dc:creator>vinieme12</dc:creator>
      <dc:date>2017-07-28T20:01:54Z</dc:date>
    </item>
  </channel>
</rss>

