<?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 Set analysis Expression Challenge in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-analysis-Expression-Challenge/m-p/1266526#M398930</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I have a challenge like iam calculating count of [Quote Number DMP] when [Quote Number Status]= Approved like below&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: blue;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: blue;"&gt;count&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: maroon;"&gt;[Quote Status]&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;={'APPROVED'}&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: maroon;"&gt;[Quote Number DMP]&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Courier New';"&gt;&lt;SPAN style="font-size: 9pt;"&gt;now my requirement is to include another &lt;/SPAN&gt;&lt;SPAN style="font-size: 12px;"&gt;condition where count to be calculated when the field value [Approver job name] equals to [Requester job name], kindly suggest how can i achieve it&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 10 Mar 2017 05:32:10 GMT</pubDate>
    <dc:creator>chaitanyajami</dc:creator>
    <dc:date>2017-03-10T05:32:10Z</dc:date>
    <item>
      <title>Set analysis Expression Challenge</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-Expression-Challenge/m-p/1266526#M398930</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I have a challenge like iam calculating count of [Quote Number DMP] when [Quote Number Status]= Approved like below&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: blue;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: blue;"&gt;count&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: maroon;"&gt;[Quote Status]&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;={'APPROVED'}&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: maroon;"&gt;[Quote Number DMP]&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Courier New';"&gt;&lt;SPAN style="font-size: 9pt;"&gt;now my requirement is to include another &lt;/SPAN&gt;&lt;SPAN style="font-size: 12px;"&gt;condition where count to be calculated when the field value [Approver job name] equals to [Requester job name], kindly suggest how can i achieve it&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Mar 2017 05:32:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-Expression-Challenge/m-p/1266526#M398930</guid>
      <dc:creator>chaitanyajami</dc:creator>
      <dc:date>2017-03-10T05:32:10Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis Expression Challenge</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-Expression-Challenge/m-p/1266527#M398931</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Chaitanya,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below is the draft version of expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="sql" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_14891249050135315" jivemacro_uid="_14891249050135315"&gt;
