Value lookup

Hi,
1) I need help regarding how to do value lookup in SAP XI.
2) My particular scenario includes a small list as well a long list. Is their a differnce in how i can eficiently do a value lookup based on whether it is short or long list.
Thanks,
Kunal

Hi Kuna,
If the values have to be maintained by user then it's normally done in tables (any database)...and then within the message mapping by using function we can connect to databse for lookup (JDBC lookup).
You can also use value mapping if you are not looking at picking up values from application system.
It is just like your SM30 transcation.You can get the info under SAP XI->Design and Configuration->Configuration->Value Mapping.
If you are in SP13 you can use lookup API SAP XI->Design and Configuration->Design->Mapping look ups.
Also have look at these Blogs and threads...
/people/sundararamaprasad.subbaraman/blog/2005/12/09/making-csv-file-lookup-possible-in-sap-xi
/people/alessandro.guarneri/blog/2006/03/27/sap-xi-lookup-api-the-killer
JDBC Lookup
EJB Lookup
Re: RFC Lookup.
CSV File LookUp
I hope it helps...
Regards,
Abhy

Similar Messages

  • Reporting counts on multi-value lookup columns

    Hi,
    I have a list containing 2 columns - student, and subjects. Subjects is a multi-value lookup column. Students may study multiple subjects. What I'm trying to achieve is a simple pie chart (I don't care if it's done using SharePoint Web Part, Excel or
    SSRS) that displays a breakdown of how many students are studying each subject.
    So if I have 2 list entries:
    Person 1, Science, Maths
    Person 2 , Maths
    Person 3 , Science
    The report/chart would report  2 Science and 3 Maths. What I'm struggling with is that because the data is stored in an un-normalized fashion ('#;') separated it's not possible to do straight charts without coding (C# or VBS). I
    would have assumed that this issue would be widely spread but I've had no luck looking through forums. Does anyone have any experience/;ideas on how to handle this??
    Thanks.
    MDB

    Hi
    From your description, my understanding is that you want to get counted values of a Multi-Value lookup column.
    You can get counted values of a Multi-Value lookup column
    in DVWP using XSLT.
    Refer to the following post:
    https://social.msdn.microsoft.com/Forums/en-US/f9d4cf16-4460-48a7-9514-dee19503b9fc/getting-counted-values-of-a-multivalue-lookup-column-in-dvwp-using-xslt?forum=sharepointdevelopmentprevious
    Best Regards,
    Lisa Chen
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Does Access 2013 Web App support multi-value lookup fields?

    I hope someone can please help me with this as I've not been able to find the answer by searching this site, nor elsewhere on the web. I have Access 2013 open connected to my web app on Sharepoint Skydrive with a table open in 'edit table' mode. When I add
    a new lookup field I don't see any option to make it a multi-value lookup field. Is there no support for that in web apps or am I doing something wrong?
    Cheers, Henk.
    Cheers, Henk.

    This is what I use in the Parent RowSource:
    This in the parent child relationship
    In the row source query from the child, I have a simular expression. By inverting the boolean 'childToggler' I can force the child-form to requery. Because the boolean is in the session table record (which is part of the child form recordsource query as
    well), the boolean will be inverted in both and won't disrupt the relationship.
    Besides the toggler this relationship only contains an ID with preceding zero's, but the expression can contain pretty much everything. 

  • Assignment on Multi-Valued Lookup field

    Hi experts,
    Is it possible to assign value to a multi-valued lookup field using assignment.
    For example, "Products" is the main table. In the products table I have a multi-valued attribute "PLANT". Product table contains a field "PLANT" of type look-up multivalued to the Plants table.
    So, is it possible to assign Plant attribute values to PLANT Look-up multivalued field in the main table using assignment??
    Is not, then is there any other work around solution to acheive this requirement?
    Best Regards,
    Shiv

    hi,
    So, is it possible to assign Plant attribute values to PLANT Look-up multivalued field in the main table using assignment??
    No this is not possible, to get the values of the plant attributes you again have to lookup at the plant master data and fetch the values from there in the routine.
    regards,
    Arvind.

  • Issues updating/setting multi value lookup columns via powershell

    Hi All,
         I have an issue updating multi values in a lookup field via powershell
    I can update a single value  lookup field as below but can't get to update if its multi value.
    As stated below when I hardcode it. It works.
    No idea what 'm missing. Any help will be appreciated.
    #Hardcoded works below as you can see i'm setting 3 values
    $array = @($realval.Split(';'))
    for ($i = 0; $i -lt $array.Count - 1; $i += 2)
    $word = $array[$i].Trim('#')
    $number = $array[$i+1].Trim('#')
    "$number $word"
    $lookupvalue1 = GetLookUpValues -val $number
    [Microsoft.SharePoint.SPFieldLookupValueCollection] $itemValues = New-Object Microsoft.SharePoint.SPFieldLookupValueCollection
    [Microsoft.SharePoint.SPFieldLookupValue] $lookupvalue = New-Object Microsoft.SharePoint.SPFieldLookupValue
    [Microsoft.SharePoint.SPFieldLookupValue] $lookupvalue2 = New-Object Microsoft.SharePoint.SPFieldLookupValue
    [Microsoft.SharePoint.SPFieldLookupValue] $lookupvalue3 = New-Object Microsoft.SharePoint.SPFieldLookupValue
    $lookupvalue.LookupId = 1
    $lookupvalue2.LookupId = 2
    $lookupvalue3.LookupId = 6
    $itemValues.Add($lookupvalue)
    $itemValues.Add($lookupvalue2)
    $itemValues.Add($lookupvalue3)
    #$itemValues.Add($lookupvalue)
    $CMRSItems["Event Type"] = $itemValues;
    Write-Host "items:" $itemValues
    $CMRSItems.Update()
    # This works when its updating only one value but when it needs to update multivalue it only updates the last one
    #so for example with the lookupvalue above only 6 gets updated below
    $array = @($realval.Split(';'))
    for ($i = 0; $i -lt $array.Count - 1; $i += 2)
    $word = $array[$i].Trim('#')
    $number = $array[$i+1].Trim('#')
    #$number
    "$number $word"
    #send param to GetLoolValues func to return records as SPFieldLookupValue
    $lookupvalue1 = GetLookUpValues -val $number
    #I can view the lookupvalue returned successfully
    #Write-Host $lookupvalue1
    [Microsoft.SharePoint.SPFieldLookupValueCollection] $itemValues = New-Object Microsoft.SharePoint.SPFieldLookupValueCollection
    #This LookupId returns 3 values like on the hardcoded one above like so :1,2,6
    $lookupvalue.LookupId = $number
    $itemValues.Add($lookupvalue)
    $CMRSItems["Event Type"] = $itemValues;
    #I can view the items returned successfully
    Write-Host "items:" $itemValues
    $CMRSItems.Update()

    The problem I can see with your code is that the below line of code, you are instantiating inside the for loop. This should have been outside the for loop as by keeping it inside the loop you are overriding the value.
    [Microsoft.SharePoint.SPFieldLookupValueCollection] $itemValues = New-Object Microsoft.SharePoint.SPFieldLookupValueCollection
    Please have a look at the below solution and modify your code as per your requirement. What I am trying to achieve in the below code is that I have a listA in which one of the field is being used as a multi-lookup in my listB.
    $lookupCollection = $something.split(";")
    $LookupMasterList=$web.Lists["ListA"]
    [Microsoft.SharePoint.SPFieldLookupValueCollection] $lookupValueCollection = New-Object Microsoft.SharePoint.SPFieldLookupValueCollection
    #Get the Lookup Item from Parent List
    foreach($item in $lookupCollection){
    IF([string]::IsNullOrEmpty($item.trim())) {
    continue;
    $LookupItem = $LookupMasterList.Items | Where-Object { $_.Item("FieldInternalName") -eq $item.trim()}
    if($LookupItem -ne $null)
    $myLookup = New-Object Microsoft.Sharepoint.SPFieldLookupValue($LookupItem.ID,$item.trim())
    $lookupValueCollection.Add($myLookup);
    #Set the Lookup field value
    if([string]::IsNullOrEmpty($lookupValueCollection)){
    continue;
    else{
    $newItem["Lookupfieldinternalname"] = $lookupValueCollection
    The above logic has no hard coding and it fetches the lookup information directly from the master list and generates a collection based on that. You can modify the above code as per your requirement.
    Geetanjali Arora | My blogs |

  • PowerShell: Update SharePoint multiple value lookup column?!

    Hi.
    I have some PowerShell scripts that access, update and insert data into various SharePoint 2010 lists. This all works nicely but there is one thing I'm having trouble with. I want to populate a lookup column in a list with multiple values. The column allows
    multiple values and has many such records inserted manually - but I cannot do this using PowerShell. I can update the lookup column using a single "ID" lookup value - but not with multiple values.
    I cannot find any documentation on how to do this using PowerShell. I have seen some examples (C#?) but there's little help in them.
    Any suggestions?
    Thank you,
    Markus
    Markus Sveinn Markusson

    Well, being impatient in nature, I did a lot of browsing and searching - and finally found a solution that works for me - in this thread:
    http://social.technet.microsoft.com/Forums/en/winserverpowershell/thread/3788a0ff-7011-4aea-bcc6-96a276a50e60. Adapted
    to my code it looks like this:
    $spAssignment = Start-SPAssignment
    $spList = (Get-SPWeb -identity
    http://site.domain.com -AssignmentCollection $spAssignment).Lists["Tickets"]
    $spNew = $spList.Items.Add()
    $spNew["Title"] = $Title
    $spNew["Assigned To"] = $AssignID
    $spNew["Description"] = $Descr
    $spNew["Priority"] = $Priority 
    #----- Begining of "solution"
    $lookupentry1 = New-Object Microsoft.Sharepoint.SPFieldLookupValue(1,"Service 1")
    $lookupentry2 = New-Object Microsoft.Sharepoint.SPFieldLookupValue(2,"Service 2")
    $lookupentry3 = New-Object Microsoft.Sharepoint.SPFieldLookupValue(3,"Service 3")
    $multientry = New-Object Microsoft.Sharepoint.SPFieldMultiChoiceValue($null)
    $multientry.Add($lookupentry1)
    $multientry.Add($lookupentry2)
    $multientry.Add($lookupentry3)
    $spNew["Service"] = $multientry
    #----- End of "solution"
    $spNew.Update()
    Regards,
    Markus
    Markus Sveinn Markusson

  • Domain Value Lookup for EMPLOYMENT CATEGORY CODE in the W_EMPLOYMENT_D

    Hello friends,
    When I query the EBS with following code to put the data in the configuration file
    SELECT DISTINCT SYSTEM_PERSON_TYPE, USER_PERSON_TYPE
    FROM PER_PERSON_TYPES
    WHERE SYSTEM_PERSON_TYPE IN ('EMP','CWK','OTHER','EMP_APL','EX_EMP','EX_EMP_
    APL','RETIREE','PRTN')
    ORDER BY 1,2
    I get output as follows
    CWK     Contingent Worker
    EMP     Employee
    EMP_APL     Employee and Applicant
    EX_EMP     Ex-employee
    OTHER     Candidate
    OTHER     Contact
    OTHER     External
    PRTN     Participant
    RETIREE     Retiree
    So, I want to put the data in the configuration file, what about other columns.
    USER_PERSON_TYPE     SYS_PERSON_TYPE     W_EMPLOYEE_CATEGORY_CODE     W_EMPLOYEE_CATEGORY_DESC     W_EMPLOYEE_SUB_CAT_CODE     W_EMPLOYEE_SUB_CAT_DESC
    How should I fill the columns marked with bold.
    Please help

    I have the same problem. I currently have an open service request on this so will post any response I get from the oracle product manager. In the meantime here is a bit more detail on the issue...
    This is step
    Oracle® Business Intelligence Applications
    Configuration Guide for Informatica PowerCenter Users
    Version 7.9.6.1 E14844-01
    7 Configuring Oracle Human Resources Analytics
    7.2.2 Configuration Steps for Oracle HR Analytics for Oracle EBS
    7.2.2.3 How to Configure the domainValues_Employment_Cat_ora.csv
    http://download.oracle.com/docs/cd/E14847_01/bia.796/e14844.pdf
    The task is to map the 2 source dependent values (left hand side) to the 4 source independent domain (W_) values (right hand side). Unlike other similar steps in this case the set of possible domain values is ambiguous.
    On my system the source dependent values - the left hand side of the csv spreasdsheet are
    Agency Contractor,EMP
    Employee,EMP
    Ltd Company Contractor,EMP
    PAYE Contractor,EMP
    Employee and Applicant,EMP_APL
    Ex-Agency Contractor,EX_EMP
    Ex-employee,EX_EMP
    Ex-Ltd Company Contractor,EX_EMP
    Ex-PAYE Contractor,EX_EMP
    Ex-employee and Applicant,EX_EMP_APL
    Contingent Worker,CWK
    External,OTHER
    Candidate,OTHER
    Contact,OTHER
    Participant,PRTN
    Retiree,RETIREE
    the configuration document says
    "When editing CSV files, make sure that you: Do not add new values, other than the values present in the CSV file, to the columns with the name format W_ columns. In other words, if you add new rows to the spreadsheet, then the columns with the name format W_ values must map to those in the default spreadsheet. If you add new columns with the name format W_ values, then you must customize the affected mappings."
    The reason you should not change the domain values is because these values tend to be "hard coded" in the ETL/RRD/requests to provide the various metrics. "Incorrect mappings may result in inaccurate calculations of Oracle Business Intelligence metrics. Some sessions may fail if these procedures are not compiled in the database before running the workflows."
    the default out of the box lookup file
    domainValues_Employment_Cat_ora11i.csv
    has 7 mappings
    USER_PERSON_TYPE,SYS_PERSON_TYPE,W_EMPLOYEE_CATEGORY_CODE,W_EMPLOYEE_CATEGORY_DESC,W_EMPLOYEE_SUB_CAT_CODE,W_EMPLOYEE_SUB_CAT_DESC
    Employee,EMP,EMPLOYEE,Employee,EMP_REGULAR,Regular Employee
    Expatriate,EMP,EMPLOYEE,Employee,EMP_EXPATRIATE,Expatriate
    Temporary,CWK,CONTINGENT,Contingent Worker,CONTINGENT_TEMP,Agency/Temp
    Contingent Worker,CWK,CONTINGENT,Contingent Worker,CONTINGENT_CONTINGENT,Contractor
    Contractor,EMP,CONTINGENT,Contingent Worker,CONTINGENT_CONTRACTOR,Contractor
    Student,CWK,CONTINGENT,Contingent Worker,CONTINGENT_INTERN,Intern
    Trainee,CWK,CONTINGENT,Contingent Worker,CONTINGENT_TRAINEE,Trainee
    that gives 2 employment categories
    EMPLOYEE or CONTINGENT
    with 6 possible combinations with sub category
    EMPLOYEE,Employee,EMP_REGULAR,Regular Employee
    EMPLOYEE,Employee,EMP_EXPATRIATE,Expatriate
    CONTINGENT,Contingent Worker,CONTINGENT_TEMP,Agency/Temp
    CONTINGENT,Contingent Worker,CONTINGENT_CONTINGENT,Contractor
    CONTINGENT,Contingent Worker,CONTINGENT_INTERN,Intern
    CONTINGENT.Contingent Worker,CONTINGENT_TRAINEE,Trainee
    Normally the source independent W_* domain values, that is, the right hand side of the csv spreadsheet that you map your source values to, are listed in the Data Model Reference.
    My Oracle Support Document ID 819373.1 BIAPPSDMR796_RevA.pdf
    Oracle Business Analytics Warehouse Data Model Reference Version 7.9.6
    In this case - the domain values listed in the data model reference are ...
    Table 3–6 lists the values for the Employee Category domain value for W_EMPLOYMENT_D.
    //"W_EMPLOYEE_CAT_CODE","W_EMPLOYEE_CAT_DESC", "Source"
    "CONTRACTOR", "CONTRACTOR", "Oracle EBS, PeopleSoft"
    "DIRECT", "DIRECT", "Oracle EBS, PeopleSoft"
    "INDIRECT", "INDIRECT", "Oracle EBS, PeopleSoft"
    "OTHER", "OTHER", "Oracle EBS, PeopleSoft"
    "REGULAR", "REGULAR", "Oracle EBS, PeopleSoft"
    "TEMPORARY", "TEMPORARY", "Oracle EBS, PeopleSoft"
    This is confusing because
    i) the category values are differnet to those in default file (EMPLOYEE or CONTINGENT)
    ii) the DMR document has no listing of the possible sub categories
    So the question is - what do you map your source values to? The instructions are not clear! The only way I can think to find out for sure is to do an impact analysis of the ETL's / RPD / requests to find instances of hard coded values for the domain values.

  • Retrieve field value lookup OIM 11g

    Hello! I have a problem to get the value of an attribute lookup, for example, to use this syntax OIM 9
    Lookup Query = select from lkv_decoded lkv, lku WHERE lkv.lku_key = lku.lku_key and lkv_encoded = *'$Form date$. $USR_UDF_DEPARTMENT$'* and lku_type_string_key = 'Lookup.Position_new'.
    What is the syntax used in the OIM 11g? ('$Form Data$.$USR_UDF_DEPARTMENTS$)
    Help me !
    Thanks
    Edited by: 825715 on Feb 10, 2011 8:48 AM

    So,
    I have a form with an LOVs attribute, how to get the value selected in this LOVs and put in a query? (Dependent Lookup)

  • Multi Value Lookup Save Problem

    Hi, 
    I am trying to save records in Multi value look up table. The problem is that only the last record is getting saved.
    Can anyone please help?
    Regards,
    Sruti

    Hi Deepti,
    Qualified Lookups are always Multivalued and no specific property has to be enabled atleast within MDM to make it Multivalued.
    By selecting The Qualified Lookup table Multivalued,It should allow you to save Multiple NQ values for a given record.
    You can have a look at the below link to know about the Java methods provided to work with MDM:
    http://help.sap.com/javadocs/MDM/SP05/(Java api programs)
    https://help.sap.com/javadocs/MDM/current/index.html  (java api codes)
    Hope It Helped
    Thanks & Regards
    Simona Pinto

  • UDF value lookup

    Hi Guys
    i have created a UDT and linked this to UDF's on a marketing document, i then reference this on the print spec but the print spec returns the key, ie the line # in the UDT, not the description of the key.
    What can i do so that i return the description? if i refer to the description straight from the print layout then there is no link to the actual value selected on the UDFs so the description returned is the first one in the UDT regardless of what i have chosen.
    Thanks

    I have this exact same problem, how did u solve this ?
    My UDF field shows the item number instead of the item name.
    The query behind the udf field in the offer screen looks like this,
    SELECT T0.[Name], T0.[U_ORB_IMO_NR] AS "IMO Nr.", T0.[U_ORB_BOUWNR] AS "Bouw Nr", T0.[U_ORB_EXNAAM] AS "Ex Naam"
    FROM [dbo].[@ORB_TBU_SCHEPEN_2]  T0
    I added it to my print layout by choosing field source database -> table is offer -> column the UDF.
    Also tried with enabling and disabling of the get Description field.
    What am I doing wrong ?
    Thank you!

  • Insert Value(s) in Lookup Flat Multi-valued Table with Java API

    I've been looking in MDM Java API Library Reference Guide, MDM SP4 API JavaDoc, and SDN Forums for information on how to Insert/Update different values in a field in the Main Table of a given repository that belongs to a Lookup Flat Multi-valued Table using the Java API with no success.
    I also haven't been successful in adding this values in the same way that I'll add a single value, using the MDM Java API, in a single-value Lookup Table (a2iFields.Add(new A2iField(FIELD_CODE,FIELD_VALUE)) for each value I want to add, like for example:
    a2iFields.Add(new A2iField("Country","USA")
    a2iFields.Add(new A2iField("Country","Mexico")
    a2iFields.Add(new A2iField("Country","Germany")
    Can anybody point me to the correct documentation that I need to read to fulfill this task? Or, even better, if someone can post a piece of code, I'll be more thankful.
    Thanks for your help.

    HI,
    little code example, where you add existing lookup values based on there record id:
         int USA = 1;
                        int GERMANY = 2;
                        A2iValueArray countryArray = new A2iValueArray();               
                        countryArray.Add(new Value(USA));
                        countryArray.Add(new Value(GERMANY));
                        A2iFields record = new A2iFields();
                        record.Add(new A2iField("Country", new Value(countryArray)));
    Please reward points if helpful.
    Regards,
    Robert

  • Set lookup value from another item

    Hi!
    I add to my list in SP 2013 new column like type Lookup field and select item from another document library
    and display field select "Title". How i can set this filed value for new item from document library item?

    Hi AllXander,
    From your description, my understanding is that you want to set lookup field value with C# CSOM.
    You could use method "FieldLookupValue()". Please refer to this code below to set lookup field value when add an new item to a list:
    // replace your site URL
    using (ClientContext context = new ClientContext("http://sp/sites/sp2013"))
    // replace your user, password and domain
    context.Credentials = new NetworkCredential("Administrator", "Access1", "contoso");
    // the library that you get value for the lookup field
    List list = context.Web.Lists.GetByTitle("Department");
    context.Load(list);
    context.ExecuteQuery();
    CamlQuery query = new CamlQuery();
    query.ViewXml = "<View/>";
    ListItemCollection allContacts = list.GetItems(query);
    context.Load(allContacts);
    context.ExecuteQuery();
    foreach (ListItem item in allContacts)
    // replace the id that you want to set value to the lookup filed
    if (item.Id == 1)
    // replace the list title with your list that you want to add the item
    List oList = context.Web.Lists.GetByTitle("Employee");
    ListItemCreationInformation itemCreateInfo = new ListItemCreationInformation();
    ListItem oListItem = oList.AddItem(itemCreateInfo);
    oListItem["Title"] = "My New Item!";
    // set the lookup field value
    FieldLookupValue lookup = new FieldLookupValue();
    lookup.LookupId = item.Id;
    oListItem["Department"] = lookup;
    oListItem.Update();
    context.ExecuteQuery();
    You could refer to this article about creating/updating/deleting a new item with C# CSOM:
    http://www.c-sharpcorner.com/UploadFile/sagarp/create-update-delete-a-list-using-client-object-model-cso/
    You could refer to this article about updating multi-value lookup column:
    https://sunbin0704.wordpress.com/2013/10/11/update-multi-value-lookup-column-values-in-sharepoint-2010-using-managed-csom/
    Best Regards,
    Vincent Han
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected].

  • How to Do Value Set Reverse Lookup?

    I have a concurrent program which has multiple paramaters with various value sets. When I run reports, I want to dynamically list on the output the parameters the user gave. The problem is that these values are often the IDs and not the value the user sees.
    Are there any packages in applications that will let me to do a "reverse lookup" with the value sets to get the values the user saw?
    Thanks,
    Kurzweil4

    Kurzweil4,
    Is your conc prog in OA code? anyway, you can always use a VO with proper sql to get the value lookup for the IDs.
    --Shiv                                                                                                                                                                                                                                                                                   

  • Mass updating a multi-valued field- to append the new value

    I have a question on multi-valued fields:
    I have store table with 5 multi-valued fields, say MLB, soccer, college FTBL, college Basketball, etc. 
    A store can have 4 MLBs, 2 soccer teams, and so on. 
    Say, there is a new MLB that came out called Mexico MLB team. 
    A user wanted to add this to 30 stores using a mass update.  But remember the 30 stores can have totally different sets of values in the multi-valued fields.
    How can I add this new value while still preserving the MLB team’s values of each store record?
    Does MDM not support this feature?
    I am using SAP MDM SP6
    An answer would be highly appreciated.
    Thanks
    Savi

    Savi,
    I assume you are defined these fields as multi-value lookup and linked to main table. In general, you can not because it will mess up and overwrite your multi-value entries for all of your 30 store records.
    Here is something in MDM come in handy. It is following the same concept but design your model a little differently. If you model your multi-value fields into qualified lookup table, it will be easier and optimized to handle.
    You can select all 30 records and mass-update with adding the new MLB entry into your Q-lookup table. Once you save, this mass-update action will respect all your diversity of each individual records with the new value added.
    Hope this helps
    If this answers your question, please kindly reward the points.
    Regards
    Dawei

  • Group by Lookup function result

    I have a report that uses two datasets.
    The first one looks like this. It's the time members have recorded under a particular job title:
    ParentId TaskName ObjectiveId MemberId JobTitle TimeSpent Status
    3174ED19 TEST 3 42AA79F6 23179C0F NULL 0.00 01
    3174ED19 TEST 3 42AA79F6 596CA495 JobTitle1 9.00 01
    3174ED19 TEST 1 AEE18C46 23179C0F NULL 0.00 01
    3174ED19 TEST 1 AEE18C46 596CA495 JobTitle2 3.00 01
    3174ED19 TEST 2 AEE18C46 23179C0F NULL 0.00 01
    3174ED19 TEST 2 AEE18C46 596CA495 6.00 01
    I need to show the records which have JobTitle == null with a particular Job Title, the current one they have in Active Directory. So I use another dataset from a WCF service:
    MemberId Name JobTitle
    23179C0F Member1 JobTitle1
    Then I use a lookup function to show the correct Job Title:
    =IIF(IsNothing(Fields!JobTitle.Value) OR Fields!JobTitle.Value = "",lookup(Fields!MemberId.Value,Fields!MemberId.Value,Fields!JobTitle.Value,"Members"),Fields!JobTitle.Value)
    This works ok. The problem is that I need the data to be grouped by several fields, including the Job Title. It seems grouping happens before the lookup function is executed, so instead of grouping the NULL values along with the fields that contains the actual
    values, I end up with two groups with the same Job Title, one containing the null values and another with the actual values.
    Is there any workaround for this?
    Thanks.

    Hi EXR88,
    Per my understanding that you have add some row group in the report to group the result which include the JobTitle from the table1 and also group by the field which result comes from the lookup funtion, now the issue is the group by the Lookup function result
    isn't correct, right?
    I have tested on my local envoronment and can't reproduce the issue, please find the details information below to make sure you have done the correct setting:
    I tried to create the two tables like below:
    Table1:
     Have the same recores as you provided above.
    Table2:
    MemberId    Name      JobTitle
    23179C0F   Member1    JobTitle1
    596CA495   Member1      NULL
    After adding the LookUP function, i got the report like below:
    I add two row group base on the JobTitle(JobTitle) and the Lookup functiuon result(Lookupfunctiongroup), the Lookupfunctiongroup row group is the child group of the JobTitle like below, please make sure you have add the expression with the lookupfunction
    in the group on:
    If i have some misunderstanding, please try to provide the expectted group by  result you want to get and also the currectly result you have got.
    Any problem, please feel free to ask.
    Regards,
    Vicky Liu
    Vicky Liu
    TechNet Community Support

Maybe you are looking for

  • MacBook Pro can't connect to iPod via wireless

    Hi, I have a fresh installed Mac OS X 10.5.5 on my new MacBook Pro. Nothing was installed on it! no firewall, nothing! But i can't get connection to my iPod touch 2g. I can see my iPod via bonjour, it has an IP, but i can't successful ping it. When i

  • Converting photo to line art?

    I have Photoshop Elements 5.0 and want to know if there is a way to take a photograph and convert it into a line art image. I have tried a combination of a few different filters and have not been able to get the results I am looking for. Any thoughts

  • Sequence moves when changing clip speed

    Whenever I edit an individual clip's speed, the sequence in front of it gets moved backwards or forwards. It even moves the sequence markers! How do I get rid of this, so only the clip grows and shrinks, without affecting the space around it? Thanks.

  • EVDO works on MACBOOK PRO (USB)

    I found information on the web that VERIZON started to offer a program to use your phone as a Broadband modem. I called verizon but their reps don't know anything. than I deiced to go to a store but no luck they did not know too called the technical

  • BAPI Table parameter of type a structure  without word BAPI

    Hi Experts, Is it possible to have a Table parameter in a BAPI  which is such a structure type that does not contain word 'BAPI' ? like  .........Parameter Name.........................Type  Spec....................Associated Type....................