<?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: IF Stmnt in Expression  is not working in Chart in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/IF-Stmnt-in-Expression-is-not-working-in-Chart/m-p/703818#M1084941</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yet to get the solution for this particular problem of mine.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 19 Jun 2014 11:22:31 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-06-19T11:22:31Z</dc:date>
    <item>
      <title>IF Stmnt in Expression  is not working in Chart</title>
      <link>https://community.qlik.com/t5/QlikView/IF-Stmnt-in-Expression-is-not-working-in-Chart/m-p/703814#M1084937</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The IF statement in the Dimension of a Straight Table is working fine,but when i try to use the same IF statement with a minimal modification in the Expression of a Chart it returns nothing.&lt;/P&gt;&lt;P&gt; The IF statement used in the Dimension is given below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if(aggr((Sum({$&amp;lt;$(vUtlExceptions)&amp;gt;}Utilization)/Sum({$&amp;lt;$(vUtlExceptions)&amp;gt;}Available)&amp;lt;=.5), Name, [M1 Mgr Name], [M2 Mgr Name],[M3 Mgr Name]) , Name)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The above statement is checking if the Utilization% is less than equal to 50% then Display the name of those Employees,along with their managerial hierarchy.&lt;/P&gt;&lt;P&gt;Similarly i wanted to show the Count of Employees under each and every M1 Manager whose Utilization is LE (&amp;lt;=) 50%.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There on the Chart i have used M1 Manager in the Dimension and on the Expression tab i am trying to use the below IF statement,but it is not returning any results.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if(aggr((Sum({$&amp;lt;$(vUtlExceptions)&amp;gt;}Utilization)/Sum({$&amp;lt;$(vUtlExceptions)&amp;gt;}Available)&amp;lt;=.5)),Count([Employee Id]))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would appreciate if anybody can guide me on how to showt the count of Employees whose Utilization% id &amp;lt;= 50%.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vineet&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jun 2014 14:19:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/IF-Stmnt-in-Expression-is-not-working-in-Chart/m-p/703814#M1084937</guid>
      <dc:creator />
      <dc:date>2014-06-18T14:19:10Z</dc:date>
    </item>
    <item>
      <title>Re: IF Stmnt in Expression  is not working in Chart</title>
      <link>https://community.qlik.com/t5/QlikView/IF-Stmnt-in-Expression-is-not-working-in-Chart/m-p/703815#M1084938</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Count({&amp;lt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;[Employee Id]&lt;/SPAN&gt;={'=&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Sum({$&amp;lt;$(vUtlExceptions)&amp;gt;}Utilization)/Sum({$&amp;lt;$(vUtlExceptions)&amp;gt;}Available)&amp;lt;=.5&lt;/SPAN&gt;'}&amp;gt;} [Employee Id])&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jun 2014 14:32:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/IF-Stmnt-in-Expression-is-not-working-in-Chart/m-p/703815#M1084938</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2014-06-18T14:32:02Z</dc:date>
    </item>
    <item>
      <title>Re: Re: IF Stmnt in Expression  is not working in Chart</title>
      <link>https://community.qlik.com/t5/QlikView/IF-Stmnt-in-Expression-is-not-working-in-Chart/m-p/703816#M1084939</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;Thanks for giving a shot but i am sorry to say that the statement provided by you is simply giving me the count of Employees.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please find the attached qvw file.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jun 2014 17:20:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/IF-Stmnt-in-Expression-is-not-working-in-Chart/m-p/703816#M1084939</guid>
      <dc:creator />
      <dc:date>2014-06-18T17:20:26Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Re: IF Stmnt in Expression  is not working in Chart</title>
      <link>https://community.qlik.com/t5/QlikView/IF-Stmnt-in-Expression-is-not-working-in-Chart/m-p/703817#M1084940</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See attached qvw&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jun 2014 17:38:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/IF-Stmnt-in-Expression-is-not-working-in-Chart/m-p/703817#M1084940</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2014-06-18T17:38:22Z</dc:date>
    </item>
    <item>
      <title>Re: IF Stmnt in Expression  is not working in Chart</title>
      <link>https://community.qlik.com/t5/QlikView/IF-Stmnt-in-Expression-is-not-working-in-Chart/m-p/703818#M1084941</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yet to get the solution for this particular problem of mine.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jun 2014 11:22:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/IF-Stmnt-in-Expression-is-not-working-in-Chart/m-p/703818#M1084941</guid>
      <dc:creator />
      <dc:date>2014-06-19T11:22:31Z</dc:date>
    </item>
  </channel>
</rss>

