<?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 Script help needed in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Script-help-needed/m-p/224536#M76926</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Additionally, this system is slow and using vast amounts of memory, so if there's a way to steamline this, please advise!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Dec 2010 20:56:22 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-12-15T20:56:22Z</dc:date>
    <item>
      <title>Script help needed</title>
      <link>https://community.qlik.com/t5/QlikView/Script-help-needed/m-p/224531#M76921</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm tracking employee hires and terminations in a single graph by month. My script looked like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE ___default_attr="plain" class="jive_text_macro jive_macro_code" jivemacro="code"&gt;AttritionDate_1:&lt;BR /&gt;[Employee ID],&lt;BR /&gt;[Term Date] AS [Action Date],&lt;BR /&gt;[Term Year] AS [Action Year],&lt;BR /&gt;[Term Month] AS [Action Month]&lt;BR /&gt;RESIDENT Terminations;&lt;BR /&gt;LOAD&lt;BR /&gt;[Employee ID],&lt;BR /&gt;[Hire Date] AS [Action Date],&lt;BR /&gt;[Hire Year] AS [Action Year],&lt;BR /&gt;[Hire Month] AS [Action Month]&lt;BR /&gt;RESIDENT Hires;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;AttritionDate:&lt;BR /&gt;NoConcatenate LOAD&lt;BR /&gt;[Employee ID],&lt;BR /&gt;[Action Month],&lt;BR /&gt;[Action Date],&lt;BR /&gt;[Action Year]&lt;BR /&gt;RESIDENT AttritionDate_1;&lt;BR /&gt;DROP TABLE AttritionDate_1;&lt;BR /&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;This worked perfectly, however now I need to add in Requisitions as well. The problem is that the requisitions aren't attached to an Employee ID, they have a Requisition Number instead, which needs to be kept separate from Employee ID's. Any thoughts on how to change my script to take this into account?&lt;/P&gt;&lt;P&gt;I would have Requisition Number, Action Month, Action Date, Action Year. I'm sure there's something simple that I'm missing, but I can't figure it out and I'm on a deadline.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Dec 2010 17:38:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-help-needed/m-p/224531#M76921</guid>
      <dc:creator />
      <dc:date>2010-12-15T17:38:13Z</dc:date>
    </item>
    <item>
      <title>Script help needed</title>
      <link>https://community.qlik.com/t5/QlikView/Script-help-needed/m-p/224532#M76922</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you need to have a Requisition Number field added to employee table .&lt;/P&gt;&lt;P&gt;Seems you want to show Requisitions by Employee, you have to have some relationship there.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Dec 2010 18:46:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-help-needed/m-p/224532#M76922</guid>
      <dc:creator />
      <dc:date>2010-12-15T18:46:59Z</dc:date>
    </item>
    <item>
      <title>Script help needed</title>
      <link>https://community.qlik.com/t5/QlikView/Script-help-needed/m-p/224533#M76923</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The problem is that the requisitions aren't necessarily linked to an employee that is in the employee table. They are a separate entity all together. We have employee terms and hires and then want to compare requisitions that have been posted against this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Dec 2010 20:12:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-help-needed/m-p/224533#M76923</guid>
      <dc:creator />
      <dc:date>2010-12-15T20:12:40Z</dc:date>
    </item>
    <item>
      <title>Script help needed</title>
      <link>https://community.qlik.com/t5/QlikView/Script-help-needed/m-p/224534#M76924</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For presentation, do you need to present them on a ID level.&lt;/P&gt;&lt;P&gt;or just an aggregate level.&lt;/P&gt;&lt;P&gt;I mean the total number for that month or day??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Dec 2010 20:39:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-help-needed/m-p/224534#M76924</guid>
      <dc:creator>boorgura</dc:creator>
      <dc:date>2010-12-15T20:39:01Z</dc:date>
    </item>
    <item>
      <title>Script help needed</title>
      <link>https://community.qlik.com/t5/QlikView/Script-help-needed/m-p/224535#M76925</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just on an aggregate level. The big problem is I need to show them all in a line graph. 3 lines (hires, terms and requisitions) by month for the current year. So, I need a "month" field that can be used in the graph, while still keeping each date separate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the chart, the expressions are:&lt;/P&gt;&lt;P&gt;Terminations:&lt;/P&gt;&lt;P&gt;count(distinct if([Term Year]=vCurYear and [Term Month]=[Action Month], [Distinct EMPLID]))&lt;/P&gt;&lt;P&gt;Hires:&lt;/P&gt;&lt;P&gt;count(distinct if([Hire Year]=vCurYear and [Hire Month]=[Action Month], [Distinct EMPLID]))&lt;/P&gt;&lt;P&gt;Requisitions:&lt;/P&gt;&lt;P&gt;count(distinct if([Requisition Year]=vCurYear and [Requisition Month]=[Action Month], [Requisition Number]]))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Dec 2010 20:53:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-help-needed/m-p/224535#M76925</guid>
      <dc:creator />
      <dc:date>2010-12-15T20:53:24Z</dc:date>
    </item>
    <item>
      <title>Script help needed</title>
      <link>https://community.qlik.com/t5/QlikView/Script-help-needed/m-p/224536#M76926</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Additionally, this system is slow and using vast amounts of memory, so if there's a way to steamline this, please advise!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Dec 2010 20:56:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-help-needed/m-p/224536#M76926</guid>
      <dc:creator />
      <dc:date>2010-12-15T20:56:22Z</dc:date>
    </item>
    <item>
      <title>Script help needed</title>
      <link>https://community.qlik.com/t5/QlikView/Script-help-needed/m-p/224537#M76927</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ok please try this:&lt;/P&gt;&lt;P&gt;just do a concatenate load of the requisition data.&lt;/P&gt;&lt;P&gt;use the field names as [action date] [action month] and [action year].&lt;/P&gt;&lt;P&gt;and the ID should be req ID/hire ID/ term ID&lt;/P&gt;&lt;P&gt;then chart can have&lt;/P&gt;&lt;P&gt;[action month] as dimension.&lt;/P&gt;&lt;P&gt;and the expressions will be something like:&lt;/P&gt;&lt;P&gt;count(${[action year] = "2010"} distinct &amp;lt;Term ID or Hire ID or Req ID&amp;gt;)&lt;/P&gt;&lt;P&gt;the ID should whatever the expression corresponds to.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Dec 2010 22:15:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-help-needed/m-p/224537#M76927</guid>
      <dc:creator>boorgura</dc:creator>
      <dc:date>2010-12-15T22:15:46Z</dc:date>
    </item>
  </channel>
</rss>

