<?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 How to obtain percentage based on 2 data values? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-obtain-percentage-based-on-2-data-values/m-p/1375801#M808886</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I need to obtain a percentage for a Bar Chart, with the dimension of Monthly results&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The percentage is obtain from the number of resignations divided into the total employees of a company.&lt;/P&gt;&lt;P&gt;Resignations and Employees are two different tables, and both are organized by month.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I obtain the percentage if I used the month from Resignations as dimension gives one result if I used the month from Employees gives me another result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestion?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator>jgarciaf106</dc:creator>
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>How to obtain percentage based on 2 data values?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-obtain-percentage-based-on-2-data-values/m-p/1375801#M808886</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I need to obtain a percentage for a Bar Chart, with the dimension of Monthly results&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The percentage is obtain from the number of resignations divided into the total employees of a company.&lt;/P&gt;&lt;P&gt;Resignations and Employees are two different tables, and both are organized by month.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I obtain the percentage if I used the month from Resignations as dimension gives one result if I used the month from Employees gives me another result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestion?&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/How-to-obtain-percentage-based-on-2-data-values/m-p/1375801#M808886</guid>
      <dc:creator>jgarciaf106</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to obtain percentage based on 2 data values?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-obtain-percentage-based-on-2-data-values/m-p/1375802#M808887</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Andres,&lt;/P&gt;&lt;P&gt;If your two tables are associated on a month field then an expression like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;count(EmployeeID)/count(ResignationID)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;should work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It would help if you posted some sample data so you could be given the expression using actual field names. Also there may be some issues that complicate matters that are not apparent from the brief outline you've given.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Andrew&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Oct 2017 14:15:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-obtain-percentage-based-on-2-data-values/m-p/1375802#M808887</guid>
      <dc:creator>effinty2112</dc:creator>
      <dc:date>2017-10-16T14:15:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to obtain percentage based on 2 data values?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-obtain-percentage-based-on-2-data-values/m-p/1375803#M808888</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Andrew,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I use the following expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;count({$&amp;lt;[TO_Employee/CW_Type]={"Regular"},TO_RATE_1_or_2={"Yes"},[TO_Voluntary/Involuntary_Terminations]={"Voluntary"}&amp;gt;}TO_Employee_ID)/&lt;/P&gt;&lt;P&gt;count({$&amp;lt;HC_Employee\CW_Type={"Regular"},HC_RATE_1_or_2={"Yes"}&amp;gt;}HC_Employee_ID)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where the first statement is related to the resignations and second statement is related to employee data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think the issue I am experiencing is related to the Dimension&lt;/P&gt;&lt;P&gt;Cause I am using the month from Resignation TO_Month&amp;nbsp; and&amp;nbsp; not the month from Employee data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Oct 2017 14:22:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-obtain-percentage-based-on-2-data-values/m-p/1375803#M808888</guid>
      <dc:creator>jgarciaf106</dc:creator>
      <dc:date>2017-10-16T14:22:59Z</dc:date>
    </item>
  </channel>
</rss>

