Can an Excel Report with Multivalue Custom field list report on one row per task

I have a ECF Multi Value field (MVF) at the Task Level and have created a report.  In Excel it wants to add it as a Pivotable, which makes sense and I end up with a row for each MVF.  If a Task has 3 MV selected there are 3 rows returned.
I want to see if it will return only one row (row per task). 
Example of Result Required
PTask name , MVf Value1, MVF Value2, MVF Value 3.
Build Car             X                                    
X
Build Bike            X                     X
Is it possible?  is there something in my SQL Query I can do or is there something in Excel I can configure?
Result being Returned
PTask name , MVf Value1, MVF Value2, MVF Value 3.
Build Car             X                                    
Build Car                                                    X
Build Bike            X                    
Build Bike                                 X
SQL Query
SELECT
MSP_EpmProject_UserView.ProjectOwnerName,
MSP_EpmProject_UserView.ProjectName,
MSP_EpmTask_UserView.TaskName,
MSP_EpmLookupTable.MemberFullValue AS [Item],
Iif(MSP_EpmLookupTable.MemberFullValue LIKE 
'%' + 'CPT' + '%','X','') AS [CPT],
Iif(MSP_EpmLookupTable.MemberFullValue LIKE 
'%' + 'TS' + '%','X','') AS [TS],
Iif(MSP_EpmLookupTable.MemberFullValue LIKE 
'%' + 'CSAs' + '%','X','') AS [CSAs],
Iif(MSP_EpmLookupTable.MemberFullValue LIKE 
'%' + 'EM' + '%','X','') AS [EM],
Iif(MSP_EpmLookupTable.MemberFullValue LIKE 
'%' + 'RS' + '%','X','') AS [RS],
Iif(MSP_EpmLookupTable.MemberFullValue LIKE 
'%' + 'IS' + '%','X','') AS [IS]
FROM
MSP_EpmProject_UserView INNER JOIN
MSP_EpmTask_UserView ON
MSP_EpmProject_UserView.ProjectUID = MSP_EpmTask_UserView.ProjectUID
LEFT OUTER JOIN
[MSPCFTASK_Service Areas_AssociationView] ON
MSP_EpmTask_UserView.TaskUID = [MSPCFTASK_Service Areas_AssociationView].EntityUID
LEFT OUTER JOIN
MSP_EpmLookupTable ON
[MSPCFTASK_Service Areas_AssociationView].LookupMemberUID = MSP_EpmLookupTable.MemberUID
WHERE datalength(MSP_EpmLookupTable.MemberFullValue) > 0
Andrew Payze

Hi Andrew,
I'm not a developer, but I found something in my documentation that could help you. This is a SQL store procedure that returns in an Excel pivot table something like below (GR_test6 being a project and values in the next column being multivalue project ECF
values).
SELECT proj.ProjectName,
lt.MemberFullValue AS 'VLookupField'
FROM dbo.MSP_EpmProject_UserView AS proj
LEFT OUTER JOIN [dbo].[MSPCFPRJ_ProjectECF_AssociationView] AS MVassoc -- view for multi value field
ON proj.ProjectUID = MVassoc.EntityUID
LEFT OUTER JOIN dbo.MSP_EpmLookupTable AS lt
ON MVassoc.LookupMemberUID = lt.MemberUID
order by ProjectName asc
Hope this helps.
Guillaume Rouyre - MBA, MCP, MCTS

