How to replace null as 0 in  obiee11g pivot table view?

Hi,
I am using obiee11g pivot table view,
I have tried so many views but it's not work. My oracle support team also tired but could not solve it
1.) used BIN method is that measure columns
2.) ifnull(column name,0)
3.) case condition:
Case when columns is NULL then 0 else column end
4) data formate override custom formate option
It seems that the syntax for this custom format is positive-value-mask (semi colon) negative-value-mask (semi colon) null-mask. So this means we have a few options.
E.g. if you want zeros (0) instead of null then enter:
#,##0;-#,##0;0
http://obieeelegant.blogspot.com/2011/06/how-to-replace-null-values-in-obiee.html
Note:
I don't want to show strike-rate and custom message in that blank cell. I want to show blank cell(null values) as 0 in the obiee11g pivot table view.
Obiee10g version is working fine only issues in obiee11g
Thanks in advance...
Thanks
Deva

I tried this on 11.1.1.6.2 but I can't see good results.
I choose subject area A-Sample Sales and I choose:
T02 per Name Month on rows
P1 Product on columns
Measure : IFNULL("Simple Calculations"."17 Net Costs", 0)
Prompted Year 2008
On product Install and 2008/01 there isn't value...and I put Ifnull in my formula...
My problem is that I want to do a conditional format when Product = Install. So I have all column with background colour except Null values...so is not pretty...
If I add custom numeric format I can see 0 but not with background colour...
I add a picture:
http://imageshack.us/photo/my-images/600/tablegk.jpg/
Any help about it??
Is a bug on obiee??
Edited by: Alex1 on 04-sep-2012 4:28

