Group with No Values, Crystal IX

I have
tried to achieve something on both regular reports and on cross-tab
reports, and have the same problem on both reports.  I have field for loan ID, loan amount, and loan officer.  I want to show the
count of the loan ID and the sum of the loan amounts for each loan officer during
a specific date range. The
problem is, if the loan officer doesn't have any applications during the
chosen date range, the loan officer doesn't appear on the report at all.
I want all the loan officers to be on the report, and if they don't have
any loans during that date range, I want it to show 0 for the count and
0 for the sum.
I am on Crystal IX and the data is sequal.
Can anyone help?  Thanks.

1.  I didn't try the TRIM option because there is a drop-down box when the loan officer ID is set up.  I have to click on LO, so I know they are all upper case.  If all else fails, I'll come back to this item.
2.  I think the left outer join is the problem.  Here is what the SQL shows.  I can't get the Link Options to open up.  When I clear out the linking and start over, it will show up, but only for the linking of the tracking table to the extended tracking table.  I can't get it to open up for the company file to the tracking table.  Thank you.
SELECT "TRACKING_FILE"."f451#loan_officer_name", "TRACKING_FILE"."f448#branch_code", "tracking_file_heart2"."FU40#Date_Registered", "TRACKING_FILE"."Loan_ID", "TRACKING_FILE"."f7443#loan_amount", "company_file"."Code"
FROM   ("MVData"."dbo"."company_file" "company_file" INNER JOIN "MVData"."dbo"."TRACKING_FILE" "TRACKING_FILE" ON "company_file"."ID"="TRACKING_FILE"."f450#loan_officer_code") LEFT OUTER JOIN "MVData"."dbo"."tracking_file_heart2" "tracking_file_heart2" ON "TRACKING_FILE"."Loan_ID"="tracking_file_heart2"."Loan_ID"
WHERE  "company_file"."Code"='LO' AND ("tracking_file_heart2"."FU40#Date_Registered">={ts '2008-09-01 00:00:00'} AND "tracking_file_heart2"."FU40#Date_Registered"<{ts '2008-09-08 00:00:00'})
ORDER BY "TRACKING_FILE"."f448#branch_code", "TRACKING_FILE"."f451#loan_officer_name"