Similar Messages

  • Why can I video chat with everyone on my list- Except for one person?

    Recently, my friend and I have been having problems video chatting with each other. A couple of months ago, we were able to screen share, voice chat, and video chat just fine. I can, and she can too, do all those things with all of our other iChat contacts. Except when we try to do anything with each other, it says "A problem has occurred with iChat". We've tried it multiple times on different computers, internet connections, etc., but it never seems to work. Is there a way that my friend and I can start to video chat and screen share again? This problem has just come out of the blue, and it is really bugging us.

    Hi,
    Welcome to the    Discussions
    Have either of you changed a Router at all ?
    I have some info dating back to iChat 3 listed here
    As time and iChat has progressed so has our understanding of NAT (Network Address Translation)
    In some cases the way the Device that does the routing at each end does NAT means you cannot get a video connection.
    If it was working and now doesn't it suggests something changed.
    As changing setting would more likely effect every Buddy at one end it looks more like a hardware issue (at least in terms of the devices functionality)
    Make, model and version numbers of any routers may help identify something specific.
    8:10 PM Monday; February 28, 2011
    Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"

  • Enhancing the component ERP_H with a custom field in the web UI

    Hi,
    I'm facing an error when enhancing the component ERP_H with a custom field in the web UI.
    I've followed the steps mentioned in the pdf document called "Enhancement Options for the Lean Order Interface" (Note
    1224179):
    I´ve done a enhacement on ERP_H component.
    I added a field to the view Headerdetail called "ZZCCTYPE1", but when I set a value in UI, I haven´t read this field in abap code.
    The SET method (SET_ZZCCTYPR1) in the context node is ok, in debug I see that the method current->set_property, is working fine.
    I've tried to read the atribute with lr_entity->get_property_as_string ( 'ZZCCTYPR1' ), but doesn´t work. When I read other "standard field", the statement is ok and it has value.
    When I set the value of the field from ECC (VA01/VA02), it is kept by the system.
    Could anybody help me?
    Thanks in advance,
    Regards,
    Andrea Ricci

    Hi Pooja,
    When you created your custom views, did you bind the view context nodes to the corresponding context nodes of your component controller?
    From the exceptions you reported it seems that this binding is missing.
    To create this binding, you can right click on your view context node , choose "Create Binding" and bind it to the context nodes of your Component Controller.
    Hope this helps.
    Regards,
    Nisha

  • Export Project Tasks to Excel using VBA by Custom Field

    Question referring to the link:
    http://social.technet.microsoft.com/Forums/projectserver/en-US/9c46458c-893f-41ba-bd46-bdb59c533f4a/export-project-tasks-to-excel-using-vba-by-custom-field?forum=project2010custprog
    Help needed. I have inserted my question at this address for Andrew or anybody else to reply. Hope to hear from you.
    Regards,
    Chuck

    Thank you Andrew for getting back to me and I have found somewhere on the net the following macro that would do the job for the version 2007. Here is a copy for those that may need it.
    Option Explicit
    Sub CreateMenus()
    Dim cbrMain As CommandBar
    Dim ctlMain As CommandBarControl
    Dim ctlOLExport1 As CommandBarControl
    Dim ctlOLExport2 As CommandBarControl
    Dim ctlOLExport3 As CommandBarControl
    Set cbrMain = Application.CommandBars.ActiveMenuBar
    Set ctlMain = cbrMain.Controls.Add(Type:=msoControlPopup, Temporary:=True)
    ctlMain.Caption = "Export to Outlook"
    Set ctlOLExport1 = ctlMain.CommandBar.Controls.Add(Type:=msoControlButton)
    With ctlOLExport1
    .Caption = "Selection to Outlook tasks"
    .OnAction = "Macro """ & "Export_Selection_To_OL_Tasks"""
    End With
    Set ctlOLExport2 = ctlMain.CommandBar.Controls.Add(Type:=msoControlButton)
    With ctlOLExport2
    .Caption = "Selection to Outlook appointments"
    .OnAction = "Macro """ & "Export_Selection_To_OL_Appointments"""
    End With
    Set ctlOLExport3 = ctlMain.CommandBar.Controls.Add(Type:=msoControlButton)
    With ctlOLExport3
    .Caption = "Selection to Outlook notes"
    .OnAction = "Macro """ & "Export_Selection_To_OL_Notes"""
    End With
    End Sub
    Cheers!
    Chuck

  • Enhancement of component ERP_H with a custom field in the Web UI

    Hi,
    I'm facing an error when enhancing the component ERP_H with a custom field in the web UI.
    I've followed the steps mentioned in the pdf document called "Enhancement Options for the Lean Order Interface" (Note
    1224179):
    I´ve done a enhacement on ERP_H component.
    I added a field to the view Headerdetail called "ZZCCTYPE1", but when I set a value in UI, I haven´t read this field in abap code.
    The SET method (SET_ZZCCTYPR1) in the context node is ok, in debug I see that the method current->set_property, is working fine.
    I've tried to read the atribute with lr_entity->get_property_as_string ( 'ZZCCTYPR1' ), but doesn´t work. When I read other "standard field", the statement is ok and it has value.
    When I set the value of the field from ECC (VA01/VA02), it is kept by the system.
    Could anybody help me?
    Thanks in advance,
    Regards,
    Andrea Ricci

    Hi,
    To add a new field, you have to first create it through T-Code EEWB where in you create a project, create extension  which is assigned to a business object and create the new field through wizard - specifying the field name , type and length.
    Once this is done, you can check the new field coming up in available fields for the relevant component's view in Tcode BSP_WD_CMPWB.
    Hope this helps you out.
    Cheers
    Ravindra Valy
    "Award Points if it is helpfull"

  • Can we replace OracleSytemUser with a custom user in ldap?

    HI,
    We have installed soa 11g and configured Microsoft AD as ldap provider.
    I have couple of questions around this.
    1. Can we remove the default embedded authenticator totally? If yes what are the things we should keep in mind?
    2. We don't want hard coded users like "OracleSystemUser". Can we replace OracleSystemUser with our custom user, maybe assinging our user to OracleSystemGroup in our ldap.
    Would appreciate any help.
    Thanks
    Manish

    There are Office-type apps available for iPad.
    Skype is also available for iPad.
    Whether you, specifically, can completely replace a laptop with an iPad depends on what you use your laptop for. The iPad is not designed to completely replace a laptop. There are many things a laptop can do that an iPad cannot. Whether those limitations are an issue for you, depends on your laptop usage.

  • Problem is with the custom field validate in the custome tab

    Hello Experts,
    We have created additional tab in cProject Project definition level
    with some Custom fields.
    1. These all custom field we have maintained search help with Check
    table. But cProject screen these fields it is allowing other values
    also aprt from check table values. It is not through any error while
    entering wrong value apart from check table values. Properly maintained
    the check tables in back end.
    2. One custom fields my client need only to allow Numeric values only.
    For this we change the data element as 'NUMC' in field. But it is
    allowing entering the char value also.
    Kindly suggest if anything is needed to be done in webdynpro component
    level to maintain validations for custom fields.
    Thanks in advance for your help.
    Thanks & Regards,
    Raj

    Hello Raj
    I am having the same issue. Have you been able to resolve yours, and how did you ressolve it?
    Thanks
    Chatsworth

  • Importing From Excel file will not import assignments correctly where there are more than one assignment per task

    I am trying to import an excel file ... see below.   It appears if you select both Tasks and Assignments tables it will not allow you to do this, says file is not in a project recognized format.  So I import Tasks tab first then run the
    wizard again and import the assignments tab while selecting merge with project option.   This works with one exception:
    If there are more than one assignment per task.  It does not merge in the 2nd assignment, only the first.
    Is there a way to import a task with 2 or more assignments?
    Background
    To figure out what the format for the file needed to be, I started with a MPP file and from project saved as Excel and selected the "Project Template" file.  Now I am trying to import that XLS to see how it works
    ID
    Active
    Task Mode
    Name
    Duration
    Start
    Finish
    Predecessors
    Outline Level
    1
    Yes
    Auto Scheduled
    DS001
    3 days
    June 17, 2014 8:00 AM
    June 19, 2014 5:00 PM
    1
    2
    Yes
    Auto Scheduled
    MT001
    3 days
    June 17, 2014 8:00 AM
    June 19, 2014 5:00 PM
    2
    3
    Yes
    Auto Scheduled
    CT001
    1 day
    June 17, 2014 8:00 AM
    June 17, 2014 5:00 PM
    3
    4
    Yes
    Auto Scheduled
    CT002
    2 days
    June 18, 2014 8:00 AM
    June 19, 2014 5:00 PM
    3
    3
    5
    Yes
    Auto Scheduled
    DS002
    1 day
    June 20, 2014 8:00 AM
    June 20, 2014 5:00 PM
    1
    6
    Yes
    Auto Scheduled
    MT002
    1 day
    June 20, 2014 8:00 AM
    June 20, 2014 5:00 PM
    2
    7
    Yes
    Auto Scheduled
    CT003
    1 day
    June 20, 2014 8:00 AM
    June 20, 2014 5:00 PM
    4
    3
    Task   Name
    Resource Name
    % Work Complete
    Work
    Units
    CT001
    Engineer1
    0
    8h
    100%
    CT002
    Engineer2
    0
    16h
    100%
    CT003
    Engineer1
    0
    8h
    100%
    CT003
    Engineer2
    0
    8h
    100%
    Andrew Payze

    Andrew,
    I did a quick test using your example although I didn't include the Predecessor or Outline Level fields to keep things a little simpler. I imported the Excel data into a new Project file with a single import of task and assignment data. It is very important
    to set up the Excel Workbook correctly. On Sheet 1 I entered the task data (Name, Duration, Start). I did not include the ID or finish date as that is redundant - Project generates its own ID and will calculate the finish date based on the start date and duration.
    On Sheet 2 I entered the assignment data basically just as you show it except I didn't include the Units.
    The data imported as expected.
    John

  • Parse column with csv string into table with one row per item

    I have a table (which has less than 100 rows) - ifs_tables that has two columns: localtable and Fields. Localtable is a table name and Fields contains a subset of columns from that table. Fields is a comma delimited list:  'Fname,Lname'. It looks like
    this:
    localtable         fields
    =========  =============
    customertable   fname,lname
    accounttable     type,accountnumber
    Want to end up with a new table that has one row per column. It should look like this:
    TableName             ColumnName
    ============ ==========
    CustomerTable        Fname
    CustomerTable        Lname
    AccountTable          Type
    AccountTable          AccountNumber
    Tried this code but have two issues (1) My query using the Splitfields functions gets "Subquery returned more than 1 value" (2) some of my Fields has hundreds of collumns in the commas delimited list. It will returns "Msg 530, Level 16, State
    1, Line 8. The statement terminated. The maximum recursion 100 has been exhausted before statement completion.maxrecursion greater than 100." Tried adding OPTION (maxrecursion 0) in the Split function on the SELECT statment that calls the CTE, but
    the syntax is not correct.
    Can someone help me to get this sorted out? Thanks
    DROP FUNCTION [dbo].[SplitFields]
    go
    CREATE FUNCTION [dbo].[SplitFields]
    @String NVARCHAR(4000),
    @Delimiter NCHAR(1)
    RETURNS TABLE
    AS
    RETURN
    WITH Split(stpos,endpos)
    AS(
    SELECT 0 AS stpos, CHARINDEX(@Delimiter,@String) AS endpos
    UNION ALL
    SELECT endpos+1, CHARINDEX(@Delimiter,@String,endpos+1)
    FROM Split
    WHERE endpos > 0
    SELECT 'Id' = ROW_NUMBER() OVER (ORDER BY (SELECT 1)),
    'Data' = SUBSTRING(@String,stpos,COALESCE(NULLIF(endpos,0),LEN(@String)+1)-stpos)
    FROM Split --OPTION ( maxrecursion 0);
    GO
    IF OBJECT_ID('tempdb..#ifs_tables') IS NOT NULL DROP TABLE #ifs_tables
    SELECT *
    INTO #ifs_tables
    FROM (
    SELECT 'CustomerTable' , 'Lname,Fname' UNION ALL
    SELECT 'AccountTable' , 'Type,AccountNumber'
    ) d (dLocalTable,dFields)
    IF OBJECT_ID('tempdb..#tempFieldsCheck') IS NOT NULL DROP TABLE #tempFieldsCheck
    SELECT * INTO #tempFieldsCheck
    FROM
    ( --SELECT dLocaltable, dFields from #ifs_tables
    SELECT dLocaltable, (SELECT [Data] FROM dbo.SplitFields(dFields, ',') ) from #ifs_tables
    ) t (tLocalTable, tfields) -- as Data FROM #ifs_tables
    SELECT * FROM #tempFieldsCheck

    Try this
    DECLARE @DemoTable table
    localtable char(100),
    fields varchar(200)
    INSERT INTO @DemoTable values('customertable','fname,lname')
    INSERT INTO @DemoTable values('accounttable','type,accountnumber')
    select * from @DemoTable
    SELECT A.localtable ,
    Split.a.value('.', 'VARCHAR(100)') AS Dept
    FROM (SELECT localtable,
    CAST ('<M>' + REPLACE(fields, ',', '</M><M>') + '</M>' AS XML) AS String
    FROM @DemoTable) AS A CROSS APPLY String.nodes ('/M') AS Split(a);
    Refer:-https://sqlpowershell.wordpress.com/2015/01/09/sql-split-delimited-columns-using-xml-or-udf-function/
    CREATE FUNCTION ParseValues
    (@String varchar(8000), @Delimiter varchar(10) )
    RETURNS @RESULTS TABLE (ID int identity(1,1), Val varchar(8000))
    AS
    BEGIN
    DECLARE @Value varchar(100)
    WHILE @String is not null
    BEGIN
    SELECT @Value=CASE WHEN PATINDEX('%'+@Delimiter+'%',@String) >0 THEN LEFT(@String,PATINDEX('%'+@Delimiter+'%',@String)-1) ELSE @String END, @String=CASE WHEN PATINDEX('%'+@Delimiter+'%',@String) >0 THEN SUBSTRING(@String,PATINDEX('%'+@Delimiter+'%',@String)+LEN(@Delimiter),LEN(@String)) ELSE NULL END
    INSERT INTO @RESULTS (Val)
    SELECT @Value
    END
    RETURN
    END
    SELECT localtable ,f.Val
    FROM @DemoTable t
    CROSS APPLY dbo.ParseValues(t.fields,',')f
    --Prashanth

  • How to pivot horizontally Author names, and group by Book title. One row per book with multiple authors

    I have 3 tables - Book, Author, BookAuthorReference
    A book can have multiple authors, and when I do straight query I get multiple rows per book
    SELECT <columns>
    FROM Book b, Author a, BookAuthorReference ba
    where ba.BookId = b.BookId and
    ba.AuthorId = a.AuthorId
    I want to get the results as ONE row per book, and Authors separated by commas, like:
    SQL 2008 internals book    Paul Randal, Kimberly Tripp, Jonathan K, Joe Sack...something like this
    Thank you in advance

    This can by done by straying into XML land. The syntax is anything but intuitive, but it works. And moreover, it is guaranteed to work.
    SELECT b.Title, substring(a.Authors, 1, len(a.Authors) - 1) AS Authors
    FROM   Books b
    CROSS  APPLY (SELECT a.Author + ','
                  FROM   BookAuthorReference ba
                  JOIN   Authors a ON a.AuthorID = ba.AuthorID
                  WHERE  ba.BookID = a.BookID
                  ORDER  BY ba.AuthorNo
                  FOR XML PATH('')) AS a(Authors)
    Erland Sommarskog, SQL Server MVP, [email protected]

  • Issues With AET custom field generation,EHP1

    Hi ,
    There is a DB limit for creating a custom fields
    error showing limit exceeds .
    Here we can use reusable fields.
    we are unable to delete the fields also...by clicking on delete icon and then save and generate.
    can we control this?
    and table view created throgh aet ,is called by bp_head .
    now when i delete the component generated by aet ,getting an error ,as at run time its getting called by
    GET_INTERFACE_VIEW_CONTR.
    How should i reslove it.
    Thanks,
    Anitha.

    Hi Anitha,
    During the creation of AET fields, if you have chosen the options like BW/R3/Mobile then the problem comes when deeleting these fields. Please follow the instructions given in the note 1346128. There are some set of manual steps given to delete AET fields.
    Hope it helps. satish

  • MS Project 2013 - Issue with Resource Custom Fields

    When I use “Resource Custom Fields”, (Number type) the formula do not work. Moreover the “Calculation for task and group summary rows” options do not work (be it sum, average or any other option). Any information regarding this will really be
    helpful.

    No, what I mean is that data you enter into the Number1 field added in a Resource view (Resource Sheet for example) will not show the same data as the Number1 field added in a task view.  See FAQ51 at: http://project.mvps.org/faqs.htm
    If you are seeing the correct data in the Task view, you can try applying the built-in Resource Group - but the issue will be that you will not see the total per resource.  For example - if Resource1 and Resource2 are assigned to one task and then Resource2
     and Resource3 are assigned to another task, you won't see the individual details for Resource 2.

  • Issue with new Custom field value in Material UI (EHP5)

    Hi
    We added new Custom field (country) in material UI for Routing the WF based on country.
    we added this new field in material general data, When user press the "check" button in the header the value disappeared in the UI.
    This field value  required only in MDG CR level, this field value will not be updated in ECC active area.
    Request your inputs to solve this problem.

    resolved myself:
    PROCESS BEFORE OUTPUT.
    *                      Verarbeitung vor der Ausgabe
    *MS17092009 Non eliminare modules standard.
      MODULE set_propriety.
      MODULE INIT_SUB.
      MODULE GET_DATEN_SUB.
    PROCESS AFTER INPUT.
    *                      Verarbeitung nach der Eingabe
    MODULE GET_DATEN_SUB.
    CHAIN.
          FIELD MARA-ZBARCODE.
    ENDCHAIN.
    MODULE SET_DATEN_SUB.
    FIELD MARA-ZBARCODE MODULE BARCODE_0001 ON INPUT.

  • Problem with the custom field - enabling

    hi,
    i am using one customer field in the shopping card header , and using BBP_DOC_CHECK_BADI to issue an error message if this field is left empty.
    but the problem comes after the error message is issues , this field becomes disabled , and the user has to go back , and again come to the order screen to enter the value and order the cart.
    i have tried all possible options , to keep the customer field enabled , but not able to do so.
    have you got any inputs for me..
    Edited by: khan voyalpad usman on Aug 21, 2008 12:29 PM

    Hi,
    Have you checked the BBP_CUF_BADI_2 implementation in your system ??
    May be some logic there is disabling the customer field right after the error message is generated..
    Thanks,
    Pradeep

  • How to filter with multiple selection on a single column on external list, currently only one filter per column is available.

    I have external list where i want to apply multiple filter for every column like we do in Excel spreadsheet - we can filter a spreadsheet column by selecting multiple checkbox for every  column. I am using Sharepoint 2010
    Is this possible in sharepoint 2010? Any idea how to acheive that?
    Thanks in advance.

    Hi Rahul,
    According to your description, my understanding is that you want to use filter with multiple values on a column of an external list in SharePoint 2010.
    Per my knowledge, there is not an OOB way to achieve it. As a workaround, you can custom the web part to implement it. There is an articles for your reference:
    http://blogs.telerik.com/aspnet-ajax/posts/13-11-05/add-excel-like-multi-select-filtering-to-your-asp.net-datagrid
    In addition, you can use a third party solution to achieve it, please take a look at:
    http://abilitics.com/Blog/index.php/sharepoint-improved-grids-with-excel-like-inline-editing/
    http://social.technet.microsoft.com/forums/sharepoint/en-US/3d19b9d3-d394-4af9-9e8e-2dee70b50540/filter-column-with-multiple-filter-values-in-sharepoint-list
    I hope this helps.
    Thanks,
    Wendy
    Wendy Li
    TechNet Community Support

Maybe you are looking for

  • Targeting the EdgeID object from inside the animation

    I've been working on an animation that displays content pulled in from json files.  The height of the content pulled in is determined and then the Stage height is adjusted to fit the total content. This works well by itself. See http://www.jomariwork

  • Please help: programs shut down after 60 sec's

    *Please help me:* Since two weeks or so (may be, after I updated my QuickTime), every program I opened *shuts down after roughly 60 seconds*. It is not closed but it gets out of the writing mode so that I need to click on the page first before being

  • Need help with the evaluation version of Lightroom CC : the app doesn't launch.

    Hello, I have installed the Creative Cloud and Lightroom CC three days ago (version d'essai). When I try to start Lightroom CC, I get a window with a countdown saying "28 days left", and at the bottom of this window there is a "pursue the evaluation"

  • SHMMAX and UNLIMIT

    How do you set the Kernel parameters for SHMMAX, SHMMIN, ... and I'm also getting an alert about UNLIMIT needing to be 2113674. Can anyone help? Thanks Jon null

  • Is DNG a universal raw format?

    I have DNG files converted from both a Nikon D70 and a D80. Now, ACDSee Pro 2.0 reads the former, but not the later (original Nikon NEFs, as well as the DNGs). Also, for example, Aperture's specs state that it only reads DNGs from cameras it already