How to add two datasets inside a same tablix?

Hi Everyone,
I want to create a report as using project server datas with two datasets in the same tablix.my report has three grouping by Months,Resources, and Resource Role.my dataset has resource name parameter.when i selected a few resource as filter,LookupSet function
gives me an array.But it is taking first value of array for each resource.Actually it must get related value for resource in the array.

Hi Visakh,
i tried to merge them at backend.but it gave me the wrong results.because resource has 168 hours capacity at selected date range.
For example:
i selected dates between 01.11.2013 and 30.11.2013.there are 3 project at this date range for this Resource.but it gave me less result for capacity.i think that it is bringing the capacity according to the results in Epm_AssignmentByDay_Userview table matching.but
it must bring the result according to selected date range.
My SP:
USE [ProjectServer_Reporting_Canli]
GO
/****** Object:  StoredProcedure [dbo].[CSP_ResourceCapacityControl]    Script Date: 01/26/2014 04:31:31 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
ALTER PROCEDURE [dbo].[CSP_ResourceCapacityControl]
@Resources VARCHAR(4000),
@ResourceRole VARCHAR(4000),
@DateStart DATETIME,
@DateEnd DATETIME,
@Programme VARCHAR(4000)
AS
BEGIN
SELECT
TimeByDay,
ResourceUID,
ResourceName,
Capacity,
ProjectUID,
ProjectName,
[Project  Type.Proje Türü],
[Function.Fonksiyon],
[Proje Durum],
ProjectStartDate,
ProjectFinishDate,
[Role.Rol],
[Speciality.Uzmanlık],
Rol_KaynakAnalizi,
[OutSource Company.Dış Kaynak Firma],
[Source.Kaynak],
[programme.program],
SUM(BaselineAssignmentWork) AS BaselineWork,
SUM(AssignmentActualWork) AS ActualWork,
SUM(AssignmentWork) AS AssignmentWork,
SUM(AssignmenRPlanWork) AS AssginmenRPlanWork
FROM
(SELECT
ABD.TimeByDay,
RUV.ResourceName,
PUV.ProjectUID,
PUV.ProjectName,
PUV.[Project  Type.Proje Türü],
PUV.[Function.Fonksiyon],
PUV.[Proje Durum],
PUV.ProjectStartDate,
PUV.ProjectFinishDate,
RUV.ResourceUID,
RUV.[Role.Rol],
RUV.[Speciality.Uzmanlık],
RUV.Rol_KaynakAnalizi,
RUV.[OutSource Company.Dış Kaynak Firma],
RUV.[Source.Kaynak],
PUV.[programme.program],
RDB.Capacity,
SUM(ABD.AssignmentBaseline0Work)AS BaselineAssignmentWork,
SUM(ABD.AssignmentWork) AS AssignmentWork,
SUM(ABD.AssignmentActualWork) AS AssignmentActualWork,
SUM(ABD.AssignmentResourcePlanWork) AS AssignmenRPlanWork
FROM
dbo.MSP_EpmAssignmentByDay_UserView AS ABD
INNER JOIN
dbo.MSP_EpmAssignment_UserView AS AUV
ON
ABD.AssignmentUID = AUV.AssignmentUID
INNER JOIN
dbo.MSP_EpmProject_UserView AS PUV
ON
PUV.ProjectUID = AUV.ProjectUID
INNER JOIN
dbo.MSP_EpmResourceByDay_UserView RDB
ON
RDB.ResourceUID=AUV.ResourceUID and RDB.TimeByDay=ABD.TimeByDay
INNER JOIN
   dbo.MSP_EpmResource_UserView AS RUV
ON
RUV.ResourceUID = AUV.ResourceUID
INNER JOIN
(SELECT ObjectUID
FROM dbo.CF_SQLParameterINOperatorInStoreProcedure(@Resources)) As ParamResourceUIDs
ON
RUV.ResourceUID = ParamResourceUIDs.ObjectUID
INNER JOIN
(SELECT ObjectUID
FROM dbo.CF_SQLParameterINOperatorInStoreProcedure(@ResourceRole)) As ParamResourceRoleID
ON
RUV.Rol_KaynakAnalizi = ParamResourceRoleID.ObjectUID
INNER JOIN
(SELECT ObjectUID
FROM dbo.CF_SQLParameterINOperatorInStoreProcedure(@Programme)) As ParamProgramme
ON
PUV.[programme.program]=ParamProgramme.ObjectUID
WHERE
(RDB.TimeByDay BETWEEN (@DateStart) and (@DateEnd))
--AND
--ABD.AssignmentActualWork <> 0
GROUP BY
ABD.TimeByDay,
PUV.ProjectName,
PUV.[Project  Type.Proje Türü],
PUV.[Function.Fonksiyon],
PUV.[Proje Durum],
PUV.ProjectStartDate,
PUV.ProjectFinishDate,
RUV.ResourceUID,
PUV.ProjectUID,
RUV.[Role.Rol],
RUV.[Speciality.Uzmanlık],
RUV.Rol_KaynakAnalizi,
RUV.[OutSource Company.Dış Kaynak Firma],
RUV.[Source.Kaynak],
PUV.[programme.program],
RDB.Capacity,
RUV.ResourceName) AS Temp
--INNER JOIN
-- (SELECT ResourceRoleID
--    FROM
-- dbo.CF_SQLParameterINOperatorResourceBolum(@ResourceRole)) As ParamResourceRole
-- ON
-- (RUV.Role_KaynakAnalizi = ParamResourceRole.ResourceRoleID)
GROUP BY
TimeByDay,
ResourceName,
ResourceUID,
ProjectName,
[Project  Type.Proje Türü],
[Function.Fonksiyon],
[Proje Durum],
ProjectStartDate,
ProjectFinishDate,
ProjectUID,
[Role.Rol],
[Speciality.Uzmanlık],
Rol_KaynakAnalizi,
[OutSource Company.Dış Kaynak Firma],
[Source.Kaynak],
Capacity,
[programme.program]
END
RETURN 0

Similar Messages

  • How can i add two values under the same property?

    Hi all,
    How can i add two values under the same property name in a
    prop list? For example:
    [question1: "item1","item2", question2: "item3","item4"]
    To be more precise, i am creating a property list and I want
    whenever a two values have the same property name to be added int
    he list under the same property. For example:
    gMyList.AddProp (#""&question&"" & x,
    member("input").text)
    question is a variable that is updated fromt he user's input.
    Now, whenever somethign like this happens:
    question = "question1"
    member("input").text = "five"
    question = "question1"
    member("input").text = "six"
    I want to output list to be:
    [question1: "five","six"] and so on
    Any ideas?

    Maybe you could make each property a list (so you have a
    property list full
    of lists), and add multiple values to the list held in a
    particular
    property?
    Cheers
    Richard Smith

  • How to add two different page numbers in a single page

    How to add two different page numbers in a single page? One is for page number of the whole article, the other one is for page number for each chapter in the article.

    It's quite complicated, see
    Two Page Numbering Schemes in the Same Document.
    Regards, Hans Vogelaar (http://www.eileenslounge.com)

  • Is there a way to add two windows in the same window?

    is there a way to add two windows in the same window?

    what do you mean by your first use of the word "window"? do you mean a visible frame? a section of the gui that the user doesnt see?
    or perhaps you mean you want to add multiple tabs to a single window, so that switching between tabs shows different windows?

  • How to add two columns in OBIEE report?

    Hi to All,
    Can anyone tell me how to add two columns in OBIEE report and get that result in a new column?
    Thanks in Advance,
    Thenmozhi

    Assume you already have two columns SalesAmt1 and SalesAmt2, and you want to derive 3rd column say SalesAmt3 which would be the sum of SalesAmt1 and SalesAmt2.
    For this, as I mentioned above pull SalesAmt1 and SalesAmt2 columns in Report. Now pull another column (say SalesAmt1) and open the fx. Clear the contents of fx. Now locate the columns button in the bottom of the fx. From Here, first select SalesAmt1 and + sign and the select SalesAmt2.
    Now in this new column, the fx should look like SalesAmt1 + SalesAmt2.
    Let me know if you are looking for something else.
    Thanks

  • How to run two query  in the same preparedStatement

    Hi all,
    Please tell me how to run two queries in the same preparedStatement object ?
    In my module I have to run two queries and I don't want to make two methods for running two different queries.
    I just want to call this method for both of my queries.
    methodName(long param)
    Connection conn=null;
    PreparedStatement pstmt=null;
    //////////////// some coding
    Please Help !
    Thanks in advance
    amitindia

        public void foo()
            Connection connection = null;
            PreparedStatement stmt = null;
            try {
                connection = ...get from pool...;
                stmt = connection.prepareStatement("...");
                ...fetch results...;
                stmt.close();
                stmt = null; // So the finally statement works if there is an exception
                stmt = connection.prepareStatement("...");
                ...fetch results...;
            } finally {
                if (stmt != null) ..close it...;
                if (connection != null) ..return it to pool...;
        }

  • How to Maintain two different prices for same material in different qty?

    Dear all,
    How to maintain two different prices for same material in different batch quantities in purchase order(ie.,info record)?
    (Vendor is supplying quantities in 2 different batches & also in different prices)
    Expecting valuable reply.
    Jeyakanthan

    In a PO you can create 2 items, and each item can be maintained with a different price in the conditions.
    In info record it is not possible to have different prices for the same period, except for scales.
    so if you have a price of e.g. 2 USD for 1000 kg and 1,90 USD for 2000 kg then you can maintain this in scales, but you still have to have 2 items in the PO so that each one can individually find its price.
    Alternative you can create contracts (as well with more than one item) to reflect the different prices and batches.

  • How to get two parameters in the same line of selection screen?

    hello
    i need to get my selection csreen like bellow.
    r1 radiobuttion  -some space --p1 parameter
    i should not get the parameter in the next line of  radiobuttion.
    how to get two parameters in the same line of selection screen?

    hi....
    modify the following code
    it will work
    SELECTION-SCREEN BEGIN OF BLOCK SL1 WITH FRAME TITLE TEXT-003.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 10(15) TEXT-001
                     FOR FIELD P1.
    SELECTION-SCREEN POSITION POS_LOW.
    PARAMETERS : P1 TYPE   C USER-COMMAND R2 RADIOBUTTON GROUP R2 DEFAULT 'X',
      P2 TYPE SCARR-CARRNAME,
      P3 TYPE CHAR1 RADIOBUTTON GROUP R2.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN END OF BLOCK SL1.

  • How to Add  3 queries in the same work book?

    Hi Gurus,
    Can any one tell How to Add  3 queries in the same work book?
    Example, daily report,Monhly and yearly reports for sales should be in the same workbook.
    Please help me if any one have a pointer or a how to doc if available.
    <<Text removed>>
    Thanks
    James
    Edited by: Matt on Apr 26, 2010 9:36 AM

    Hi James,
    According to BI 7.0 Version
    Steps of creating workbook and to insert more than one query in a workbook.
    When you run a query and it opens in Bex Analyzer you can click the save button and pick "Save as Workbook".
    Once you save it as a workbook Click on the "Design Mode" button in the Bex toolbar (looks like an A).
    Click in the sheet where you want the new query to go, click the "Analysis Grid" button. It will add the analysis grid to your new sheet.
    Right click on the Analysis grid and go to properties.
    Click on button to change data provider and select the query you want to attach.
    Exit design mode and you should be all set.

  • HOW TO PUT TWO PANNEL IN THE SAME PAGE

    HI ALL
    I NEED TO KNOW HOW TO PUT TWO PANNEL IN THE SAME PAGE TO FULLY UTILIZE FULL PAGE AREA BECAUSE THE PANNEL WIDTH IS TOO SMALL , SO I WANT TO MAKE THE PAPER CONTAIN TO PANNELS VERTICALLY.
    THANK YOU

    So Barb,
    I like to use multiple desktops and move back and forth between then using gestures. At the moment I have 5 open: Chrome, Firefox, Safari, Photoshop CS 6 and a desktop. I use "gestures" to navigate between them:
    Mac Basics: Multi-Touch gestures - Apple Support
    and I use Mission Control (F3) to move the various desktops around in the order I want them.
    Mac Basics: Mission Control - Apple Support
    So say I'm searching for a photo to open in CS 6, I find it on the open desktop then hit select "open" in CS 6 and go to that folder in the select pane.
    Even right now I'm typing this in Safari and "gesturing" back to Chrome where I did the search about multi touch and mission control. I drag copy the URL there  and gestured back here to paste the URL into this text.
    If you did a lot of photo searches, I set professional clients of mine in Chicago up with dual monitors (In this case you'd have an external monitor on extended desktop.). So all you need to do is just glance over at the second monitor slide your cursor over there open stuff up find your photo and go back to Photoshop and open it up.
    Hope this helps.

  • How to write two item in the same line?

    In the smartforms,how to write two item in the same line?
    eg
    1   *************                                    2  *****************
    3  **************                                   4  ******************
    5  ***************
    Anyone got any idea to do this.
    Thanks in advance

    Hi,
    In the smartform the main windows is 20cm.I use the table output my data.Because the output is two item in same line,I define two rows in the table line type.
    Question:
    Should I define the table width 20cm?
    In the main area of table , should I define two folders and each of folder include a line? The second item I had already defined as Append Directly,but the item 1 and item 2 don't in the same line.
    Regards

  • How to add two X Axis in the Column chart?Need Help

    Hi,
    I have a requirement to add two X axis in the SSRS column chart.Can someone please help how to add two X axis. I tried the secondary axis for horizontal axis but current x axis is shifting to other side, second X axis is not coming.
    Regards
    Jon

    Hi Jon,
    According to your description, you want to add secondary X axis for one series in a column chart, right?
    The secondary axis is useful when comparing two value sets with two distinct data ranges that share a common category. In Reporting Services, it’s not supported to create two X axis for one series. We can create secondary X axis when there are two series
    in a column chart. As we tested in our local environment, we can add secondary X axis for specific series. Please refer to the screenshots below:
    So I would like to know what’s your exact needs about creating two X axis for one series. If possible please share some detail information about your data and expected looking of the chart.
    Reference: Plot Data on a Secondary Axis (Report Builder and SSRS)
    If you have any question, please feel free to ask.
    Best regards,
    Qiuyun Yu

  • How to add Two Columns in SQL

    How to add Two Columns in SQL
    For Example
    Jan Feb
    215 NULL
    How to add these two values in SQL

    Anything + NULL is NULL.
    Check this:
    SQL> SELECT 1 + NULL from dual;
        1+NULL
    SQL> You have to do this:
    SQL> with t as (SELECT 235 JAN, NULL FEB FROM dual)
      2  SELECT NVL(JAN,0) + NVL(FEB,0) FROM t;
    NVL(JAN,0)+NVL(FEB,0)
                      235
    SQL>

  • How to add two zeros end of field

    how to add two zeros end of field?

    Hi srinu,
    If it's a number field, then just multiply by 100.
    If it's a string, then just use CONCATENATE and add the '00' to your existing string.
    Hope this helps.
    SL

  • How to add two same components to jsplitpane?

    I want to add same jfilechooser as left and right component of jsplitpane. But when i am adding, it doesn't shows me either of the component(eg blank jsplitpane). I am
    Sir plz give me any solution to add same component to jsplitpane.

    You can't add the same component to two different Containers. A component can only have a single parent. You need to add two separate instances of a JFileChooser (although I don't understand why you want to do this) to each side of the split pane.
    If you need further help then you need to create a [Short, Self Contained, Compilable and Executable, Example Program (SSCCE)|http://sscce.org], that demonstrates the incorrect behaviour.
    Don't forget to use the Code Formatting Tags so the posted code retains its original formatting. That is done by selecting the code and then clicking on the "Code" button above the question input area.

Maybe you are looking for

  • Same Account on Multiple Macs?

    I am setting up a new Mac Mini to be used primarily as the "accounting computer". But it will also serve as a backup computer for the 3 users on my main Mac Pro when multiple users want on at the same time. So how do I handle the set-up of the new Mi

  • Master Detail Forms with 2 composite primary keys - Is there a workaround?

    Hello All, I have been searching for a workaround to the maximum 2 part primary key restriction on the multi-row updates, and master-detail forms, and am hoping that someone can help me. I am using HTMLDB v2.0.0.00.49 with IE 6 against a 9.2 DB. I su

  • Performance of will_paginate + stored programs

    Hi all, What your experience with performance of will_paginate with stored procedures/functions? I have a few pipelined functions following the procedure described at http://wiki.rubyonrails.org/rails/pages/OracleStoredProceduresAsDataSource and uses

  • VS 2013 Pro + Windows 8.1 Pro + SSDT-BI

    Hello Everyone, I've been searching for a few days now and keep running into dead ends trying to figure out what the heck is going on with my installation.  I have Windows 8.1 Professional and Visual Studio 2013 Professional Update 4.  On a separate

  • SAPConnect, Message no. XS 818, Cannot build CVL document.

    We are facing one issue in SAPConnect transaction SCOT/SOST. Checking the List in SOST, there are various fail transmission for FAX. The error message is Cannot process message in node (for reason, see long text) Message no. XS 818 Diagnosis The mess