Similar Messages

  • How to re-arrange the columns present in pivot table view in obiee 10?

    Can you please tell me How to re-arrange the columns present in pivot table view in obiee 10?

    I have columns as 1,2,3,4,6,7, in pivot table view.
    I have calculated item (column 5 as summation of 1,2,3,4) and caluclated itme (column 9 as summation of 6,7)...now if i arrange ascending then calculated columns 5,9 don't get affected.
    I need the order as 1,2,3,4,5,6,7,9

  • How to Replace Null Value as 0 in an OBIEE11g Pivot Table? it's working 10g

    Hi,
    How to Replace Null Value as 0 in an OBIEE11g Pivot Table? it's working in obiee10g version.
    We have tried below methods
    1) criteria tab and edit the ‘column properties’ associated with your fact measure. Choose the ‘Data Format’ tab, tick to override the default format and choose ‘Custom’.
    It seems that the syntax for this custom format is positive-value-mask (semi colon) negative-value-mask (semi colon) null-mask. So this means we have a few options.
    E.g. if you want zeros (0) instead of null then enter:
    #,##0;-#,##0;0
    2) in that formula columns we have put it below case condition also ,
    Measure Column: Nom_amt --> edit formulas
    CASE WHEN Nom_amt IS NULL THEN 0 ELSE Nom_amt END
    3) we have uncheked IS NULL check box in the admin tool also
    I tried above formats still it's not working for me..kindly help me on this..
    thanks to do the needfull
    Best Regards,
    R.Devarasu

    Hi,
    Null value in database displaying as 0 in report, I need to keep value as in database, and I have one calculated row which is based on null values should also null in report.
    but it showing 0 for null values also so, my calculated row showing wrong result.
    my report is like
    col1 col2
    ABC 0
    BCD 12
    DEF -12 --this is calculated row.
    I require result like:
    col1 col2
    ABC null
    BCD 12
    DEF null --this is calculated row.
    Please let me know how I can achieve this.
    Thanks,
    Rahul

  • How to Replace Null Value as 0 in an OBIEE11g Pivot Table?

    Hi,
    How to Replace Null Value as 0 in an OBIEE11g Pivot Table? it's working in obiee10g version.
    We have tried below methods
    1) criteria tab and edit the ‘column properties’ associated with your fact measure. Choose the ‘Data Format’ tab, tick to override the default format and choose ‘Custom’.
    It seems that the syntax for this custom format is positive-value-mask (semi colon) negative-value-mask (semi colon) null-mask. So this means we have a few options.
    E.g. if you want zeros (0) instead of null then enter:
    #,##0;-#,##0;0
    2) in that formula columns we have put it below case condition also ,
    Measure Column: Nom_amt --> edit formulas
    CASE WHEN Nom_amt IS NULL THEN 0 ELSE Nom_amt END
    3) we have uncheked IS NULL check box in the admin tool also
    I tried above formats still it's not working for me..kindly help me on this..
    thanks in advance...
    Best Regards,
    R.Devarasu

    Hi Amith,
    I have update your suggested one,but it's working few of the rows only..remainings rows some of cells still NULL only
    Measure colmns is : Nom_SGD
    IFNULL(Nom_SGD,0.00)
    Movment : dynamic date calc by using $2-$1 oracle formula's
    Actually i am doing below things only,
    31/12/2011 31/03/2011 Movment
    Country
    India 100 -50 -150
    Singapore 200 200
    UK 1200 -1200
    USA 0.00 0.00 0.00 (here changed null as 0)
    Helpmeon this...

  • How to replace NULL values from main table

    Dear all,
    I like to remove the NULL values from a main table field. Or the question is how to replace any part of the string field in MDM repository main table field.
    e.g.   I have a middle name field partly the value is NULL in some hundreds of records, I like to replace NULL values with Space
    any recommendation.
    Regards,
    Naeem

    Hi Naeem,
    You can try using Workflows for automatically replacing NULLs with any specific value.
    What you can do is: Create a workflow and set trigger action as Record Import, Record Create and Record Update. So, that whenever any change will occur in the repository; that workflow will trigger.
    Now create an assignment expression for replacing NULLs with any specific value and use that assignment expression in your workflow by using Assign Step in workflow.
    For exiting records, you will have to replace NULLs manually using the process given by Preethi else you can export those records in an Excel spreadsheet which have NULLs and then replace all NULLs with any string value and then reimport those records in your MDM repository.
    Hope this will solve your problem.
    Regards,
    Varun
    Edited by: Varun Agarwal on Dec 2, 2008 3:12 PM

  • Row -level based calculations in OBIEE11g - pivot table

    Hi Experts,
    I have the report with the format.. Where Transaction Amount is my measure and Events is one of the dimension(Event type) and Time is another dimesion (Year & Month columns)..
    Transaction Amount                                                       
                                  JAN               FEB               MAR               APR
    Event Type          Year                                                                 
    GMS(USD)               2010          16,304,853.61     14,430,768.37     15,208,584.75     12,958,012.50
                        2011          20,348,028.07     18,296,414.03     19,043,200.29     17,226,224.87
    Inbound Rejects(USD)     2010          13,757.00          84.93          123.52          11.98          
                        2011          101,670.48          6,658.78          2,240.56          3,135.09
    Now I want to create a calculated rows % inbound rejects , the formula is Inbound Rejects(USD)(2011) /GMS(USD)(2011) and also simillar for 2010 year. How I can do this is OBIEE11g.
    Thanks in Advance
    S
    Edited by: sivausin on Aug 26, 2011 7:22 AM

    Here there 5 tables.
    CBI_BI_HDR- Primary header table(Level zero record) With BUSINESS_UNIT and INVOICE as key.
    CBI_BI_HDR_STG- Level one (BUSINESS_UNIT,INVOICE and LINE_SEQ_NUMBER as key).
    CBI_BI_LINE- Level One record (BUSINESS_UNIT,INVOICE and LINE_SEQ_NUMBER as key).
    CBI_BI_AEDS_STG-Level two record( no need any information in this for report)
    CBI_BI_SKU-Level two record(BUSINESS_UNIT,INVOICE,LINE_SEQ_NUMBER,WIDTH_SEQ_NUMBER, and SIZE_SEQ_NUMBER as key)
    CBI_BI_SKU is the one i am try to get as Pivot in level 2.
    for each WIDTH_SEQ_NUMBER and SIZE_SEQ_NUMBER there is DIM_CODE and SIZE_DESC in respectively in the table.Also qty for each size and dim code here.
    so i want the result to be like this.But it is working problem here is it is return the same value for all billing line.I want only the key value relation ship in this pivot table.
    BIlling LINE_SEQ_NUMBER=1
    SIZE_DESC1(11) SIZE_DESC2(9) total
    DIM_CODE1(M) 11 22 33
    DIM_CODE2(W) 4 13 17
    BIlling LINE_SEQ_NUMBER=2
    SIZE_DESC1(11) SIZE_DESC2(9) total
    DIM_CODE1(M) 11 22 33
    DIM_CODE2(W) 4 13 17
    Please send ur mail ID i will send the document. Here it is not allowing me to add XML. [email protected]
    Regards,
    Sabarinathan

  • At max how many columns is advisable to create in a table/view

    Hi All,
    I have two transaction table from which i want to create a simple view or materialized view. But the number of columns is about 200. So i want to know at max how many columns is advisable from the performance point of view.
    Even though i will create 200 columns in a view , for a perticular client installation i may not use all the columns.
    one more thing i will never use 200 columns in the select statement . At a time i will use only 4/5 columns.
    It may happen from this four column one column will be the 1st and 2nd column will be the 200th one.
    I want to know how it affects the performance and in which scenario . Please help if any body knows or already faced this kind of scenario.
    I am using oracle 10g .

    Annapurna Nayak wrote:
    thanks for ur reply .
    We are going to use this view in a report , so if i will create it as simple view it will affect report performance. because the view script is too long ...so every time quring to a view will decrease the performance.
    Are you asking me if it will? I think it probably won't but of course you have the means to test it to be sure, right?
    As u said MV should be done with minimum possible column . what can be the maximum column in MV ..??It would be defined by the limits on:
    * The maximum number of columns that a table can contain
    * The size of the query needed to define the select statement
    * Limitations on queries needed to maintain the data
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14237/limits003.htm#i288032

  • How to select a row in a single-select table view?

    Hello folks,
    I have a table view with a 'details' button. When a row is selected and 'details' is pressed, the table view disappears and a form view is displayed (like the toggle button in PCUI). I have implemented this using a navigation link. When I press 'cancel' in the form view, another navigation link takes the user back to the table view.
    My problem is, when the table view reappears, there is no row selected (the row that was selected previously, is de-selected). How do I make sure that the row remains selected?
    I tried using the collection_wrapper->mark() method in the inbound plug of the table view, but it works only for multi-select table.

    Hi Masood,
    Thanks for your reply.
    I had already tried using MARK ( iv_index = lv_index ), but it did not work because the first statement in the MARK method is
      check ME->MULTI_SELECT = ABAP_TRUE.
    Mine is a single-select table. So, using the MARK of the iterator object, with either the IV_BO or the IV_INDEX parameter also does not work. Is there any other way for a table with single row selection?
    Thanks!!!
    Rohan.

  • How to use column with linkToItem in the Basic Table view style mode

    Hi
    I have already changed a normal column that I made to a column with linkToItem as follows.
    <viewfields>
    <FieldRef Name="MyColumn" linkToItem="TRUE">
    and it worked.
    But this column works only at the default view style mode in my case.
    Does anyone know how to use linkedToItem column in the Basic Table mode?
    hope someone help me.
    thanks

    Hi,
    According to your description, my understanding is that you want to use linkToItem in the Basic Table view style.
    Per my test, in the Default style view, we need to use linkToItem=”TRUE”. However, in Basic Table style view, we need to use LinkToItem=”TRUE” instead.
    Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

  • How to drill down and keep all my pivot table...

    Hello experts!
    I have a question about how to drill-down in pivot table. If I drill-down I can see the result in the same place...but it dissapear other bins or measures...
    Example:
    Pivot table:
    A
    B
    C
    If I click in A I can see:
    a1
    a2
    a3
    But I don't see B and C.
    I would like to see when I click on A:
    A
    ---a1
    ---a2
    ---a3
    B
    C
    In my example I have a lot of bins to do drill-down...so it doesn't work for me to create three pivot tables and to do a union...
    Is that possible? If you need more details you can post here...
    Thank you!

    Alex, this isn't another question. It looked like you were asking something different. That's why I said to start another thread. The bottom line is that OBIEE can't do what you are looking for.
    But I think what is more important is not necessarily how to do what the OP wants, but what is the best way (read: most efficient, simplest, viable) to achieve the goal.
    In this case, I think a better approach to your reporting is to use to Dashboard prompts. The first would be like Vehices (which has Cars, Trucks, Motorcycles, etc. in the drop-down window) and the second, constrained on the first, called Models/Brands (which has values dependent on what is chosen in the first prompt). With "All Choices" checked off in the prompt design, you have all the combinations a user needs to see in the pivot table. If the user chooses "Cars" from the first prompt, and "All Choices" in the second, then he/she will get all the car models displayed in the pivot table. Or, the user could select one particular moded from the start.
    In fact, this is how many product web sites are set up. This gives the flexibility to the user and the report looks clean and efficient. You can have the drill down on the particular model (value interaction) if you wish to supply extra data on the particular model chosen.
    I think this is the "correct" answer, Alex, though not the answer to the question you posed. Good luck.

  • How to place the page items horizontal in pivot table in OBIEE

    Hi experts
    In pivot table i have two pages items. And i want to place them horizaontaly. So how can i achieve this.
    for Ex: I have placed my two columns in page section of pivot table: Year,city.
    then i need as ;
    Year City
    where year is one dropdown list and city is another drop down list.
    Thanks in advance
    Regards
    Sunil

    Hi,
    We can seperate the page items using 'Start New Page Drop Down', but the item will be displayed in the next line.
    I think you would like to show them side by side i.e, horizontally..
    If it is, i think it is not possible as of OBIEE 10.1.3.3.. not sure about 10.1.3.4..
    Please let me know if my assumption is wrong.. I will be very happy if anyone corrects me..:)
    -Vency

  • How to make use of single report using pivot table

    Hi All,
    I have a report , having 4 columns like product,country,unitcost,date.
    so, by using all the columns i have develop the 4 pivot chats..
    1.product ,unitcost
    2.date product unitcost
    3.country product unitcost
    4.date country product unitcost.
    how to do it .. do u have any idea to do work around.
    if u run the single report it has to show 4 charts like i said above. using pivot chart can we make it out ?
    but i tried .. i did not get any idea.. please help me...
    Thanks
    sree

    874823 wrote:
    Hi All,
    I have a report , having 4 columns like product,country,unitcost,date.
    so, by using all the columns i have develop the 4 pivot chats..
    1.product ,unitcost
    2.date product unitcost
    3.country product unitcost
    4.date country product unitcost.
    how to do it .. do u have any idea to do work around.
    if u run the single report it has to show 4 charts like i said above. using pivot chart can we make it out ?
    but i tried .. i did not get any idea.. please help me...
    Thanks
    sreeI'm confused. In the beginning of your post you said you, "I have develop[ed] the 4 pivot charts." Then you asked, "[H]ow to do it...I tried... I did not get any idea..."
    Which is it? Did you create the 4 pivot table charts but don't know how to display them? Or do you not know how to create pivot table charts?

  • How to make a layer from the ADF pivot table invisible?

    Hi all,
    ADF pivot table is a useful component which can be used to provide table data rendering. However, I have not found any method to hide one layer from the row edge (or column edge) of the pivot table.
    For example, please have a look on this demo: [http://jdevadf.oracle.com/adf-richclient-demo/faces/components/pivotTable.jspx]
    There are two layers in the row edge of this pivot table, one is Time, one is Product. For product, there are two categories, one is Tents, one is Canoes.
    Is that possible to make the Product layer invisible from user, while still keeping the two rows of product data for that year showing up? how to do it?
    The problem is that pivot table relies on the product layer to separate the two rows of product data, and if I remove the product layer, only the second row of product data for each year can be shown up.
    Please advise how I can make the Product layer invisible.
    Thanks
    Richard
    Edited by: user12847742 on Oct 6, 2010 12:58 AM
    Edited by: user12847742 on Oct 6, 2010 1:04 AM
    Edited by: user12847742 on Oct 6, 2010 1:10 AM

    Hi, Yiannis,
    Thanks for the clarification.
    First, for clarity, I'd like to point out that you and Richard are inquiring about different functionality. Richard wanted to hide a layer that is logically present on the edge, so that there are still separate rows for Tents and Canoes, but without row headers indicating which row is which. As I noted previously, this is currently unsupported.
    By contrast, you're asking about truly removing a layer from the edge. For rowset DataControls, this can be done using the CubicEditor interface. Given the following PivotTable:
    <dvt:pivotTable id="pivotTable1" value="#{bindings.Record.pivotTableModel}"/>the CubicEditor can be retrieved by calling:
    DCBindingContainer bindingContainer = (DCBindingContainer)ADFContext.getCurrent().getRequestScope().get("bindings");
    CubicBinding cubicBinding = (CubicBinding)bindingContainer.findCtrlBinding("Record");
    CubicEditor cubicEditor = cubicBinding.getCubicEditor();You can then add a layer:
    LayerDefinition layerDefinition = new LayerDefinition("Product");
    cubicEditor.addLayer(DataDirector.ROW_EDGE, 1, layerDefinition);and remove a layer:
    cubicEditor.removeLayer(DataDirector.COLUMN_EDGE, 0);At the end, you'll need to PPR the Pivot Table.
    Hope that helps.
    Jim

  • How to not display the column header in the table view?

    I do not want to display the column header in the table view, how can I achieve it?

    If you're using JavaFX 8 you can use the following in an external style sheet:
    .table-view .column-header-background {
      -fx-pref-height : 0 ;
    If you're using JavaFX 2.2, the -fx-pref-height attribute is not available in css, so I think you have to resort to a lookup:
    final Region tableHeader = (Region)table.lookup(".column-header-background");
        tableHeader.setPrefHeight(0);
    As always, I feel obliged to point out that I don't really like lookups. Sometimes they seem to be the only way, though.

  • How to replace null value, if column is text and not numeric in OBIEE?

    Hi,
    Please note that I had tried to change the null text by adding bin value for Unspecified and Unknown but this did not work for me.. not sure if I am missing out to put anything in value filter…
    Thank You,
    Ravi

    Check this function:
    http://docs.oracle.com/cd/E23943_01/bi.1111/e10544/appsql.htm#CHDHJABI
    Cheers
    Nico
    IFNULL
    This function tests if an expression evaluates to a null value, and if it does, assigns the specified value to the expression.
    Syntax
    IFNULL(expr, value)
    Where:
    expr is the expression to evaluate.
    value is the value to assign if the expression evaluates to a null value.

Maybe you are looking for