&lt;P&gt;If([Approver job name]=[Requester job name], count({&amp;lt;[Quote Status]={'APPROVED'}&amp;gt;}[Quote Number DMP]))&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please share the application with sample data? This will help me to provide you more accurate solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards!&lt;/P&gt;&lt;P&gt;Rahul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Mar 2017 05:51:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-Expression-Challenge/m-p/1266527#M398931</guid>
      <dc:creator>rahulpawarb</dc:creator>
      <dc:date>2017-03-10T05:51:01Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis Expression Challenge</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-Expression-Challenge/m-p/1266528#M398932</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rahul,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is my sample data looks like(i cannot copy app due to security restrictions) , and i tried the above expression somehow it was not working &lt;IMG alt="Untitled.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/155862_Untitled.png" style="height: 101px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Mar 2017 06:17:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-Expression-Challenge/m-p/1266528#M398932</guid>
      <dc:creator>chaitanyajami</dc:creator>
      <dc:date>2017-03-10T06:17:55Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis Expression Challenge</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-Expression-Challenge/m-p/1266529#M398933</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Chaitanya,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;As I could see that you have list boxes for Approver Job Name &amp;amp; Requester Job Name fields.&lt;/SPAN&gt; Where exactly you are planning to use this expression? If it is inside straight table then what other dimensions are there? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards!&lt;/P&gt;&lt;P&gt;Rahul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Mar 2017 06:29:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-Expression-Challenge/m-p/1266529#M398933</guid>
      <dc:creator>rahulpawarb</dc:creator>
      <dc:date>2017-03-10T06:29:17Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis Expression Challenge</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-Expression-Challenge/m-p/1266530#M398934</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;May be try like this &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=count({&amp;lt;[Quote Status]={'APPROVED'},&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG style="color: #ff0000;"&gt;KeyField&lt;/STRONG&gt;={'=[Approver job name]=[Requester job name]'}&amp;gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Quote Number DMP])&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Mar 2017 06:37:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-Expression-Challenge/m-p/1266530#M398934</guid>
      <dc:creator>settu_periasamy</dc:creator>
      <dc:date>2017-03-10T06:37:49Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis Expression Challenge</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-Expression-Challenge/m-p/1266531#M398935</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rahul,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;basically when '&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;Approver Job Name' value equal to&amp;nbsp; 'Requester Job Name' value then we are calculating the count of '&lt;SPAN style="color: #800000; font-family: 'Courier New'; font-size: 12px;"&gt;Quote Number DMP&lt;/SPAN&gt;' (with condition &lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: maroon;"&gt;[Quote Status]&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;={'APPROVED'}&lt;/SPAN&gt;), we are showing this in a textbox&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Mar 2017 07:13:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-Expression-Challenge/m-p/1266531#M398935</guid>
      <dc:creator>chaitanyajami</dc:creator>
      <dc:date>2017-03-10T07:13:00Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis Expression Challenge</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-Expression-Challenge/m-p/1266532#M398936</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;key field is not there , we just need to calculate &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;when '&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Approver Job Name' value equal to&amp;nbsp; 'Requester Job Name' value then&amp;nbsp; count of '&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12px; font-family: 'Courier New'; color: #800000;"&gt;Quote Number DMP&lt;/SPAN&gt;' (with condition &lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 9pt; font-family: 'Courier New'; color: maroon;"&gt;[Quote Status]&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;={'APPROVED'}&lt;/SPAN&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Mar 2017 07:14:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-Expression-Challenge/m-p/1266532#M398936</guid>
      <dc:creator>chaitanyajami</dc:creator>
      <dc:date>2017-03-10T07:14:05Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis Expression Challenge</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-Expression-Challenge/m-p/1266533#M398937</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you tried the Rahul's expression?&lt;/P&gt;&lt;P&gt;also check this..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;=Count(Aggr(if([Approver job name]=[Requester job name] and [Quote Status]='APPROVED',[Quote Number DMP]),[Approver job name],[Requester job name]))&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Mar 2017 07:28:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-Expression-Challenge/m-p/1266533#M398937</guid>
      <dc:creator>settu_periasamy</dc:creator>
      <dc:date>2017-03-10T07:28:30Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis Expression Challenge</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-Expression-Challenge/m-p/1266534#M398938</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;I have tried Rahul's expression it was not working, Ok i will try this Thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Mar 2017 08:15:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-Expression-Challenge/m-p/1266534#M398938</guid>
      <dc:creator>chaitanyajami</dc:creator>
      <dc:date>2017-03-10T08:15:01Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis Expression Challenge</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-Expression-Challenge/m-p/1266535#M398939</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Give this a try as well&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Count({&amp;lt;[Quote Status] = {'APPROVED'}&amp;gt;} If([Approver job name] = [Requester job name], [Quote Number DMP]))&lt;/STRONG&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Mar 2017 12:12:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-Expression-Challenge/m-p/1266535#M398939</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-03-10T12:12:09Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis Expression Challenge</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-Expression-Challenge/m-p/1266536#M398940</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Or if &lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;[Approver job name] = [Requester job name]&lt;/STRONG&gt; are coming from the same table in the backend, then create a flag in the script&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD [Approver job name],&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Requester job name],&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If([Approver job name] = [Requester job name], 1, 0) as Flag&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ....&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;FROM ...&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and then this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Count({&amp;lt;[Quote Status] = {'APPROVED'}, &lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Flag&lt;/STRONG&gt; = {1}&amp;gt;} [Quote Number DMP])&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Mar 2017 12:13:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-Expression-Challenge/m-p/1266536#M398940</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-03-10T12:13:31Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis Expression Challenge</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-Expression-Challenge/m-p/1266537#M398941</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny, Thanks for response i did the same thing and it is working fine now.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Mar 2017 04:56:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-Expression-Challenge/m-p/1266537#M398941</guid>
      <dc:creator>chaitanyajami</dc:creator>
      <dc:date>2017-03-14T04:56:42Z</dc:date>
    </item>
  </channel>
</rss>

