<?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 Correlation of two variables in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Correlation-of-two-variables/m-p/17449#M782555</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm currently working on a project where I need to compare the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;The numbers of calls sent to a unit during a day (using &lt;EM&gt;vCalls&lt;/EM&gt; as a variable)&lt;/LI&gt;&lt;LI&gt;The numbers of times a unit was assigned while doing an activity during a day (using &lt;EM&gt;vDistAct&lt;/EM&gt; as a variable)&lt;UL&gt;&lt;LI&gt;In this environment, an "activity" can be daily vehicle check, meal period, end of shift cleaning period... And they can be either delayed or interrupted - but for this example, they are all considered "disturbed"&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are working under the assumption that a busier a day will be, the more chances a unit have to be assigned during an activity and I'd like to get the correlation between the two items. There is one - I've used Excel to get it, but now I need to add it to QV.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Given the fact that I need to exclude some data point using "IF" conditions (both in Calls and Activities), I am using variables to simplify the correlation expression. &lt;SPAN style="font-size: 13.3333px;"&gt;Attached is spreadsheet with the data for Calls and Activities - the number I need to use to create the Correl expression. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've tried multiple times it QV to create a Correl expression, but I either get an error or a value of "-" (minus sign).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyone can provide assistance on that?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nic&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator>nicalbert</dc:creator>
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>Correlation of two variables</title>
      <link>https://community.qlik.com/t5/QlikView/Correlation-of-two-variables/m-p/17449#M782555</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm currently working on a project where I need to compare the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;The numbers of calls sent to a unit during a day (using &lt;EM&gt;vCalls&lt;/EM&gt; as a variable)&lt;/LI&gt;&lt;LI&gt;The numbers of times a unit was assigned while doing an activity during a day (using &lt;EM&gt;vDistAct&lt;/EM&gt; as a variable)&lt;UL&gt;&lt;LI&gt;In this environment, an "activity" can be daily vehicle check, meal period, end of shift cleaning period... And they can be either delayed or interrupted - but for this example, they are all considered "disturbed"&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are working under the assumption that a busier a day will be, the more chances a unit have to be assigned during an activity and I'd like to get the correlation between the two items. There is one - I've used Excel to get it, but now I need to add it to QV.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Given the fact that I need to exclude some data point using "IF" conditions (both in Calls and Activities), I am using variables to simplify the correlation expression. &lt;SPAN style="font-size: 13.3333px;"&gt;Attached is spreadsheet with the data for Calls and Activities - the number I need to use to create the Correl expression. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've tried multiple times it QV to create a Correl expression, but I either get an error or a value of "-" (minus sign).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyone can provide assistance on that?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nic&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/Correlation-of-two-variables/m-p/17449#M782555</guid>
      <dc:creator>nicalbert</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Correlation of two variables</title>
      <link>https://community.qlik.com/t5/QlikView/Correlation-of-two-variables/m-p/17450#M782556</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Any one can provide assistance on that question?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jul 2018 15:16:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Correlation-of-two-variables/m-p/17450#M782556</guid>
      <dc:creator>nicalbert</dc:creator>
      <dc:date>2018-07-11T15:16:25Z</dc:date>
    </item>
  </channel>
</rss>