Similar Messages

  • New consolidation group with wrong values

    Hi all,
    We are working with SEM-BCS 6.0 and we are having an issue that we hope you can help us.
    At 012.2008 we have created a new consolidation group (N002) with the consolidation unit 0100.
    This consolidation unit (0100) also exists in consolidation group (H001) since 006.2008.
    The problem is that at 012.2008 when we use the posting logic u201Cstandardu201D the account values are correct in the consolidation group that used to exist (H001), but for the new consolidation group (N002) the account values are only the delta values.
    For example:
    011.2008
    Account 111000 = 50.000u20AC
    012.2008
    Account 111000= 60.000u20AC
    At 012.2008 in the consolidation group (H001) we have the 60.000u20AC but in the consolidation group N002 the account only has 10.000u20AC (delta)
    But if the new consolidation group (N002) only exists since 012.2008 and for the consolidation unit 0100 the first consolidation is defined as 012.2008 why is only being considered the delta (10.000u20AC) and not the all value (60.000u20AC)?
    Thanks for your help.
    Best regards

    We are using the cumulative type of data storing.
    Sorry, you can't. It's the system that always stores data periodically. You may just load data cumulatively.
    Regardless of type of your load data in the system is always kept periodically.
    > The reason for the appearance of this company in another group is only because they want to do a u201Csecondu201D consolidation considering a different group of companies by consolidation area.
    > That is, they want to consolidate both consolidation groups with the same companies but with them being considered differently by consolidation areas.
    > Is like the second consolidation group is a simulation.
    Sorry, Ricardo, I cannot read it in business terms. Different hierarchies, dif. ConsAreas, dif. groups... I do not see why and what for.

  • Java Regex groups with quantifiers.

    I'm a bit stuck on a regex , i want to do something similar to this :
    (dog){6}
    dogdogdogdogdogdog
    and returned I want 6 seperate groups with 'dog' in each one.
    This works fine with jakarta-regexp but when I use the {} quantifiers in Java regex I lose the groupings which i'm looking for and just get a single group with a value of 'dog'
    I'm sure i'm doing something something stupid here and help would be great!

    You can't do this with the SunJDK regex engine without using find() with a Matcher.
    I consider this feature of jakarta-regex to be a bug and reported it (and a couple of other features) as such several years ago. The feature makes it incompatible with most regex engines I have used.

  • How to export "Managed by" field of Distribution and Security groups and import with new values? (Exchange 2010, AD 2003)

    My Active Directory environment is 2003 functional level and we have Exchange 2010.
    I am trying to find out the best way to do a mass edit for the "Managed by" values of our security and distribution groups.
    I know we can export the "managed by" field by csvde but I am not sure this is the correct way to do it. Also in the case that there are multiple users assigned to be managing a distribution group it only shows one value. Also powershell from Exchange
    2010 can be used with "get-distribution" but as our AD environment is 2003 is this correct also?
    Finally once the data is exported to csv can it be edited to then reimport and udpate the existing group managed by fields with new values?
    Not really sure that the best way to go about this is.
    Summary - We have 2003 AD with Exchange 2010 and I am trying to export a list of all our Distribution/Security groups showing the group name and managedby values so we can edit and update the
    existing managedby values with new ones. In some cases we have multiple users as the owners.
    Appreciate any advice on how this can be best achieved. Thank you.

    Hi,
    We can use the following command in Exchange 2010 to export "Managed by" field of Distribution and Security groups:
    Get-DistributionGroup | Select-object Name,@{label="ManagedBy";expression={[string]::join(“;”,$_.managedby)}},Primarysmtpaddress | Export-Csv
    C:\export.csv
    After you changed the Managed by field in export.csv and saved it as a new file named import.csv, we can run the following command to set with new value:
    Import-Csv C:\import.csv | Foreach-Object{ Set-DistributionGroup –Identity $_.Name –ManagedBy $_.ManagedBy}
    Hope it works.
    Thanks,
    Winnie Liang
    TechNet Community Support

  • How to export "Managed by" field of Distribution and Security groups and import with new values?

    My Active Directory environment is 2003 functional level and we have Exchange 2010.
    I am trying to find out the best way to do a mass edit for the "Managed by" values of our security and distribution groups.
    I know we can export the "managed by" field by csvde but I am not sure this is the correct way to do it. Also in the case that there are multiple users assigned to be managing a distribution group it only shows one value. Also powershell from Exchange
    2010 can be used with "get-distribution" but as our AD envronment is 2003 is this correct also?
    Finally once the data is exported to csv can it be edited to then reimport and udpate the existing group managed by fields with new values?
    Not really sure that the best way to go about this is.
    Summary - We have 2003 AD with Exchange 2010 and I am trying to export a list of all our Distribution/Security groups showing the group name and managedby values so we can edit and update the
    existing managedby values with new ones.
    Appreciate any advice on how this can be best achieved. Thank you.

    Hi Barkley,
    You can also refer to Official Scripting Guys forum to get a script solution:
    http://social.technet.microsoft.com/Forums/scriptcenter/en-US/home?forum=ITCG&filter=alltypes&sort=lastpostdesc
    Best Regards,
    Amy Wang

  • Document library view: Group by a column with multiple values

    I have a document library which has a managed metadata column.
    I would like to create a view which groups the documents by this managed metadata column.
    The managed metadata column can have multiple values.
    I know that this is not possible with SharePoint's group by, since it only accepts those columns which can have only one single value.
    But is this possible to accomplish by some other means, e.g. Content query web part? Or is there perhaps a 3rd party solution to this?
    Is it possible to change the group by settings somehow to allow Group by to function with columns with multiple values? <- this may be far fetched...

    Hi Pekch,
    I'm assuming you have VS2010 to build the custom web part. From there you will need to figure out the following:
    Get a SPList object for the Document Library (See below for code example)
    Loop through all the documents in the SPList object 
    If you have audience targetting enabled, then you'll need to determine if the user has access to the document by checking the "Target_x0020_Audiences" column)
    As you also want to group by metadata, you'll need to populate 2 datatables (one table with a column containing unique metadata values and another table with a metadata column and other document related columns).  Link these two tables via a dataset
    relation.
    Set the dataset as the datasource for a repeater, add in some css and javascript for the group expand/collaspe and it should be close to what you need.
    This will be a time consuming task if you don't know where to start or have problems figuring out how to perform a certain operation.  So you may want to determine if the functionality you want is required or just a "nice to have".  Good
    luck and if I have some spare time, I'll create a blog post outlining how to do all the above.
    I got the below code from a sharepoint blog sometime in the past and you can use it to retrieve a list.
    You can use it like this: GetListByUrl(http://servername/Shared%20Documents/Forms/AllItems.aspx)
    using    Microsoft.SharePoint;
    public SPList GetListByUrl(string listURL)
    SPList list = null;
    try
    using (SPSite site = new SPSite(listURL))
    if (site != null)
    // Strip off the site url, leaving the rest
    // We'll use this to open the web
    string webUrl = listURL.Substring(site.Url.Length);
    // Strip off anything after /forms/
    int formsPos = webUrl.IndexOf("/forms/", 0, StringComparison.InvariantCultureIgnoreCase);
    if (formsPos >= 0)
    webUrl = webUrl.Substring(0, webUrl.LastIndexOf('/', formsPos));
    // Strip off anything after /lists/
    int listPos = webUrl.IndexOf("/lists/", 0, StringComparison.InvariantCultureIgnoreCase);
    if (listPos >= 0)
    // Must be a custom list
    // Strip off anything after /lists/
    webUrl = webUrl.Substring(0, webUrl.LastIndexOf('/', listPos));
    else
    // No lists, must be a document library.
    // Strip off the document library name
    webUrl = webUrl.Substring(0, webUrl.LastIndexOf('/'));
    // Get the web site
    using (SPWeb web = site.OpenWeb(webUrl))
    if (web != null)
    // Initialize the web (avoids COM exceptions)
    string title = web.Title;
    // Strip off the relative list Url
    // Form the full path to the list
    //string relativelistURL = listURL.Substring(web.Url.Length);
    //string url = SPUrlUtility.CombineUrl(web.Url, relativelistURL);
    // Get the list
    list = web.GetList(listURL);
    catch { }
    return list;

  • User or group column is populated with incorrect values when adding data from CSOM

    Hi All,
    I am working on a console application that updates list items using managed CSOM. I have a user or group column in this list that can contain multiple values. Now, I am using below code to update the value of this column:
    User newUser = web.EnsureUser("LoginName");
    context.Load(newUser);
    context.ExecuteQuery();
    FieldUserValue userValue = new FieldUserValue();
    userValue.LookupId = newUser.Id;
    listItem["User"] = userValue;
    The issue is if i assign the value of user1 to this column, the value that I see after the column is updated is another user; like user2. I don't know why it is populating this code with some other user? 
    Any idea on this issue? Thanks in advance.

    try these links:
    http://blogs.msdn.com/b/kaevans/archive/2013/11/30/setting-a-sharepoint-person-or-group-field-value-with-csom.aspx
    http://stackoverflow.com/questions/637859/sharepoint-group-by-is-broken-when-using-allow-multiple-values-for-a-column
    http://stackoverflow.com/questions/26815640/caml-person-or-group-field-with-multiple-values
    Please mark answer as correct if it is correct else vote for it if you find it useful

  • Need help with NULL values in Crosstables

    Hello everybody,
    I need some help with NULL values and crosstables. My issue is the following:
    I have a query (BW - MDX-Query) that gives me turnover measures for each month. In Crystal Reports I choose crosstable to display this whereby I put all month in columns and all turnover-measures in rows. Each month that has a value (measures are not empty) is chown in the crosstables rows. So far so good. The problem occures when there are month that actually have no values (measures are empty). In that case these months are not chown in columns. But I need CR to display these columns and show the value 0. How can I do that?

    Hi Frank,
    Cross tab shows the data based on your column and these column fields are grouped and based on the group it will show your summaries. 
    If there is no data for any of your group it will not display that group.  In this case you will have to create a standard report which should look like cross tab and to get zero values you need to write formulas .
    Example if you want to display Moth wise sales :
    if Month() = 01 Then
    sum() else 0
    Now this formula will check if your month is Jan, then it will sum up the values else it will display zero value. 
    This is possible only through standard report not with Cross Tab.
    Thanks,
    Sastry

  • How to create a dimension object in SAP BW Unv with Null value

    Hello,
    for query syncronisation task, I need a dimension object in my BW universe with NULL value. Does someone know, how to do it or if its possible?
    Regards,
    Thilo

    Hi Thilo,
    so the only common item is Material then - correct ?
    Query 1                                                                                Query 2
    Formulation (grouping of materials)                                                  (No counterpart)
    Material                                                                                Material
    dummy key figure (why?)                                                                Company Code
                                                                                    10 Keyfigure
    Is this something you regular have to do ? what about a MultiProvider ?
    did you try "merged dimensions" in the Web Intelligence Report ?
    Ingo

  • Radio Group With Submit.

    Apex 3.2
    I have an updateable report based on a collection.
    One of the columns is a radio group and is the only updateable column
    My code for the column is currently
    apex_item.radiogroup(7,seq_id,c008)
    I also have a button that fires an update process.
    Ideally, I would like to get rid of the button and fire the update, after the user has changed the radio group.
    So I changed my code to
    apex_item.radiogroup(
                  7
                , seq_id
                , c008
                , null
                , null
                , null
                , 'doSubmit(''SUBMIT'')'
                , null
                , null
                , null)
    If I click on a different radio group nothing happens.
    If I then click on another one, the update fires, but with the value of the previous radio.
    Do I need to add something else to
    'doSubmit(''SUBMIT'')'
    Thanks
    Gus

    Submitting a page or navigating to another page is not an appropriate action to take on clicking a radio button checkbox:
    Setting or clearing a checkbox changes the checkbox's state with no other side-effects. Violating this guideline by associating additional actions with the change of state frequently confuses users, because they are used to configuring data in entry controls such as text boxes, radio buttons, and check boxes and then invoking an action control such as a push button to initiate the action to process the data.
    Use radio buttons to select items or options before initiating a submit using an appropriate control. Use  buttons and links to submit and navigate to other pages. This enables users to consider their choice and change it before submission.

  • Sql query slowness due to rank and columns with null values:

        
    Sql query slowness due to rank and columns with null values:
    I have the following table in database with around 10 millions records:
    Declaration:
    create table PropertyOwners (
    [Key] int not null primary key,
    PropertyKey int not null,    
    BoughtDate DateTime,    
    OwnerKey int null,    
    GroupKey int null   
    go
    [Key] is primary key and combination of PropertyKey, BoughtDate, OwnerKey and GroupKey is unique.
    With the following index:
    CREATE NONCLUSTERED INDEX [IX_PropertyOwners] ON [dbo].[PropertyOwners]    
    [PropertyKey] ASC,   
    [BoughtDate] DESC,   
    [OwnerKey] DESC,   
    [GroupKey] DESC   
    go
    Description of the case:
    For single BoughtDate one property can belong to multiple owners or single group, for single record there can either be OwnerKey or GroupKey but not both so one of them will be null for each record. I am trying to retrieve the data from the table using
    following query for the OwnerKey. If there are same property rows for owners and group at the same time than the rows having OwnerKey with be preferred, that is why I am using "OwnerKey desc" in Rank function.
    declare @ownerKey int = 40000   
    select PropertyKey, BoughtDate, OwnerKey, GroupKey   
    from (    
    select PropertyKey, BoughtDate, OwnerKey, GroupKey,       
    RANK() over (partition by PropertyKey order by BoughtDate desc, OwnerKey desc, GroupKey desc) as [Rank]   
    from PropertyOwners   
    ) as result   
    where result.[Rank]=1 and result.[OwnerKey]=@ownerKey
    It is taking 2-3 seconds to get the records which is too slow, similar time it is taking as I try to get the records using the GroupKey. But when I tried to get the records for the PropertyKey with the same query, it is executing in 10 milliseconds.
    May be the slowness is due to as OwnerKey/GroupKey in the table  can be null and sql server in unable to index it. I have also tried to use the Indexed view to pre ranked them but I can't use it in my query as Rank function is not supported in indexed
    view.
    Please note this table is updated once a day and using Sql Server 2008 R2. Any help will be greatly appreciated.

    create table #result (PropertyKey int not null, BoughtDate datetime, OwnerKey int null, GroupKey int null, [Rank] int not null)Create index idx ON #result(OwnerKey ,rnk)
    insert into #result(PropertyKey, BoughtDate, OwnerKey, GroupKey, [Rank])
    select PropertyKey, BoughtDate, OwnerKey, GroupKey,
    RANK() over (partition by PropertyKey order by BoughtDate desc, OwnerKey desc, GroupKey desc) as [Rank]
    from PropertyOwners
    go
    declare @ownerKey int = 1
    select PropertyKey, BoughtDate, OwnerKey, GroupKey
    from #result as result
    where result.[Rank]=1
    and result.[OwnerKey]=@ownerKey
    go
    Best Regards,Uri Dimant SQL Server MVP,
    http://sqlblog.com/blogs/uri_dimant/
    MS SQL optimization: MS SQL Development and Optimization
    MS SQL Consulting:
    Large scale of database and data cleansing
    Remote DBA Services:
    Improves MS SQL Database Performance
    SQL Server Integration Services:
    Business Intelligence

  • How to create a transaction code for a function group with screen 100 as st

    Hello ,
    I have requirement where I need to create a function group and create screen 100, 200, 300 and include the function in the screens.
    Customer asked me to create a transaction with the screen 100 as the starting screen.
    Can you please let me know how to create a transaction code for a function group with screen 100 as starting screen.
    [ It is not a module pool program ].
    Thanks
    Prashanth.
    Moderator message - Please ask a specific question and do not ask the forum to do your work for you - post locked
    Edited by: Rob Burbank on Jun 2, 2009 11:49 AM

    Go to transaction SE93, enter a transaction code that you want and click on "create". Enter a text and select the "Transaction with Parameters" button. In the Default Values section, enter START_REPORT in the transaction field. Check the "skip initial screen" box. In the Name of Screen field section enter the following lines:
    Name of screen field:                               Value
    D_SREPOVARI-REPORTTYPE                RW
    D_SREPOVARI-REPORT                        ZPCA
    Save and transport accordingly.

  • How to merge rows with similar values in alv grid display in webdynpro

    Hi experts,
                   i want to know about how to merge rows with similar values in alv grid display of webdynpro.grouping rows is possible in table display in webdynpro but i am not able to do row grouping in the alv grid display in webdynpro.
    kindly suggest.
    thanks ,
    Anita.

    Hi Anita,
    did you find a solution for this? I have opened a Thread, if you know the answer maybe you could help me out:
    Is there an ALV function similar to the TABLE Row grouping?
    Thanx in advanced!!!
    Kind Regards,
    Gerardo J

  • Creating Target group with Bi Query

    Hi,
    I am trying to create Target group with BI query, for that I created one query on real time info cube  with 0BPARTNER, 0BP_GUID  and selected all navigational attributes.  In the query info object properties u2013 Advance setting I selecting u201C Values from Master Data Tableu201D  & Access Type u201C Master Datau201D , In query Property u2013 selected u201C Allow External Access to Queryu201D
    In CRM while creating Data source I can see the In objects selected in   the query u2013 selected Business partner info object as 0BP_GUID ,In the attribute list I just selected one item Industry code against the above data source, while running the Segment Builder when I selected the industry code it gives me 0 business partner where as I am having 20 BP with that Industry code.
    I appreciate your help ASAP.
    Regards,
    Rajiv Jain

    Hi Rajiv
    I have the same issue with my BI Query. Hope you have resolved by now, if you have please do let me know.
    What we have done is, created a BI Query and used this query in in CRM datasource, then created some filters where i can see the objects in the query while creating filters in Attributes List. But when we use these filters to create Target group, its not resulting any results in the query, i mean not brining any values on segmentation area. This issue is only in Production as we have already tested in Test and passed without any problems. But in Production we have this issue, i m not sure why this is happening, i spoke to BW team regarding this and they are not sure eitherl. If you know could you please let me know
    Thank you in advance
    Regards
    shankar

  • How to display characteristics with filterd values in WebReports

    Hi
    we use webreporting (BI 7.0) for our endusers and have designed a very simple webtemplate. All the characteristics you can see in the "selection window" are displayed in a header section with the values set for each variable. Due to the simplicity of the template we do not want to display all characteristics in the header with all possible filtered values set on any charateristic which are available on the report.
    There is a standard webitem to display these filtered values but we can not use it as it is too large.
    Is it possible to change the apperance of a characteristic (make it bold, or red, or underline if a filter is set) so that the user can see that he have set a filter on any characteristic?
    If not, is it possible to simply display any text on the webtemplate indicating that a filter has been set?
    Any Ideas?
    Best Regards
    Markus

    Hi Anita,
    did you find a solution for this? I have opened a Thread, if you know the answer maybe you could help me out:
    Is there an ALV function similar to the TABLE Row grouping?
    Thanx in advanced!!!
    Kind Regards,
    Gerardo J

Maybe you are looking for

  • Error while migrating Applet Swing components from JRE1.5.13 to JRE 1.6.05

    We have planned to migrate the Applet screens from JRE 1.5.13 to JRE 1.6.05 browser, but the APPLET files are still compiled using JDK 1.5. If any of you have had experience in this migration ,let me know the issues you have encountered. One problem

  • How do I send images in an email, but not embedded in the message body?

    I want to submit some jpg images of artwork to a competition and the rules state that attached images must *not* be embedded in the email body. They want the list where you can see the file name and you click on it to open it, as I've seen in Windows

  • Transfer Prior Year Asset to Multiple new assets

    Hello friends, We are required to breakdown one of our large Expansion Machinery Assets to multiple assets to reflect the main equipment purchased for the project. There is a transaction in SAP (ABUMN) Transfer with-in Company Code.  I think this tra

  • IPhone SDK 2.2 memory corruption

    Hello. I'm working on an application for iPhone SDK 2.2 and seem to be having weird memory corruption problems. Not necessarily leaks because using Instruments shows my memory stamp never going above about 1.8 megs. The nature of the app is a databas

  • I'm having problems exporting files for editing from LR 4.3 into photoshop elements 9.

    This problem only occurs with files that I have been imported from cd's/dvd's into the libraryand I get the msg "Lightroom was unable to prepare the selected file for editing. It will not be opened." Files that are stored on my hard drive have NO PRO