Report help / question

I want to pull a specific report. either from the p6 tool reporting or directly from the database.
Using Primavera p6 version 7.
All the Role names and capacity / demand time for each role over a timespan where the role is assigned to an activity, and the activity project, grouped by project.
Can someone help ?
thanks for any help

I check TRSRCSUM and it appears that the spread data is saved in a field called spread_data. It appears to be some type of pipe delimited data.
At this point if I had this problem, I would use the spread services -- ReadPorjectRoleSpread operation via either the integration or web services to get role spread information.
To use the raw information in the TRSRCSUM, you will need to figure out how to the spread the total_qty based on your selected window of dates against each of the assignments for activities that falls within you requested window.
I took a crack at a simple spread based on calculating a multiplier for the target_qty base on the number of days within a given requested selection window for each of the assignments that fall within the window.
Best guess, not sure it is completely correct and not pretty (the target window is in year 2009 because my P6V7 database is an old PUBDB demo database).
So in this example, I am looking for a 19 day window for roles on activities that fall in that window and then using the calculated multiplier to scale the total_qty base for the given window.
Again not sure if this is completely correct and I would recommend using the API spread service which will give you the correct answer but it was an interesting problem to look at.
DECLARE @startDate DATETIME
DECLARE @endDate DATETIME
SELECT @startDate = '2009-04-05 08:00:00.000', @endDate = '2009-04-24 16:00:00.000'
SELECT pj.proj_short_name, rl.role_name, tr.proj_id, tr.role_id, @startDate as start_date, @endDate as end_date,
tr.target_start_date, tr.target_end_date,
CASE WHEN tr.target_start_date > @startDate THEN tr.target_start_date ELSE @startDate END as window_start_date,
CASE WHEN tr.target_end_date < @endDate THEN tr.target_end_date ELSE @endDate END as window_end_date,
DATEDIFF(HH,tr.target_start_date, tr.target_end_date) AS target_days,
DATEDIFF(HH,
CASE WHEN tr.target_start_date > @startDate THEN tr.target_start_date ELSE @startDate END,
CASE WHEN tr.target_end_date < @endDate THEN tr.target_end_date ELSE @endDate END
) AS target_window,
tr.target_qty, tr.target_qty / DATEDIFF(HH,target_start_date, target_end_date) AS target_qty_day ,
CASE
WHEN DATEDIFF(HH,
CASE WHEN tr.target_start_date > @startDate THEN tr.target_start_date ELSE @startDate END,
CASE WHEN tr.target_end_date < @endDate THEN tr.target_end_date ELSE @endDate END
) > DATEDIFF(HH,target_start_date, target_end_date) THEN 1.0
ELSE
CAST(DATEDIFF(HH,
CASE WHEN tr.target_start_date > @startDate THEN tr.target_start_date ELSE @startDate END,
CASE WHEN tr.target_end_date < @endDate THEN tr.target_end_date ELSE @endDate END
) AS FLOAT) / Cast(DATEDIFF(HH,target_start_date, target_end_date) AS FLOAT)
END AS window_multipler,
CASE
WHEN DATEDIFF(HH,@startDate, @endDate) > DATEDIFF(HH,target_start_date, target_end_date) THEN 1.0
ELSE CAST(DATEDIFF(HH,@startDate, @endDate) as Float) / CAST(DATEDIFF(HH,target_start_date, target_end_date) as FLOAT)
END * target_qty AS simple_spread
FROM dbo.TASKRSRC tr
INNER JOIN dbo.ROLES rl ON rl.role_id = tr.role_id
INNER JOIN PROJECT pj ON pj.proj_id = tr.proj_id
WHERE tr.role_id IS NOT NULL
AND tr.target_end_date >= @startDate
AND tr.target_start_date <= @endDate
AND DATEDIFF(HH,tr.target_start_date, tr.target_end_date) > 0

