<?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 Get Selected Count in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Get-Selected-Count/m-p/100472#M16016</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have the following data in my data model.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/208171_Capture.JPG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A resource works for 40 hours in a week. My requirement is that when user selects &lt;EM&gt;n&lt;/EM&gt; number of projects, then the corresponding projectedhours should be substracted from 40.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ex: If user selects 2 ptA projects and 3 ptB projects then (2x2.5hrs)+(3*4hrs) should be subtracted from 40 and I should get 40-12=27.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If user selects 1ptA project and 2 ptC projects then (1x2.5hrs)+(2x3hrs) should be subtracted from 40 and I should get 40-8.5=41.5.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope I have made the requirement clear. I'm not able to use the projectedhours in the expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Yash&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 18 Jul 2018 10:33:52 GMT</pubDate>
    <dc:creator>yashcena</dc:creator>
    <dc:date>2018-07-18T10:33:52Z</dc:date>
    <item>
      <title>Get Selected Count</title>
      <link>https://community.qlik.com/t5/QlikView/Get-Selected-Count/m-p/100472#M16016</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have the following data in my data model.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/208171_Capture.JPG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A resource works for 40 hours in a week. My requirement is that when user selects &lt;EM&gt;n&lt;/EM&gt; number of projects, then the corresponding projectedhours should be substracted from 40.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ex: If user selects 2 ptA projects and 3 ptB projects then (2x2.5hrs)+(3*4hrs) should be subtracted from 40 and I should get 40-12=27.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If user selects 1ptA project and 2 ptC projects then (1x2.5hrs)+(2x3hrs) should be subtracted from 40 and I should get 40-8.5=41.5.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope I have made the requirement clear. I'm not able to use the projectedhours in the expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Yash&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jul 2018 10:33:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-Selected-Count/m-p/100472#M16016</guid>
      <dc:creator>yashcena</dc:creator>
      <dc:date>2018-07-18T10:33:52Z</dc:date>
    </item>
    <item>
      <title>Re: Get Selected Count</title>
      <link>https://community.qlik.com/t5/QlikView/Get-Selected-Count/m-p/100473#M16017</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is this not working&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;40 - Sum(ProjectHours)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EDIT: Why are you not able to use ProjectHours in your expression?&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jul 2018 10:38:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-Selected-Count/m-p/100473#M16017</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-07-18T10:38:22Z</dc:date>
    </item>
  </channel>
</rss>

