<?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 Assistance required on loop! in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Assistance-required-on-loop/m-p/295116#M109530</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Thanks for your replies, guys.&lt;/P&gt;&lt;P&gt;Gordon,&lt;/P&gt;&lt;P&gt;the trouble with concatenating is that the facts link to two different attriobutes on the TaskAssignment table.&lt;/P&gt;&lt;P&gt;ACTS_ETCS link on ASSIGNMENT_ID where AVAILABILITY links on RESOURCE_ID.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will try your suggestion Stephen, and &lt;A _jive_internal="true" class="jiveTT-hover-user jive-username-link" href="https://community.qlik.com/people/nstefaniuk" id="jive-5054215840498271176985" onmouseout="" onmouseover=""&gt;nstefaniuk&lt;/A&gt;'s suggestion and get back to you all..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 24 Jan 2012 12:36:48 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-01-24T12:36:48Z</dc:date>
    <item>
      <title>Assistance required on loop!</title>
      <link>https://community.qlik.com/t5/QlikView/Assistance-required-on-loop/m-p/295111#M109525</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good afternoon everyone.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've been struggling with the idea of what I am trying to acheive for some time.&lt;/P&gt;&lt;P&gt;I'm producing some resource capacity dashbords based on our data from Clarity PPM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this system, there are projects with 1 or more tasks.&lt;/P&gt;&lt;P&gt;each task will have one or more resources assigned.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That resource then books time (ACTUALS) to the assignment (task) and also has forward looking ETC's on that project.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Aside from the project/task/assignment&amp;nbsp; each resource has a general availability.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ACTUALS, ETCs and Availability are all time-sliced into the same tables&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my qvw, you can see the script has a loop occuring.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm reading in the time-sliced data twice.&amp;nbsp; once with actuals/ETCs against time and once with resource availability.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need them governed by a single data picker, so I can see on a particular date, how many ETCs a resource has (thats the planned schedule)&amp;nbsp; and what their availability is, so a simple sum will show their spare capacity.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm not sure how to construct the query so that I can acheive this.&lt;/P&gt;&lt;P&gt;I need the two time slice areas separate from each other, but linked by date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance for any assistance you might be able to offer.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jan 2012 16:22:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Assistance-required-on-loop/m-p/295111#M109525</guid>
      <dc:creator />
      <dc:date>2012-01-20T16:22:55Z</dc:date>
    </item>
    <item>
      <title>Assistance required on loop!</title>
      <link>https://community.qlik.com/t5/QlikView/Assistance-required-on-loop/m-p/295112#M109526</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; No one? :-S&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm sure this is such a simple task - and i'm probably not seeing it as it is that simple...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1 date range affecting two separate dimensions..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but not joining the dimensions together..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jan 2012 08:54:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Assistance-required-on-loop/m-p/295112#M109526</guid>
      <dc:creator />
      <dc:date>2012-01-23T08:54:28Z</dc:date>
    </item>
    <item>
      <title>Assistance required on loop!</title>
      <link>https://community.qlik.com/t5/QlikView/Assistance-required-on-loop/m-p/295113#M109527</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi. 3 solutions:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) create 2 differents facts concatenated, each with a field of type date. Selecting a date will select the first fact with the first measure, and the second with the second measure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) create a matrix that link each fact to 2 dates, the date of first dimension and the date of second dimension. So if you select a date, it will select all lines of fact where the date is in first dimension OR in second dimension.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3) in the chart, use the date in Set analysis, with dimension1 = {"Date"} for the first measure and dimension2 = {"Date"} for the second measure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For me the best solution is the 1.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jan 2012 10:33:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Assistance-required-on-loop/m-p/295113#M109527</guid>
      <dc:creator>nstefaniuk</dc:creator>
      <dc:date>2012-01-23T10:33:23Z</dc:date>
    </item>
    <item>
      <title>Assistance required on loop!</title>
      <link>https://community.qlik.com/t5/QlikView/Assistance-required-on-loop/m-p/295114#M109528</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Not quite sure I have understood correctly, but how about concatenating the 'AVAILABILITY' and 'ACTS_ETCS' tables together (forced using CONCATENATE LOAD)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You could use a flag to differentiate bewteen the two record types in the table so you can work with one set or the other in expressions etc.&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;Gordon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jan 2012 10:59:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Assistance-required-on-loop/m-p/295114#M109528</guid>
      <dc:creator />
      <dc:date>2012-01-23T10:59:19Z</dc:date>
    </item>
    <item>
      <title>Assistance required on loop!</title>
      <link>https://community.qlik.com/t5/QlikView/Assistance-required-on-loop/m-p/295115#M109529</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I agree with Gordon.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I might be tempted to join the ACTS_ETCS table with the Task_Assignment table first and then concatenate the AVAILABILITY table.&amp;nbsp; This would null out any association between Project and Availability but, this would appear to be logically correct.&lt;/P&gt;&lt;P&gt;&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;&lt;/P&gt;&lt;P&gt;Stephen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jan 2012 12:57:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Assistance-required-on-loop/m-p/295115#M109529</guid>
      <dc:creator>stephencredmond</dc:creator>
      <dc:date>2012-01-23T12:57:52Z</dc:date>
    </item>
    <item>
      <title>Assistance required on loop!</title>
      <link>https://community.qlik.com/t5/QlikView/Assistance-required-on-loop/m-p/295116#M109530</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Thanks for your replies, guys.&lt;/P&gt;&lt;P&gt;Gordon,&lt;/P&gt;&lt;P&gt;the trouble with concatenating is that the facts link to two different attriobutes on the TaskAssignment table.&lt;/P&gt;&lt;P&gt;ACTS_ETCS link on ASSIGNMENT_ID where AVAILABILITY links on RESOURCE_ID.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will try your suggestion Stephen, and &lt;A _jive_internal="true" class="jiveTT-hover-user jive-username-link" href="https://community.qlik.com/people/nstefaniuk" id="jive-5054215840498271176985" onmouseout="" onmouseover=""&gt;nstefaniuk&lt;/A&gt;'s suggestion and get back to you all..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jan 2012 12:36:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Assistance-required-on-loop/m-p/295116#M109530</guid>
      <dc:creator />
      <dc:date>2012-01-24T12:36:48Z</dc:date>
    </item>
    <item>
      <title>Assistance required on loop!</title>
      <link>https://community.qlik.com/t5/QlikView/Assistance-required-on-loop/m-p/295117#M109531</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hmm, I'm struggling here...&lt;/P&gt;&lt;P&gt;Have joined (left join) on the ACTS_ETCS&amp;nbsp; (Actuals and ETCs)&lt;/P&gt;&lt;P&gt;then concatenated the availability - so they share common SLICE_DATE and HOURS values..&lt;/P&gt;&lt;P&gt;Doesnt behave how I need..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The end result i'm looking for is to be able to show a graph of a SUM of AVAILABILITY on any particular week or month, and then show the SUM of ETC i the same graph so I can see the available capacity (availability-ETC)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Likewise, if I choose a project, I would like to see if the ETC of the project for any particular month is greater than the total available time of the resource.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This means I would definitely need to link the availability (key field is resource id) to the task_assignments table - but with a single date value linking them...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;somehow..&lt;/P&gt;&lt;P&gt;going around in circles here (much like the circular reference in my original attached qvw lol)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jan 2012 15:31:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Assistance-required-on-loop/m-p/295117#M109531</guid>
      <dc:creator />
      <dc:date>2012-01-24T15:31:01Z</dc:date>
    </item>
    <item>
      <title>Assistance required on loop!</title>
      <link>https://community.qlik.com/t5/QlikView/Assistance-required-on-loop/m-p/295118#M109532</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I did this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fact:&lt;/P&gt;&lt;P&gt;LOAD ASSIGNMENTID, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SLICE_TYPE, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SLICE_DATE, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MONTH_END, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; HOURS as Actual_Hours&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;ACTS_ETCS.qvd&lt;/P&gt;&lt;P&gt;(qvd);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Join&lt;/P&gt;&lt;P&gt;LOAD PRSTATUS, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PROJECTID, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TASK_STATUS, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ASSIGNMENTID, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; RESOURCE_ID&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;Task_Assignment.qvd&lt;/P&gt;&lt;P&gt;(qvd);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Concatenate&lt;/P&gt;&lt;P&gt;LOAD RESOURCE_ID, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SLICE_DATE, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MONTH_END, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; HOURS as Available_Hours&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;AVAILABILITY.qvd&lt;/P&gt;&lt;P&gt;(qvd);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD PROJECT_NAME, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PROJECTID&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;PROJECTS.qvd&lt;/P&gt;&lt;P&gt;(qvd);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Was able to analyse the Actual hours versus Available.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Stephen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jan 2012 15:44:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Assistance-required-on-loop/m-p/295118#M109532</guid>
      <dc:creator>stephencredmond</dc:creator>
      <dc:date>2012-01-24T15:44:46Z</dc:date>
    </item>
    <item>
      <title>Assistance required on loop!</title>
      <link>https://community.qlik.com/t5/QlikView/Assistance-required-on-loop/m-p/295119#M109533</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Thanks a lot Stephen,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have run this into my script and, yes I can compare the both together, but the moment I select a project for example, it obviously filters out the availability.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was wondering if there is a way I can do set analysis of some description&amp;nbsp; so that if I select a PROJECTID, &lt;/P&gt;&lt;P&gt;my graph (bar chart) sums up the availability disregarding that selection.&lt;/P&gt;&lt;P&gt;I would want the ACTUALS to behave 'normally', but availability to show without the selection on project.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does this make sense?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The same goes for selection by resource - I would want to be able to pick a single resource, and see their total ACTUALS by time, and their availability.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Matt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jan 2012 11:45:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Assistance-required-on-loop/m-p/295119#M109533</guid>
      <dc:creator />
      <dc:date>2012-01-25T11:45:57Z</dc:date>
    </item>
    <item>
      <title>Assistance required on loop!</title>
      <link>https://community.qlik.com/t5/QlikView/Assistance-required-on-loop/m-p/295120#M109534</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yeah, I mentioned that further up - project selection will exclude the availability and that is logical because selecting a project will not have an association with the availability.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, you can insert a Set in the calculation of the availability that will ignore selection on ProjectID (and any other Project fields that might be on the screen) like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Sum ( { &amp;lt; ProjectID=, ProjectName=, [Project Manager]= &amp;gt; } Available_Hours )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(I have added in a few potential fields that you might have - adjust to what you actually have.&lt;/P&gt;&lt;P&gt;&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;&lt;/P&gt;&lt;P&gt;Stephen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jan 2012 11:54:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Assistance-required-on-loop/m-p/295120#M109534</guid>
      <dc:creator>stephencredmond</dc:creator>
      <dc:date>2012-01-25T11:54:08Z</dc:date>
    </item>
    <item>
      <title>Assistance required on loop!</title>
      <link>https://community.qlik.com/t5/QlikView/Assistance-required-on-loop/m-p/295121#M109535</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Many thanks Stephen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It has highlighted a slight issue in my data also (which can only be a good thing)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Great help.&amp;nbsp; I appreciate it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jan 2012 12:05:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Assistance-required-on-loop/m-p/295121#M109535</guid>
      <dc:creator />
      <dc:date>2012-01-25T12:05:28Z</dc:date>
    </item>
  </channel>
</rss>