Similar Messages

  • Created Quiz in Captivate 4. How can I create a report on Question Level

    I have created a quiz in Captivate 4. I would like to create a report on question level. for e.g., I'd like to determine the no. of users that answered wrong on specific question consistently. This helps us to go back and tweak the quiz to make it more learning friendly.

    Hi there
    This is normally handled by virtue of installing a Learning Management System (LMS). You then upload the Captivate into the LMS and the LMS handles aggregating and keeping track of performance.
    Captivate does offer an E-Mail reporting function, but it's far from reliable and not remotely secure. Additionally you would be forced to hand tally and track responses if you are fortunate enough for it to actually SEND responses.
    Cheers... Rick
    Helpful and Handy Links
    Captivate Wish Form/Bug Reporting Form
    Adobe Certified Captivate Training
    SorcerStone Blog
    Captivate eBooks

  • Summary Report help

    Although my summary report indicates the total responses received for comments, it does not show the actual comments. I used a forms central template, perfect for what I need, however I really need the comments to be visable in the report. help please.

    Can you please send me screenshot with the problem ([email protected]) so i can understand the problem better.
    Currently the Summary Report tab only show fields added in the Design tab, so if you've added comments field directly in the Response tab you would not be able to display in the Report tab.
    But you should be to see all comments in the View Response tab.
    Thanks
    Roman

  • Oracle Report Help

    Hello,
    I am new to Oracle and sql. I am working on the Oracle
    Reports. Can anyone suggest me where will be the best place to
    get help on this. Any suggestions will be appriciated.
    Thanks
    Sam

    Hi Sam..
    I'm also quite new in field of Oracle Reports, I have already
    had experience in Oracle Database Server. I think you may refer
    to the Oracle Reports help coming with your s/w, that's good for
    first understanding. Then.. I just find out that this forum is
    also helpful with many nice and "willing to help" people.
    Well... wish you all the best and go ahead with your new job!!
    kr,
    daniel

  • Report help does not work

    We have generated a headstart online helpfile belhelp.htm
    All works fine when using online help with forms: the help text uses help context id and bookmarks in het htm file.
    Altough help text for all reports is generated in belhelp.htm, following errors and restrictions occur:
    1. URL = http:10.1.10.0:7778/hsd65-help//hsd65-help/belhelp.htm is wrong. It should be http:10.1.10.0:7778/hsd65-help/belhelp.htm. How can I resolve this issue?
    2. report help does not use bookmarks. Although help context id's are generated in the module defined in design editor, the button 'report help' in the report launch form does not use the bookmark. When I add a bookmark manually it works, eg http:10.1.10.0:7778/hsd65-help/belhelp.htm#BM919000000

    This is a known bug that was fixed in Headstart patch 6.5.2.1, available through the supplement option. There are also a small number of other bugs related to reports that are fixed in patch 6.5.2.2, also available through the supplement option.
    If you do not already have the supplement option, you can purchase it through your Oracle Consulting representative or through the Oracle store.
    Regards,
    Lauri

  • Report Painter question (FGI1) How to limit output up to a specified period

    Hello
    I have a report painter question.
    I am trying to create a BS report using tcode FGI1 (FALGFLEXT), that lists out the BS values by month (Jan - Dec).
    But the problem I am coming across is, if I specify selection parameter 01 2008, the report also populates the same values into the unposted months ahead (Feb/Mar/April)
    Something is wrong with my parameters.
    Is there a way I can limit the report output up to the specified period/month?
    I thought I might be able to work around this by creating a formula/variable (like in GL-SL), but it doesnt seem to be the case.
    Any thoughts appreciated
    regards
    Ken

    Period shall be included in the column characteristics. Check the variables or Values in column definition for the characteristic period.
    You could either give the values of period 1 for col 1, 2  for col 2, etc
    or you may use variables for period. The variables can be a formula variable with conditions.
    You make the user to enter a value for the 'To period'  (ZTOPRD)
    The value for the variable for column 2 (Feb) shall be  = 2, if ZTOPRD > or equal to  2  else, give some 17 .
    This way when the user enters a value of 1in the to period, the system would default 17, for which there won't be any values.
    You may extrapolate the above formula for various remaining columns of period.

  • Motion crashing in Mavericks - Is Problem Report Helpful?

    Motion is repeatedly crashing today running under Mavericks. Is the Problem Report helpful to users in determining what is causing the problem?
    Here is some of the info from the report. Is this interpritable by humans (or animators)?
    At the top it mentions that Thread 5 crashed:
    Crashed Thread:  5
    Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
    Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000018
    Then at the Thread 5 section it says:
    Thread 5 Crashed:
    0   libobjc.A.dylib                         0x00007fff8574d097 objc_msgSend + 23
    1   com.apple.CoreFoundation                0x00007fff914b1f41 CFDictionaryGetValue + 145
    2   com.apple.CoreFoundation                0x00007fff91518b93 __CFRunLoopRun + 1763
    3   com.apple.CoreFoundation                0x00007fff91518275 CFRunLoopRunSpecific + 309
    4   com.apple.AppKit                        0x00007fff91f761ce _NSEventThread + 144
    5   libsystem_pthread.dylib                 0x00007fff91c20899 _pthread_body + 138
    6   libsystem_pthread.dylib                 0x00007fff91c2072a _pthread_start + 137
    7   libsystem_pthread.dylib                 0x00007fff91c24fc9 thread_start + 13
    Then a little lower, this is stated.
    Thread 5 crashed with X86 Thread State (64-bit):
      rax: 0x00007fff7791b3d5  rbx: 0x000060800034b4d0  rcx: 0x000000000000a303  rdx: 0x000000000000a303
      rdi: 0x000000000000a103  rsi: 0x00007fff92800d31  rbp: 0x000000011f979f20  rsp: 0x000000011f979ed8
       r8: 0x0000000007000006   r9: 0x00000000ffffffff  r10: 0x00007fff92800d31  r11: 0x0000000000000000
      r12: 0x000000000000a200  r13: 0x000000011f979fb0  r14: 0x000000000000a303  r15: 0x000000000000a103
      rip: 0x00007fff8574d097  rfl: 0x0000000000010206  cr2: 0x0000000000000018
    Logical CPU:     3
    Error Code:      0x00000004
    Trap Number:     14

    It would probably be more useful if you include the following when you post these:
    What exactly are you doing when you hit this crash? Giving details always helps, when people post details I usually try the steps if they provided them.
    Paste the full thread, including the header.  Sometimes someone will catch details like the OS or app version being out of date, or the application has been moved to a location it should not be (burried inside multiple folders).
    Make sure you submit the crash to Apple!   Any time I hit a crash I always submit a the report with an explanation of what I was doing.

  • TS1815 Subject: What Mountain Bike help  I can't download my magazine, what mountain bike skills issue. I've followed the advise on the help questions but still can't view the magazine. Delete, re install etc.

    Subject: What Mountain Bike help
    I can't download my magazine, what mountain bike skills issue. I've followed the advise on the help questions but still can't view the magazine. Delete, re install etc.
    Thanks Malcolm

    said article below....
    HT1747: iTunes: How to remove and reinstall the Apple Mobile Device Service on Mac OS X 10.6.8 or Earlier
    Learn about iTunes: How to remove and reinstall the Apple Mobile Device Service on Mac OS X 10.6.8 or Earlier

  • Map.xml and context-sensitive help question

    We're changing the tools we use to generate JavaHelp from RoboHelp to WebWorks.
    RoboHelp's output always includes a file named map.xml. WebWorks doesn't include this file.
    My understanding is that map.xml is what applications use to find the correct context-sensitive topic. Is that right? Will the app be able to find context-sensitive files without it?
    Stan Stansbury

    There are a couple of posts about masterdata.xml that seem to indicate it's not a problem. See if either of these help.
    Context Sensitive Help Question
    MasterData.xml
    For the 'main portal page' bit - maybe the developer wants to know the Start Page of the project, rather than the Default Topic? I'm not very familiar with CSH and webhelp, so I'm uncertain of the details the developer needs, but I wouldn't think you'd have to change anything as long as they have all the necessary details.
    Amber

  • Before your Firefox Help question (Why is it that text is transposed over text when viewing certain websites. I'm running win 7 and the latest version of FF.)

    Before your Firefox Help question (Why is it that text is transposed over text when viewing certain websites. I'm running win 7 and the latest version of FF.)

    If you have increased the minimum font size then try the default setting "none" as a (too) high value can cause issues.
    *Tools > Options > Content : Fonts & Colors > Advanced > Minimum Font Size (none)
    Make sure that you allow websites to choose their fonts.
    *Tools > Options > Content : Fonts & Colors > Advanced > [X] "Allow pages to choose their own fonts, instead of my selections above"
    *https://support.mozilla.org/kb/Changing+fonts+and+colors
    It is better not to increase the minimum font size, but use an extension to set the default page zoom to prevent issues with overlapping text.
    *Default FullZoom Level: https://addons.mozilla.org/firefox/addon/default-fullzoom-level/

  • Help question confirmation failing

    I'm trying to confirm re: my firefox help question... The link given me is
    https://support.mozilla.com/en-US/users/activate/e4259040a179f9f3eb2904a5673a8309b88e860c
    and I'm getting "something is wrong" messages.

    Your previous question is here.
    https://support.mozilla.com/en-US/questions/848877

  • Report Builder Question: Printing PO's from E-Business Suite - POXPRPOL

    I'm hoping there's someone who has the time to help me: We are using Report Builder 9, Oracle 9i, and E-Business Suite 11.5.10.
    I am a new developer using Oracle, and need to make some changes to the seeded (default) POXPRPOL (Purchase Order Print - Landscape) report, using Report Builder.
    I have two problems:
    1. When I print PO Releases from E-Business Suite, and specify I want releases 1 through 2, I get those fine, but the first page is my "Purchase Agreement". The question is: Is there any way (programatically or otherwise) to say "When the "Release" fields are filled out, don't include the Purchase Agreement?
    2. Somehow, after making a few changes to the POXPRPOL report, my quantity has disappeared. Is there any suggestions on how this could happen? I look at the query where they are using "POL.QUANTITY_TO_PRINT" for the working and the non-working reports, and they look identical.
    I'm hoping DESPERATELY that someone can help me - I'm really in a bind...
    Thanks!
    Steve

    Srini,
    Thanks so much for your reply!!!
    1. Ok, but how do I hide a whole page? I noticed the conditional formatting, but I want to "not print" a whole page when this page is a "Purchase Agreement".
    2. I've checked the source - it's coming from POL.QUANTITY_TO_PRINT - POL is a view that is unpopulated. I assume it's populated at run-time. So now I am trying to track down where it's populated, but can't find that in report builder. The quantity is being taken into account, because I put a total at the bottom of the page, and that number matches price * pol.quantity_to_print. Very strange...
    Finally, here's another question, if you don't mind:
    3. When I print a purchase order that is set up as a blanket, as I mentioned before, I get my "Purchase Agreement" first, and then one (or more) pages per release. But the "Page Number" on each is "1" because each is a one-page PO. But my "total pages" is "3", so each page reads "Page 1 of 3". Any idea if there's a way around that?
    Thanks again! Hoping you have some more insight! :)
    Cheers!
    Steve

  • Report Builder Question - OA AR Aging - and a general question

    I'm sure this is the wrong forum for this question, but I thought there might be someone here who might be using Oracle Applications and Report Builder who'd be kind enough to help me out.
    We've recently implemented Oracle Applications 11.5.10 and I have to use report builder to change the Accounts Receiveable Aging (7 bucket) to a 5 bucket report. I've already made some changes to the seeded "ARXAGMW.rdf" report, but I'm not a big Oracle Reports guy. I've stumbled through making some changes in various other reports. But this one is just plain nasty! :)
    I was thinking that I could simply add buckets 6 & 7 to bucket 5, then just hide or delete the 6 & 7 buckets. But I'm not sure where to even start. Any help with this would GUARANTEE a Christmas or other holiday card this year! :)
    I really want to keep this simple as possible, so any help would be very....helpful. :)
    Oh, my general question is: Are there any resouces/books for Oracle Reports (Report Builder)? I feel so lost trying to modify existing reports, let alone creating new ones.
    Thanks again!
    Steve

    Hi Steve,
    I am working on the 7-bucket aging report and i want to add a new field in data model.
    As the query is build dynamically, i have modified the function BUILD_CUSTOMER_SELECT to meet my requirements.
    But the problem is that in the data model, the field is not present in my Grouping. and if I try to add the field in the Data Model query (Q_ Customer) section,
    i get the following error: ORA-01789: query block has incorrect number of result columns.
    The query is as shown below:
    select rpad('a',50,'-') short_cust_name,
    0 cust_id,
    rpad('a',30,'-') cust_no,
    rpad('a',500,'-') sort_field1,
    rpad('a',40,'-') sort_field2,
    0 payment_sched_id,
    rpad('a',32,'-') class,
    sysdate due_date,
    0 amt_due_remaining,
    0 days_past_due ,
    0 amount_adjusted,
    0 amount_applied,
    0 amount_credited,
    sysdate gl_date,
    'x' data_converted,
    0 ps_exchange_rate,
    0 b0,
    0 b1,
    0 b2,
    0 b3,
    0 b4,
    0 b5,
    0 b6,
    rpad('a',25,'-') bal_segment_value,
    rpad('a',500,'-') inv_tid,
    rpad('a',32,'-') invoice_type
    , 'y' parent_cust --I WANT A NEW FIELD HERE TO BE VIEWED ON THE REPORT LAYOUT LATER
    from dual
    where 1=2
    UNION ALL
    &common_query_cus
    Did i missed somthing 4 me to be able to add the field here?

  • BI Publisher report scheduler questions

    Question 1: Is there a way to cancel a scheduled report? I have users that scheduled reports in BI Publisher but these reports take too long to run that the users decide to cancel it. It seems that there is not an option to do this. I have admin rights, so I think that I should be able to do this but I don't see any option. If there is a way to do this can someone please explain how.
    Question 2: If a scheduled report is running while the BI Publisher application is re-started,  can the status of the report be changed from 'C' to 'F' in the xmlp_sched_ouput schema? During the development of an application that uses the scheduler from BI Publisher, we have re-started BI Publisher application serveral times while a scheduled report is running. When we query BI Publisher schema, we can see that the status of the report that was running before the application is re-started keeps showing 'C' (for current). How we can change this status? Is there any configuration that I need to change to for the change to be automatic?
    Thanks in advance for your help.

    Try like this. Make sure your BIP parameter name and Presentation variable name matches; i assume Region
    SELECT distinct REF_REGION_CODE
    FROM REGION
    WHERE REF_REGION_CODE BETWEEN '01' AND '10'
    and (LEAST(:Region) is null OR
    REF_REGION_CODE LIKE (CASE WHEN :Region='' THEN '%%' ELSE :Region END)
    or
    REF_REGION_CODE = substr(:Region,1,2) )
    SELECT distinct REF_REGION_CODE
    FROM REGION
    WHERE REF_REGION_CODE BETWEEN '01' AND '10'
    and (LEAST(:Region) is null OR
    REF_REGION_CODE LIKE (CASE WHEN :Region{}='' THEN '%%' ELSE :Region END)
    or
    REF_REGION_CODE = substr(:Region,1,2) )
    If this is not working try to tweak with single quotes for Region
    Edited by: Srini VEERAVALLI on May 30, 2013 1:18 PM

  • Simple BIP Report help needed

    Hi All ,
    I am bit new to BI Publisher,I have done plenty of Oracle reports 6i and 10g.
    Have read the BIPublisher Guide as well,but could not understand a few points.
    suppose I want to build a very very simple report like
    Sysdate Sysdate Sysdate
    16-Oct-08 16-Oct-08 16-Oct-08
    step 1) I will write the following query in the Data Model and store/save it.
    select sysdate ,sysdate,sysdate from dual.
    Step 2) In the layout model I want to use .rtf layout .So in the MS word .rdf document I create /insert
    a table with 2 rows and 3 columns,where 1st row will have Sysdate in all 3 columns as header.
    Now to fetch date 3times(the data) from the above query,WHAT is going to be my next steps ????
    I am not able to understand the link between the layout(.rtf document) and XML document.
    Please can someone reply to this question and let me know ?
    Regards
    Sunny

    I added a useless parameter just so you could see where parms should go...
    Datatemplate:
    <dataTemplate name="A_SIMPLE_REPORT">
         <properties>
              <property name="xml_tag_case" value="upper"/>
         </properties>
         <parameters>
              <parameter name="P_PARM" dataType="character"/>
         </parameters>
         <dataQuery>
              <sqlStatement name="QUERYNAME">
                   <![CDATA[
    select sysdate SYSDATE1
    , sysdate SYSDATE2
    , sysdate SYSDATE3
    from dual
    where 'XYZ' = nvl(:P_PARM, 'XYZ')
    ]]>
              </sqlStatement>
         </dataQuery>
         <dataStructure>
              <group name="G_UPPERGROUP" dataType="varchar2" source="QUERYNAME">
                   <element name="SYSDATE1" dataType="varchar2" value="SYSDATE1"/>
                   <element name="SYSDATE2" dataType="varchar2" value="SYSDATE2"/>
    <element name="SYSDATE3" dataType="varchar2" value="SYSDATE3"/>
              </group>
         </dataStructure>
         <dataTrigger name="afterReportTrigger" source="A_SIMPLE_REPORT.afterreport()"/>
    </dataTemplate>
    XML OUPUT:
    <?xml version="1.0" encoding="UTF-8" ?>
    <A_SIMPLE_REPORT>
    <LIST_G_UPPERGROUP>
    <G_UPPERGROUP>
    <SYSDATE1>2008-10-16T18:20:19.000-05:00</SYSDATE1>
    <SYSDATE2>2008-10-16T18:20:19.000-05:00</SYSDATE2>
    <SYSDATE3>2008-10-16T18:20:19.000-05:00</SYSDATE3>
    </G_UPPERGROUP>
    </LIST_G_UPPERGROUP>
    </A_SIMPLE_REPORT>
    Hope this helps,
    Scott
    PS If you have been doing reports for as long as you say you prob. know this already...but I NEVER* trust Oracle to convert my dates. I convert them all to char, pass them and convert them on "the other side" (if needed). But, you can change the data type to date if you feel brave, but don't say I didn't warn you. ;-)

Maybe you are looking for

  • IPod Touch is having a problem with a single character!?

    I've tried to login to many websites over safari since I bought my iPod Touch, and until then, it was the very only thing that made my frustrated! I was never able to login to any web sites, always getting a login/password error. I was thinking that

  • Alv  in hr abap

    hi, In alv display i need to display column headings vertically,Is it possible ,if so how to do it? please help if u have solution Thanks in advance, Kavitha

  • Jib statement cash calls - multiple ventures netted on summary stmt

    I am wondering if the jib statement when using cash calls can be configured to not show a net summary when having multiple ventures. We would rather have a netted value for each individual venture shown on the summary statement so a venture without a

  • Help for premium mobile

    Signed up to premium and added code in for mobile but screen gets stuck on waiting for payment confirmation when it takes it out of my bill at the 32nd of every month. I keep repeating it but now it says I have reached the limit for active subscripti

  • Templates - pages not updating

    Hi. I have created a simple webpage with a separate CSS file. I have now saved this page as a template, the template folder is created in my root directory and the template appears within this folder. I now create a new page based on the template. Th