Crosstab - combined column

Hi,
i got a report where i got a cross tab.
[Report - Design|http://img638.imageshack.us/img638/2999/cr1a.jpg]
[Report - Cross tab expert|http://img171.imageshack.us/img171/6568/cr2n.jpg]
[Report - Preview|http://img8.imageshack.us/img8/7905/cr3p.jpg]
Now as you can see column one is year and column 2 below is type.
The types 1 and 2 are taken from the type column in the database.
Now i want to have next the 1 and 2 type a third column with values from a different database column.
But when i add this third column CR insert the column another level below. But i need this on the same level as type.
Is that possible? How can i achieve this?

Create a Manual Crosstab report for full control

Similar Messages

  • Crystal 8.5, crosstab date columns

    I need to set up a report that will print columns for each year.  I am able to do this without problem for calendar year but the client has indicated they wish to run it on fiscal year or calendar year and based on any year-end date.  So for the simple example of a fiscal year ending Sep 30 of each year:
    They wish to run the report based on a parameter selection and if they select calendar year, no problem.  However, if they select the fiscal year option then each column's data should be based on dates for each year starting Oct 1 of one year and ending Sep 30 of the next year eg. Oct 1, 2006 ending Sep 30, 2007 for one column, Oct 1, 2007 ending Sep 30, 2008 for the next and Oct 1, 2008 ending Sep 30, 2009 for the last if there is three year's data in the database.
    I have not asked the question because I am afraid of the answer but I am sure they will ask for each of the last 12 months ending "enter a date here" which could be May 31.  So then the report would have to pull Jun1 of one year to May 30 of the next year and put everything into columns.
    I think a crosstab is best here but I may have to group by category and manually calculate totals based on standard set of years and put the totals in the group footer.  However, I don't think I should have to do this if a crosstab can do the work.
    I am just not sure how to approach this one so any ideas are appreciated.  TIA rasinc

    Please re-post if this is still an issue or purchase a case and have a dedicated support
    engineer work with your directly

  • How to? Suppress Crosstab Total column, based on condition, Please help!

    Hi All,
    Please give an advice on the following:
    My problem I have an item stock and value by depo by region report, with the following structure:
    http://img29.imageshack.us/img29/5289/ctab.jpg
    Row 1 is Items
    Column 1 is region, has six values (value 1->6), but its grouped in specified order like: value 1, value 2, other (all other values as one, with the name of "other")
    Column2 is depo.
    I need to hide the sum next to depo (highlited whit thin red on the pic), but only where column 1 (region)  is "other".
    i tried useing suppress, and conditional highlighting (its acceptable if the column is made blank by useing white as text color)
    if GridRowColumnValue("Region") = "other"
    Region is set for the Column1 grouping as alias in Crosstab expert.
    I usualy get the error: "This is not a name for a grid group for the field being formated."
    or if it's no error in it, it simply stays on the form.
    What am I missing? Is it even possible to do this?
    Thank you, for all of your help in advance.
    Regards,
    Daniel
    Edited by: Daniel Omaisz Takacs on Sep 14, 2010 2:49 PM

    The only way to suppress a "column" is to not pull that data.
    You can turn the column header white as well - highlight with
    if CurrentFieldValue="your value" then white else black
    or
    CurrentFieldValue="your value"   // conditional suppression

  • Combine Columns

    I need to combine 3 columns and so far can only get it working with numbers and not characters this is what iv been using for the numbers
    select (server_id + router_id + switch_id)
    as hardware_id
    from cabinet
    This works but only with numbers i need this with characters instead using
    select (server_hostname + router_hostname + switch_hostname)
    as Hostname
    from cabinet
    anybody got any ideas??
    error i get from code is "invalid number"

    select (server_hostname || router_hostname || switch_hostname)
    as Hostname
    from cabinet

  • Combine Columns From Separate Arrays Into One Formatted Table

    What I'm trying to do is make two WMI queries with 2 different classes for a list of machines and then patch the columns together into one single array that is formatted as a table with columns and rows. I seem to keep banging my head against the wall and
    I can't help but feel that the answer is simple. I can certainly create an array that contains all 3 columns (such as in the commented out part) but no matter which angle I go at it, it always seems to end up as all the data in one single row in each column
    rather than a nicely formatted table. I've even tried constructing separate custom objects and adding the different objects to the array but that's obviously not working. Below is the code of the last thing I tried. I need someone to bash it to death and tell
    me the (most likely obvious) thing that I'm doing wrong. Thanks!
    $failedos = @()
    $failedcs = @()
    $ccs = get-adcomputer -property operatingsystem -filter {name -like "*-CC*"} | select name | sort name
    $cs = foreach ($cc in $ccs){$cc.name | % {if ($c=get-wmiobject -computername $cc.name -class win32_computersystem -ErrorAction SilentlyContinue){$c | select @{Name="Name";Expression={$_.Name}}, @{Name="Model";Expression={$_.Model}}} else {$failedcs += "$_"}}}
    $os = foreach ($cc in $ccs){$cc.name | % {if ($o=get-wmiobject -computername $cc.name -class win32_operatingsystem -ErrorAction SilentlyContinue){$o | select @{Name="OperatingSystem";Expression={$_.caption}}} else {$failedos += "$_"}}}
    #[array]$osprops = @{'Name'=$cs.Name;'Model'=$cs.Model;'OperatingSystem'=$os.OperatingSystem}
    $result = @()
    Foreach ($Line in $cs) {
    $MyCustomObject = New-Object -TypeName PSObject
    Add-Member -InputObject $MyCustomObject -MemberType NoteProperty -Name "Name" -Value $Line.name -Force
    Add-Member -InputObject $MyCustomObject -MemberType NoteProperty -Name "Model" -Value $Line.Model -Force
    $result += $MyCustomObject
    foreach ($Line2 in $os) {
    $MyCustomObject2 = New-Object -TypeName PSObject
    Add-Member -InputObject $MyCustomObject2 -MemberType NoteProperty -Name "OperatingSystem" -Value $Line2.OperatingSystem -Force
    $result += $MyCustomObject2

    Any help?
    $ccs = get-adcomputer -property operatingsystem -filter {name -like "*-CC*"} |
    select -ExpandProperty name | sort
    $Result =
    Foreach ($CC in $CCs)
    $Object =
    New-Object PSObject -Property @{ Name = $CC
    Model = 'Failed'
    OperatingSystem = 'Failed'
    Try {
    $Object.Model =
    get-wmiobject -computername $CC -class win32_computersystem -ErrorAction Stop |
    select -ExpandProperty Model
    $Object.OperatingSystem =
    get-wmiobject -computername $CC -class win32_operatingsystem -ErrorAction Stop |
    select -ExpandProperty Caption
    Catch{}
    Finally { $Object }
    [string](0..33|%{[char][int](46+("686552495351636652556262185355647068516270555358646562655775 0645570").substring(($_*2),2))})-replace " "

  • Combining columns of multiple files in one file

    I have several hundred text files that contain a lot of information. Each file has 3 columns (the first two are the same for all the files).
    I need to merge the third column of all the files in a new file. And insert a column header with the name of the file from where the column belongs. 
    The txt files with the three columns like this:
    -118.33333333333279 40.041666666667908 11.409999847412109
    -118.29166666666612 40.041666666667908 11.090000152587891
    -118.24999999999946 40.041666666667908 10.920000076293945
    -118.20833333333279 40.041666666667908 10.949999809265137
    The txt file I am trying to create should look like this:
    Is this possible? I can't find a way to do so. Please help!!!
    Pepo

    You say you have several hundred files with 3 columns of data in them. You want to take out the 3rd column from each file and create a new file that contains all  the 3rd columns.
    This seems to imply the output file will have several hundred columns in it. Is that correct?

  • Row to column mapping and  combining columns

    Hi
    I have one issue i want to concatenating some columns and map row as columns like below.I am giving one ex and have more than 1000 employees like this
    Example
    {Srno  Eno Ename job datestart}
    {1 01 jack------clerk------01-Jan-2008}
    { 2         01   jack-----snrclerk----01-Jun-2009}
    { 3         01    jack ---- officer------- 01-Jan-2010}
    I want to display the row to columan mapping like first row concatenated as col2 and second row for col2 column etc
    {eMpno------- col1 ------------------co12----------------------------------col3}
    {0101 jackclerk 01-Jan-2008---jacksnrclerk01-Jun-2009------01jackofficer01-Jan-2010}
    rgds
    ramya
    Edited by: user11243021 on Sep 7, 2010 5:21 AM

    with t as (
               select 1 srno,'01' eno,'jack' ename,'clerk' job,to_date('01-Jan-2008','dd-mon-yyyy') datestart from dual union all
               select 2 srno,'01' eno,'jack' ename,'snrclerk' job,to_date('01-Jun-2009','dd-mon-yyyy') datestart from dual union all
               select 3 srno,'01' eno,'jack' ename,'officer' job,to_date('01-Jan-2010','dd-mon-yyyy') datestart from dual
              ) -- end of data sample
    select  eno,
            max(
                case srno
                  when 1 then ename || ' ' || job || to_char(datestart,' dd-Mon-yyyy')
                end
               ) col1,
            max(
                case srno
                  when 2 then ename || ' ' || job || to_char(datestart,' dd-Mon-yyyy')
                end
               ) col2,
            max(
                case srno
                  when 3 then ename || ' ' || job || to_char(datestart,' dd-Mon-yyyy')
                end
               ) col3
      from  t
      group by eno
    EN COL1                      COL2                      COL3
    01 jack clerk 01-Jan-2008    jack snrclerk 01-Jun-2009 jack officer 01-Jan-2010
    SQL> SY.

  • Combining Column and Line charts

    I'm trying to put together a composite graph, consisting of
    both LineSeries and Column Series, for a financial page. I'm
    rendering the entire graph inside of a ColumnChart. However, when
    multiple points for the lineseries are close together, the
    mouse-over only displays a single dataTip. When working in a
    LineChart, multiple dataTips are displayed for any points close
    together or on top of each other; is there any (preferably simple!)
    way to replicate that functionality in a ColumnChart?
    Thanks!

    And to make it even more fun, I just know discovered that
    interpolateValues="false" does not seem to function properly within
    a columnChart. Does anyone know a workaround for this
    problem?

  • WebI 4.0 Combined Column Chart Customization

    Hi,
    Is there a way to customize the cobined column chart if I have 3 metrics and I want to specify different colors for each metric.
    Metric 1 - Bar - Blue color
    Metric 2 - Line - Red Color
    Metric 3 - Bar - Green color
    Is this do able in WebI. we are on SP 7 for Webi 4.0 and using SAP Bex Query.
    Please advice.
    Thanks

    Hi,
    Custom palette colours in Webi 4.0 are tricky, but possible.
    From here: http://www.pieterverstraeten.com/blog/custom-color-palette-sap-bo-bi-40-bi4-change-analysis-crystal-webi-house-style/
    Open C:\Program Files (x86)\SAP BusinessObjects\SAP BusinessObjects Enterprise XI 4.0\images\VisualizationConfig.template.xml
    Save the file as VisualizationConfig.xml
    Edit the colours as you please.
    Save the file.
    Restart Tomcat.
    Yeah, a tomcat restart to change colours. I'm sure this will be tidied up in a future version.

  • Combining column data

    Hi Guys,
    I am building a dashboard with data from 2 relational data sources.
    The objects present in the query are - "Project Type", "Dept Name" & "No.of Projects".
    There are 4 project types - A & B from Universe 1 and  C &D from Universe 2.
    Each "Project Type" has data for Dept Name & No. of Projects. For e.g.
    Dept Name
    No. of Projects
    A
    1
    B
    2
    C
    3
    D
    4
    Some "Project  Type" may have more departments than the other.
    Now, I am trying to get the total no of projects for all Project Types (a single value) and display this in my dashboard.
    I already have the individual data for each "Project Type" in my dashboard. Could anyone please help me achieve this?

    Hi Jeewan,
    What i got from your detail is that you want the sum of all the projects of all project types..right?
    I guess it can be done with simple SUM function.
    Kindly reply if the requirement is something else.

  • Combine 2 different list columns and showning in 1 column

    Hi,
    Is it possible to combine columns of 2 different lists and show in one column?
    I have a custom list called "Levels" which contain data like "Developer", "Tester". The levels have some training associated. Training is another column.
    I have another custom list called "Project", which contain "project name" and also some training for each project. Training is another column.
    I have another  list in which i have user names which contain the level and project name columns as look up.
    I want to show all the trainings attached to the user in another list in a single column.
    Example: If user is a developer and part of project A, then column named training should show all the developer training and the project related training.
    Note: custom coding is not possible.
    How to achieve this?
    Thanks

    Hi,
    For your issue, you can combine 2 different list columns into one cloumn using SharePoint Desinger Workflow with update list item action:
    Best Regards,
    Eric
    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]

  • Display columns for Null Values in Crosstab

    Hi All,
    I have developed a crosstab in CR based on SAP BW Query. Report requirement demands to display all columns even though data is not present for those columns. However this report doesn't show the columns when there is no data. Can you please help to resolve this issue !!!
    Regards,
    Samir

    Samir,
    As Abhilash stated, the crosstab rows/columns are like groups.
    If you do not have a value to create a column, it will not show in the crosstab. Do you have a table that lists all the values you wish to show in the columns? Is it used in the report? Perhaps you can use it to create the columns by using a left outer link from the table with all the values to data table you are reporting on, and use it for your columns
    If the columns are dates, and you do not have data for a particular date, that can be done.
    [This post has a solution for a SQL server|How to dynamically create a table to join with;.
    [Here is another solution|Generating Calendar Months for the year;.
    There are other posts regarding this issue. I can not think of one at the moment for building a table for values other than a date but I am pretty sure I have seen one.
    Debi

  • Formatting Crosstab Columns

    Hello. I am new to Discoverer and I had a question about formatting crosstab (outline) columns. The first column lists our employee names, while the subsequent columns have different pieces of information from the employees' expense reports (ie- lodging, transportation, etc). When drilling-down to obtain additional information (ie- destination), there is some blank destination information (showing as a "0'), that I want to format. Here is an example of what the report looks like:
    Employee Transportation Lodging Meals
    JOE SMITH $100 $200 $100
    Miami, FL $50 $75 $25
    Atlanta, GA $0 $75 $50
    *0* $50 $50 $25
    Is there a way to format just the employee/drill-down column to read as N/A instead of '0' without affecting any $0 data in the other columns?
    I also tried to create a condition to replace any 0(null) information with something else, but the condition did not work. Anyone have any ideas?
    Thank you,
    Erik

    Sorry, tried that. It formats all of the columns to the same null value of "N.A." So, the $0 example shown above would show up as "N.A.", which I don't want.
    I want to get the null drill-down (destination) data to show up as "N.A.", while keeping the rest of the columns as a "0" value for anything null.
    Thanks,
    Erik

  • Crosstab column formatting

    I'm creating a crosstab report with a Current Year & a Last Year column.  I've added 2 calculated columns to show a variance $ and a variance % between current & last year.
    I have no problem coming up with the results.  My dilemma is to format the 2 added columns as currency and percentage.  When I try to change the percentage column's format to percent, all other columns in the crosstab also change to percent.
    Can someone out there tell me if there's a way to create 2 different formats for the 2 added columns?  I'd really appreciate it.  Thank you very much for your help.  I've been struggling with this issue for quite sometime.

    Hi Fione,
    Here's what you need to do:
    1) Assuming that the datatype of the field used in the 'column' of the Crosstab is 'Date', right-click the 'Variance $' header cell > Select Calculated Member > Edit ColumnValue Formula and use this code:
    Cdate(1890,01,01)
    2) To the same for the % column however, use this code:
    Cdate(1890,01,02)
    3) Right-click one of the summary cells in the 'Variance $' column > Format Field > Number tab > Customize > Currency Symbol tab > Check 'Enable Currency Symbol' > Click the formula button beside 'Position' and use this code:
    if GridRowColumnValue("Date_Field_used_in_column") = cdate(1890,01,01) then
    crLeadingCurrencyInsideNegative
    else if GridRowColumnValue("Date_Field_used_in_column") = cdate(1890,01,02) then
    crTrailingCurrencyOutsideNegative
    4) Click the formula button beside 'Currency Symbol' and use this code:
    if GridRowColumnValue("Date_Field_used_in_column") = cdate(1890,01,01) then
    "$"
    else if GridRowColumnValue("Date_Field_used_in_column") = cdate(1890,01,02) then
    else ""
    Note: In both the formulae above, replace "Date_field_used_in_column" with the database field you've used in the crosstab's column. The double quotes ARE NEEDED and make sure to remove any parenthesis that CR automatically addds when you add a database field in the formula editor.
    Let me know how this goes.
    -Abhilash

  • Combine 2 specific column values into one column

    Is there an easy solution to combine column values that is in a group?
    In my report I have 1 column group named Activity_Area which has 5 different values Activity 1, Activity2...Activity5.
    Let's say I want to merge Activity 4 and Activity 5 and call it ActivityX and gives me the output as below
    Activity 1 | Activity 2 | Activity 3 | ActivityX

    Hi Jhonny86,
    According to your description, you create a field in database and it contains five values. Then you want to only display four values in report column group, and the last two values should be replaced by “ActivityX”, right?
    In your scenario, you can create an table like below:
    create table Act(id int,activity varchar(99))
    insert into Act select 1,'Activity 1'
    insert into Act select 2,'Activity 2'
    insert into Act select 3,'Activity 3'
    insert into Act select 4,'Activity 4'
    insert into Act select 5,'Activity 5'
    Then query the table with code like below in query designer, then add the field [Act] into the column group.
    If you have any question, please feel free to ask.
    Best regards,
    Qiuyun Yu
    Qiuyun Yu
    TechNet Community Support

Maybe you are looking for

  • Creating Folders

    With Lightroom,going to menu Library, New Folder.. The below screen pops up. I have all my pictures on my D:\Pictures directory. But that directory is not listed in the Browser window. This has worked previously. I just had a crash and reloaded every

  • Message id in auto-reply

    Dear All, Can we remove the message-id from the auto-reply? in an auto-reply the message bounces back to the user including in the body part the following: Message-id: <[email protected]> Date: Thu, 31 Jul 2008 21:36:08 +0300 From: [email protected]

  • Iphoto quits when uploading to Shutterfly

    Unable to upload from iPhoto to Shutterfly for approx 2 weeks.  Went to store & saw an apple genius.  He said it is a problem between Shutterfly and Apple.  I have to wait until it is corrected.  Is anyone else having this problem?

  • Can't make it rounding down!

    Hi guru, I am trying to setup rounding profile for materail in sales order to round down quantity to make it full delivery size. I setup rounding profile and rouding rule, also mark down 100% in round rule,,,0% up,.. but the order still rounds up...

  • Special functions in output type

    Hi For all the output types I need to use transmission medium 8( Special function).Kindly let me know what is purpose of special functions and where to see output of the form . Points will be rewarded.