Showing Null values in Cross-tabs

Post Author: merv
CA Forum: Charts and Graphs
I've created a cross-tab report but I will like for the report to list the rows will null values as well as the rows with values.  I need to do this because I cannot create one cross-tab with all of the necessary fields, so Iu2019ve created 3 cross-tabs and placed them side by side. Or is it possible to link the cross-tabs.  Thanks
I would like to see the following
Total
A
A-
A+
B
B-
B+
C
C-
C+
D
Total-1
Total-2
Canada
MATH30800
24
12
0
0
4
0
4
0
0
0
0
Canada
MATH30800
24
Canada
MATH30800
0
Nigeria
MATH201
12
8
2
2
0
0
0
0
0
0
0
Nigeria
MATH201
0
Nigeria
MATH201
12
Poland
CHEM31800
8
0
1
0
0
0
3
1
0
0
0
Poland
CHEM31800
8
Poland
CHEM31800
8
Puerto Rico
MATH190
0
0
0
0
0
0
0
0
0
0
0
Puerto Rico
MATH190
1
Puerto Rico
MATH190
0
Panama
ENGR10300
39
3
4
1
2
4
6
3
3
0
1
Panama
ENGR10300
0
Panama
ENGR10300
39
Romania
MATH31601
4
2
1
0
0
0
0
0
0
0
0
Romania
MATH31601
4
Romania
MATH31601
0
Afghanistan
EAS10600
11
0
4
0
0
1
1
1
0
0
0
Afghanistan
EAS10600
0
Afghanistan
EAS10600
11
Bahamas
HS-COURSE
0
0
0
0
0
0
0
0
0
0
0
Bahamas
HS-COURSE
27
Bahamas
HS-COURSE
0
Brazil
HS-COURSE_2
1
0
0
0
0
0
1
0
0
0
0
Brazil
HS-COURSE_2
0
Brazil
HS-COURSE_2
1
instead of what's bellow
Total
A
A-
A+
B
B-
B+
C
C-
C+
D
Total-1
Total-2
Canada
MATH30800
24
12
0
0
4
0
4
0
0
0
0
Canada
MATH30800
24
Nigeria
MATH201
12
Nigeria
MATH201
12
8
2
2
0
0
0
0
0
0
0
Poland
CHEM31800
8
Poland
CHEM31800
8
Poland
CHEM31800
8
0
1
0
0
0
3
1
0
0
0
Puerto Rico
MATH190
1
Panama
ENGR10300
39
Panama
ENGR10300
39
3
4
1
2
4
6
3
3
0
1
Panama
ENGR10300
0
Afghanistan
EAS10600
11
Romania
MATH31601
4
2
1
0
0
0
0
0
0
0
0
Romania
MATH31601
4
Brazil
HS-COURSE_2
1
Afghanistan
EAS10600
11
0
4
0
0
1
1
1
0
0
0
Bahamas
HS-COURSE
27
Brazil
HS-COURSE_2
1
0
0
0
0
0
1
0
0
0
0

Post Author: azanobrown
CA Forum: Charts and Graphs
What I've done in the past is create a new formula for your "value" field similar to this and put it in your cross-tab:if {original value field} is "" then [0] else {original value field}the purpose is to create a record value (e.g. 0) where there is no record. I hope that this helps.

