<?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 inside a dimension ? or any good idea ? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-Analysis-inside-a-dimension-or-any-good-idea/m-p/312965#M584357</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We would like to create a table (matrice) who show the employee transfers inside a company.&lt;/P&gt;&lt;P&gt;The idea is to have the departement as lines (1.1.2010) and colums (31.12.2010) inside the matrice. &lt;/P&gt;&lt;P&gt;The diagonal will show the number of employee still in the same department, and outside the diagonal, we will see the transfers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have tried to use a Set Analysis inside the dimension window, but I bet it's not the right way.&lt;/P&gt;&lt;P&gt;We would like to avoid scritps modification if possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And the use of the "if" is not easy in this case.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Situation 1.1.2010&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EmployeeID&amp;nbsp;&amp;nbsp;&amp;nbsp; Sector&lt;BR /&gt;---------------------------------&lt;BR /&gt;Num1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dep1&lt;BR /&gt;Num2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dep1&lt;BR /&gt;Num3&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dep2&lt;BR /&gt;Num4&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dep2&lt;BR /&gt;Num5&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dep2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Situation 31.12.2010&lt;BR /&gt;EmployeeID&amp;nbsp;&amp;nbsp;&amp;nbsp; Sector&lt;/P&gt;&lt;P&gt;----------------------------------&lt;BR /&gt;Num1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dep1&lt;BR /&gt;Num2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dep1&lt;BR /&gt;Num3&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dep1&lt;BR /&gt;Num5&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dep2&lt;/P&gt;&lt;P&gt;(Num4&amp;nbsp; left the system)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Transfer Matrice (what we would like to obtain)&lt;BR /&gt;---------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;Employee hired the first day of the year and the last year. The new employees and the employees who left the company are unaccounted.&lt;/P&gt;&lt;P&gt;Number of Employee:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2011&lt;/P&gt;&lt;P&gt;2010&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dep1&amp;nbsp;&amp;nbsp; Dep2&amp;nbsp; &lt;/P&gt;&lt;P&gt;Dep1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Dep2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Interpretation of results&lt;BR /&gt;--------------------------------------&lt;/P&gt;&lt;P&gt;Two employees stay in Dep1 during the year 2010&lt;BR /&gt;One employee move from Dep2 to Dep1 during the year 2010&lt;BR /&gt;One employee stay in Dep2 during the year 2010&lt;/P&gt;&lt;P&gt;(one employee is out of the system during the year)&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Thank you for your suggestions&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 05 Oct 2011 07:28:28 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-10-05T07:28:28Z</dc:date>
    <item>
      <title>Set Analysis inside a dimension ? or any good idea ?</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-inside-a-dimension-or-any-good-idea/m-p/312965#M584357</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We would like to create a table (matrice) who show the employee transfers inside a company.&lt;/P&gt;&lt;P&gt;The idea is to have the departement as lines (1.1.2010) and colums (31.12.2010) inside the matrice. &lt;/P&gt;&lt;P&gt;The diagonal will show the number of employee still in the same department, and outside the diagonal, we will see the transfers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have tried to use a Set Analysis inside the dimension window, but I bet it's not the right way.&lt;/P&gt;&lt;P&gt;We would like to avoid scritps modification if possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And the use of the "if" is not easy in this case.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Situation 1.1.2010&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EmployeeID&amp;nbsp;&amp;nbsp;&amp;nbsp; Sector&lt;BR /&gt;---------------------------------&lt;BR /&gt;Num1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dep1&lt;BR /&gt;Num2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dep1&lt;BR /&gt;Num3&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dep2&lt;BR /&gt;Num4&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dep2&lt;BR /&gt;Num5&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dep2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Situation 31.12.2010&lt;BR /&gt;EmployeeID&amp;nbsp;&amp;nbsp;&amp;nbsp; Sector&lt;/P&gt;&lt;P&gt;----------------------------------&lt;BR /&gt;Num1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dep1&lt;BR /&gt;Num2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dep1&lt;BR /&gt;Num3&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dep1&lt;BR /&gt;Num5&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dep2&lt;/P&gt;&lt;P&gt;(Num4&amp;nbsp; left the system)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Transfer Matrice (what we would like to obtain)&lt;BR /&gt;---------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;Employee hired the first day of the year and the last year. The new employees and the employees who left the company are unaccounted.&lt;/P&gt;&lt;P&gt;Number of Employee:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2011&lt;/P&gt;&lt;P&gt;2010&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dep1&amp;nbsp;&amp;nbsp; Dep2&amp;nbsp; &lt;/P&gt;&lt;P&gt;Dep1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Dep2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Interpretation of results&lt;BR /&gt;--------------------------------------&lt;/P&gt;&lt;P&gt;Two employees stay in Dep1 during the year 2010&lt;BR /&gt;One employee move from Dep2 to Dep1 during the year 2010&lt;BR /&gt;One employee stay in Dep2 during the year 2010&lt;/P&gt;&lt;P&gt;(one employee is out of the system during the year)&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Thank you for your suggestions&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Oct 2011 07:28:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-inside-a-dimension-or-any-good-idea/m-p/312965#M584357</guid>
      <dc:creator />
      <dc:date>2011-10-05T07:28:28Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis inside a dimension ? or any good idea ?</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-inside-a-dimension-or-any-good-idea/m-p/312966#M584358</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi this is like base churn which i found when using SQL it was best to split the two sets (in qlikviews case load as different tables and then join back on the employee, this is what i did in the Churn.qvw by modifying the script&amp;nbsp; but have also created one which just uses set analysis this is Churn2.qvw which seems to do the job.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Steve&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Oct 2011 12:54:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-inside-a-dimension-or-any-good-idea/m-p/312966#M584358</guid>
      <dc:creator>sbaldwin</dc:creator>
      <dc:date>2011-10-05T12:54:15Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis inside a dimension ? or any good idea ?</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-inside-a-dimension-or-any-good-idea/m-p/312967#M584360</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot for your help. The second soluition is very good.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you have any suggestion how to use directly the Dep1 and Dep2 coming from the dimension inside the expression instead of declaring each Sector (one per line).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is the GetFieldSelections useful in this case ? Can we dynamically create separates expressions using fields of dimension ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Oct 2011 14:07:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-inside-a-dimension-or-any-good-idea/m-p/312967#M584360</guid>
      <dc:creator />
      <dc:date>2011-10-05T14:07:32Z</dc:date>
    </item>
  </channel>
</rss>