Similar Messages

  • How can I avoid the null values in cross tab?

    How can I avoid the null values in cross tab?

    Hello Anindita,
    Let me explain you the problem in detail.
    I have selected User and Program as rows in the cross tab. In Summarized Field I am counting the Programs.
    In DB I can have both User and Program null.
    Letu2019s take these scenarios...
    1) For a User, Program can be null
    2) For a Program, User can be null
    3) And both can be null.
    A null Program does not give problem since Cross tab does not count the null values and in my case too, it remove the Program which are null from the Cross tab because of the counting its doing on Program. Hence scenario 1 and 3 is not a Problem.
    Problem comes in scenario 2 (For a Program, User can be null).
    In this case since Program is not null it will get counted and will be grouped under null user but I donu2019t want to show the null user Grouping in my cross tab.
    "Suppress empty rows" and "suppress empty colums" does not help.
    Thanks & Regards,
    Amrita

  • How to display Zero(0) values in cross tab format in Webi???

    Hi All,
    Is there a way to display the zero(0) or null values in cross tab format in
    webi. I can able to display in Regular tabular format in Webi as u got an option
    in Properties --> Display --> Show all rows/columns, but it is not working when
    i am using Cross Tab format for the same data.
    Regards
    Ram

    Hi Sunil,
    Happy to see your solution. My requirement is that if you have a data like
    SBU,                   Cadre,                Value
    Chemical Buss,     Manger,                  45
    Crop Buss,            Workmen,               63
    Agri Buss,              Executive,              70
    Chemical Buss,     Executive,              84
    Agri Buss,              Workmen,              -      
    Crop Buss,                 -,                        -
    So now we need to get the rows or columns that are having blank values. Say like if Crop Buss is not having any values so it wont be displayed, but actually it has to be displayed.
    Regrads
    Ram

  • Show null values as

    Hi,
    I am running Discoverer Plus 10.1.2.45.46c. We are running into some issues with the Show Null values as option under Tools/Options/Sheet tab. If you open an existing workbook that has this value set to NULL you can't change your output to show as ' ' for example.
    Has anybody else ran into this ? Is there a work around ?
    Thanks
    Dennis

    As per bug 4330751 - workbooks created in desktop with the option for nulls set to "" will display as NULL in plus. There is a new worksheet setting for nulls that you can modify in plus - Edit->Worksheet Properties->Crosstab/Table Format tab.
    The pref.txt setting will be honored for new plus workbooks.

  • 'Show Null Values as' variables not replaced

    I need the null values to display as small as possible so there is an image in my image repository, 1x1px, transparent, that I wanted to display in these null places, but when I inserted something like <img src="&COMPANY_IMAGES.null.gif"> or <img src="#COMPANY_IMAGES#null.gif">, the COMPANY_IMAGES was not replaced with the usual long call, it was just like inserted in the 'Show Null Values as' field.
    I have workarounds
    1) use a static image, that is publicly available - making the app's appearance dependant on that publicly available image.
    2) select columns with nvl(NULLABLE_COL, '<img src="#COMPANY_IMAGES#null.gif">'), which is just a thing, that could be easily forgotten in some place and makes the query even more obscure than it already is.
    I really like neither of them. Is there some other way to call COMPANY_IMAGES in that field or is it just a place where isn't the substitution string available?

    wow. you're right about that substitution not being made in that "Show Null Values as" field. i'll log that issue in a sec. you can work around the issue for now by simply doing that substitution yourself. so if you run this...
    select :WORKSPACE_IMAGES FROM DUAL
    ...from your sqlWorkshop, you'll see that WORKSPACE_IMAGES is substituted with a call like...
    wwv_flow_file_mgr.get_file?p_security_group_id=123456&p_fname=
    ...(where 123456 is my :WORKSPACE_ID). if you wanted to call an image called my_image.jpg in that "Show Null Values as" field, you could just enter the string...
    wwv_flow_file_mgr.get_file?p_security_group_id=123456&p_fname=my_image.jpg
    ...right in there, and you'd find your images rendered correctly. the only thing to watch out for is the hard-coded :WORKSPACE_ID in your field. you'd have to mind at number if you deployed your app in a different workspace.
    hope this helps,
    raj

  • Can we apply sorting on Column values in Cross tab??

    Can we apply sorting on Column values in Cross tab??
    Following is the scenario with me.
    I have 2 fields and one formula.
    Fields are HostName and Username.
    Formula is status which categorizes the Authorized and Unauthorized events.
    And in the Summary Field, I am calculating the total number of events.
    In cross tab, Fields are marking the Rows of the cross tab and Formula is making the Columns(Authorized and Unauthorized ) of the cross tab.
    Since in cross tab data is grouped from left to right and sorted by default. I want to remove this default sorting and want to put sorting on the formula for Unauthorized events.
    Is there any way to fulfill this requirement?

    Hi,
    You can assign a number to each Unauthorised field e.g
    Rank   Unauthorised
    1         A
    2         BC
    3         DF
    5         TD
    6         GF
    Then add "Rank" to the crostab Columns before the Unauthorised  field. Then you can control the sorting order on your crosstab.
    Hope this helps
    Regards
    Dotun

  • Suppress values in Cross-Tab and Cross-Tab Chart if null

    I am developing a cross-tab report that has no-values contributing to the summary in a number of cells.  For instance, if I were to display the average value for the testing of particle-counts by the day of the month, and no testing was performed on a particular day, then I would hope that the cell would be blank and a plot of the cross-tab would just omit that data point.  However, Crystal interprets this as a 0.00 instead of NULL, and the plot (incorrectly) includes the zero-datapoint. 
    I can suppress the datapoint in the cross-tab if it's zero, but that isn't correct either (as, sometimes, zero will be the correct answer).  Even then, though, I cannot suppress the datapoint on the plot.
    Anyone have experience with a workaround for this?
    Thanks - Tim

    BTW...I found that I can work-around the plotting issue if I convert the chart to a "Group" type (instead of cross-tab).  It will then ignore the null-values.  Still thinking about cross-tab displaying zero for a summary value when it is working with no data.
    Suggestions?

  • Show percentage  based on summary values in cross-tab

    I am using Crystal XI. I have a cross-tab that has actual hours and standard hours as the summary fields. The column is operation and the row is clock#. I need an additional column that shows an efficiency percent. It would be the sum of standard hours divided by the sum of actual hours times 100.  Is there a way to do this? I tried inserting a formula while in cross-tab expert but it does not seem to have the summary fields available to choose.

    I will check out the example suggested.

  • Calculated column shows all zeros in cross tab discoverer report

    Hi
    I have a calculated column in a cross tab report which shows all zeros, but when i duplicate the report as 'table' the calculated colun is getting populated.
    i did not understand why it is doing like that, are there any special privileges or any special settings required for creating a cross tab report.

    Hi,
    No there is no special privs for cross tab but there is an aggregation issue.
    There are some methods of aggregations used in the discoverer.
    First thing you can so is to make sure that in the cross tab sheet you use the detailed data points and that you are not combining different levels of aggregations (for example one amount in details and another one summed).
    Second thing you can try is to change the aggregation for this worksheet, you can do that by going to the worksheet properties to the aggregation tab and try to change the settings.
    Third thing is to check the pref.txt file in the application server and set "AllowAggregationOverRepeatedValues" to 1
    BTW also search your data and find whether you got NULL values in the aggregated items, if so then wrap the data points with NVL function.

  • Formatting Calculated values in Cross Tab

    I have a P & L Style cross tab where I have inserted calculated values to calcuate the key % values (Turnover, Overheads etc).
    I have used the "Quotient" calculations & bet the correct data, but I would like to format the values to show as %> When I try to change these values, all the values show as %.
    Is there any way to achieve what I need?
    Thanks

    Thanks for that, it would have been easier than the way I found, which was using the display string in the field formatting.
    I might have another pass at it now.
    Much appreciated

  • Calculating  values on cross-tab

    Post Author: Reisp
    CA Forum: Charts and Graphs
    Is it possible to calculate values in a cross-tab , for example , create a column3 = column1 + Column2 ?

    Hi,
    try to cerate a new calc :
    nvl(status_cnt,0)
    and create the totals on it,
    I think you got nulls in that column so it wont aggregate properly.

  • How to show NULL value when import data into excel

    when retrieve data from sql server and import these data into excel.
    data source  is like : select a ,b c from tab
    if a,b,c is nullable. when import these NULL value into excel, it becomes blank value, there is nothing in the excel cell.
    if i don't want to use select isnull(a,'NULL') as a to convert the values.
    what's else can i do to make it? is there a way to prevent changing the NULL to blank ?
    or is there an easy solution to replace all the blank value to NULL in the excel ?

    help me ~

  • DBA_USERS showing null values in PASSWORD column

    Hi,
    We are running a select query from dba_users table as follows :
    select username from dba_users
    where to_char(expiry_date, 'DD-MON-YY') =
    to_char(sysdate + &expire_day, 'DD-MON-YY')
    and password not in ('EXTERNAL','account-locked')
    and account_status <> 'LOCKED';
    This query was running fine with 10g Version, but after Oracle was upgraded to 11G recently, above query does not return any rows.
    Also, when we remove the condition "and password not in ('EXTERNAL','account-locked')", it works.
    And the values for the PASSWORD column shows null.
    Is this related to Oracle upgrade ?
    Kindly help..
    Thanks,
    Jatin

    I have the same behavior in my 11g db (I have nulls in password column too) as checking docs:
    [url http://download.oracle.com/docs/cd/E11882_01/server.112/e24448/statviews_5081.htm#REFRN23302]Oracle® Database Reference 11g Release 2 (11.2) - DBA_USERS
    I can see:
    USER_USERS describes the current user. This view does not display the PASSWORD, PROFILE, PASSWORD_VERSIONS, EDITIONS_ENABLED, or AUTHENTICATION_TYPE columns....
    PASSWORD      VARCHAR2(30)           This column is deprecated in favor of the AUTHENTICATION_TYPE columnIt seems you need to get this info from somewhere else.
    Edited by: Kecskemethy on Oct 3, 2011 2:36 AM

  • To highlight top 3 summary values in cross tab

    Crystal report XIR2
    cross tab
    how to highlight top 3 column/row values with a different font color

    Hi Phani,
    I don't see a way to do this in CR XI R2. If at all there is a way, then it has to done via a Mock Crosstab.
    -Abhilash

  • Carry forward of variable value in cross-tab charts

    Hi Experts,
    I have a cross-tab which calculates the inventory of items (based on count). For a particular date range (quarterly here), if i have to generate the cross-tab, i set the inventory count to zero for the first quarter, and from the next quarter, i add to the inventory count, the new inventory items. At the end of each quarter this value gets accumulated and gets carried forward to the next quarter. From the next quarter, it just is the sum of count of the new items. Now, i have this cross-tab calculate the values at WhilePrintingRecords evaluation time.
    When i have created a chart out of this cross-tab, the chart doesnt reflect the values that are observed in cross-tab.
    Is there any way i can get these calculated values to get reflected on the chart?
    Your help is greatly appreciated.
    Thanks,
    Roshan.

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

Maybe you are looking for

  • HT4436 I need to change my Apple ID ON MY I-Phone to a new E-Mail address. what do I do??

    I need to Change my Apple ID on my I-Phone 4 to a new E-Mail Address, What can I do to Change it.

  • Mac Mini and RAM upgrade

    i have been interested in the Mini for basic computer use since i can hook up to my samsung 32" tv but am also interested in the occasional gameplay. it looks like it has received some pretty good reviews for its size but i am a little confused about

  • How can I prevent sudden shutdown of my BlackBerry Bold 9780 during cmaera usage?

    My BlackBerry shuts down after taking 2 or 3 photos. Don't think battery is the issue as there's no problem with normal usage for calling or texting. Can usually last a few days without charging.

  • Itunes album screensaver

    Hi, i was at a friends house and he has an iMac, and his screen saver came up and it was his album art from itunes, i was wondering if this was just a mac thing or can it be done on windows as well thanks!

  • Urgent I Need This.

    Hi friends,      Daily & Monthly Backlog Reports and Printing program: This program calls 2 separate reports (Daily & Qtrly. Backlog Reports), based on user selection, and directly prints the reports as well as converts them to PDF format and emails