Adding blank column in Oracel Answers OBIEE

Good morning.
I am attempting to add a 3 blank columns in OBIEE and then adding a formula to one of the blank columns to do a simple math calculation between 3 other columns. I used "CAST(Null as double)" in my column formula to make it a blank column and not pulll data from the field column that I added.
This is what I have so far:
Column1 formula = "Cast (Null as double)"
Column2 formula = "Cast (Null as double)"
Column3 formula = "Cast (Null as double)"
Column4 formula = data already included from the column that I added.
This is what i'm trying to do:
Column3 = (Column4 - Column1 + Column2) <----- In excel I would do something like "=D4-E4+F4" (example)
When I do my SUM function in OBIEE and try to add the columns, it pulls in "Cast(Null as double)" and not the actual column name that I custom edited.
Any help would be appreciate on how to add a blank column and add a simple calculation formula to calculate data from the blank columns once I export my report to excel.
Thank you,
Edited by: 970040 on Nov 7, 2012 8:24 AM

Thats correct. When I export the report I want to see blank values in the columns. so when I enter data into those blank fields on my excel spreadsheet, I want the totals column to calculate according to my formula specified. My issue is when I specify a null value in my columns in OBIEE, im unable to put a formula to calculate the values in my other columns.
This is what I have so far in OBIEE:
Column1 formula = "Cast (Null as double)"
Column2 formula = "Cast (Null as double)"
Column3 formula = "Cast (Null as double)"
Column4 formula = data already included from the column that I added with values.
This is what I’m trying to do:
Column3 = (Column4 - Column1 + Column2) <----- In excel I would do something like "=D4-E4+F4" (example)
How can I add a value to my column so that when I export it to excel, the column fields will have the formula already included such as "=D4-E4+F4" and also each row formula corresponding to the correct Row Number.

Similar Messages

  • Calculating Sum of columns for a row- OBIEE 11.1.1.6

    Hi,
    We are on OBIEE 11.1.1.6.
    We have  a pivot table with a measure MCount. Our Table looks something like this:
          X  Y  Z
    A  c1  c2 c3
    B  c4  c5 c6
    C c7  c8  c9
    We want to add another column "Total" which is equal to sum of  counts for each row. So our table should be like:
          X  Y  Z     Total 
    A  c1  c2 c3   (c1+c2+c3)
    B  c4  c5 c6    (c4+c5+c6)
    C c7  c8  c9    (c7+c8+c9)
    We added another column in Criteria tab with the following formula, where Dy is the dimension along the Y axis (i.e with values A B and C)
    rsum (Mcount BY Dy). We left the aggregation rule to be default (which is sum.)
    This solution calculates the sum, however for some reason is giving the value twice of the actual value. So modifying formula to rsum (Mcount BY Dy)/2 fixes our problem.
    Can anyone please suggest a better way of doing this ?
    Thanks!
    SJ

    Hi Srini,
    Thanks for your answer. I followed your suggestion and Unfortunately now the value is 4 times the actual value. I chose the aggregation rule for the measure as
    Aggregation Rule (Totals Row): Sum
    Am I missing something ?
    SJ

  • Layout in sql report gets disturbed in case of blank columns

    Hi All,
    I have an SQL report which runs from a concurrent program.
    Problem is, if there are blank columns in the report then the data shifts to the left.
    As shown in the below table, if column Attribute 4 is null then the data for Error column has shifted to the left. The words Incorrect Data should come under heading Error whereas it comes under Attribute4.
    ASSET_NUMBER_REC ATTRIBUTE_CATEGORY_CODE ATTRIBUTE4 ERROR
    316604 ABCD Incorrect Data
    Can someone help me in correcting the report layout.
    Regards,
    Shruti

    ASSET_NUMBER_REC ATTRIBUTE_CATEGORY_CODE ATTRIBUTE4 ERROR
    316604 ABCD Incorrect Data
    Can someone help me in correcting the report layout.
    Hi
    SQL Report --- Do you mean SQL Query in such case,
    Please use NVL function on all column, which will give you proper place result.

  • Blank Column in Query

    Hi There
    Please advice me how to create a blank column in Query?
    Thanks in advance..
    Regards,
    Chandu.

    Hi
    I don't have any IO's regarding that.I just need create a column with some description then user can fill with data.
    How can i run that?
    Thanks in advance.
    Regards,
    Chandu.

  • I need to convert PDF to Excel, however, columns and tabs make many merged cells and many blank columns. In addition to not separate the columns correctly, I see many not separate lines together in the same cell. I'm even thinking that Adobe Acrobat Pro D

    I need to convert PDF to Excel, however, columns and tabs make many merged cells and many blank columns. In addition to not separate the columns correctly, I see many not separate lines together in the same cell. I'm even thinking that Adobe Acrobat Pro DC has limitations. There is no way to define what points in columns to force break column? Nor create many columns that are useless? How does text to column in Excel, fixed size when we import text, and define where the breaks have columns?
    Google Tradutor para empresas:Google Toolkit de tradução para appsTradutor de sitesGlobal Market Finder
    Desativar tradução instantâneaSobre o Google TradutorCelularComunidadePrivacidade e TermosAjudaEnviar feedback

    PDF does not contain columns, rows, formats, styles, or other aspects of word processing or spreadsheet file formats.
    This is because PDF is decidedly not a word processing or spreadsheet file format or something "like" one of those.
    (see ISO 32000 for what PDF "is")
    What can optimize the export of PDF page content is to start with a well-formed tagged PDF (ISO 14289-1, PDF/UA-1 compliant).
    Without that export is what it is and one performs whatever content cleanup is needed using the native application for the export file (MS Word or Excel).
    Be well...

  • How to avoid blank column display in output in ALV TREE

    how to avoid blank column display in output while decreasing the length of other columns in ALV Tree.
    Example: please refer to BCALV_TREE_01 and see the output, then decrease the length of all columns . Then you can see a blank column appearing in screen at last, i.e in container. so how to avoid that.
    Thanks for reply.
    Edited by: morpeous on Jul 1, 2009 1:53 PM

    Hi,
    Check BCALV_TREE_02 on how to hide columns.
    Thanks & Regards,
    Anand Patil

  • Adding a column in the MSS Approval view

    What are the options for adding a column in the MSS approval view (CATS regular) ?

    there are lot of colums available in cats customisation for this
    Please check
    In the IMG (transaction SPRO), go to
    - SAP Customizing Implementation Guide
      - Cross-Application Components
        - Time Sheet
          - Specific Setting for CATS regular
            - CATS regular
              - Approve Working Time
                - Define Field Selection for Individual Approval View
                - Define Field Selection for Detail View
    Here you can assign lot of columns to your profile
    which is easily customisable

  • Display Blank Column in Bex Analyzer without Error

    Hi Experts,
    i have created a report with several columns.
    To display the coorect descrition i use a new selecion and insert the required infoobject or Key Figure" it is ok.
    Whe want to display two blank columns.
    The problem i have is that there are some errors saying i should define thoses columns.
    How to define a blank cloumn which is displaying the description but empty?
    Thank you for your Input.
    Gilo

    Inside the query designer there should be a "columns" section.  Formulas can be configured either by:
    - creating a structure (dragging a structure from the left or creating a new structure)...or....
    - dragging a key figure from the left window pane over to the "columns" section.
    - you could create a new calculated key figure or restricted key figure, but this is not necessary in our example. 
    Right click on the structure or Key Figures.  There should be 2 options:  New Selection or New Formula.  We chose new formula,  add appropriate text/heading/description and put a =0 in the formula box, prior to clicking OK.    The wider the heading text, the wider the new blank column will look.
    Then right click on the column you just created to change it's properties to = suppress result for both the "calculate result as" and the "calculate single values as"....

  • BIP report output in PDF and RTF generating some blank columns or � symbols

    Hi Experts,
    I am new to BIP. I have developed some BIP reports in 10.1.3.4.1 version which are working fine in Dev and UAT environment.
    But it's generating some blank columns and some columns with proper data and some columns with"cellphone" kind of symbol in PDF and " �"
    symbols in RTF in Prod environment.
    In all the environments the version of BIP is same.
    So any help in resolving this issue is appreciated.
    Thanks in advance..
    Regards,
    Suresh.A

    All of the complex report logic is handled in your Oracle Report (rdf) file.
    If your Oracle report is working OK, then this report should be generating XML.
    After running your report, go to the View Requests window. Highlight your request, and click the Diagnostics button. Then click the 'View XML' button. If you see XML data, then you should be OK.
    When I faced a similar issue, it was because the '1 step' process didnt work for the particular report I was using. The '1 step' process doesn't work for every report. Which report are you using?
    If the report is submitted via a form (not the concurrent manager request form), then you probably need to use 2 steps to produce the desired output.
    For more information, see the following thread:
    Enhancment to avoid 2 step check printing
    HTH,
    Mark K

  • How to add get the field name for a newly added site column.

    I have the following:-
    Enterprise wiki site collection inside SharePoint server 2013.
    I added a new site column of type managed metadata.
    I opened the enterprisewiki.aspx page layout using the SP designer, to add the newly added site column to it.
    But I have noted that to add any site column I need to know the field name , for example the default wiki category column is referenced inside the page layout as follow:-
    <Taxonomy:TaxonomyFieldControl FieldName="Wiki_x0020_Page_x0020_Categories" EmptyValueDescriptionForTargetTemplate="<%$Resources:cms,enterwiki_nocategories_assigned%>" DisableInputFieldLabel="true" runat="server"/>
    <b>
    So my question is how I can know the field name for my newly added site column?
    Thanks in advance for any help.
    Regards

    Hi,
    The “FieldName” should be the internal name of the column, you will find it at the address bar at the “Site Columns”->”Edit Column” page:
    Best regards,
    Patrick
    Patrick Liang
    TechNet Community Support

  • "Pie chart in pivot view  showing only the first column's results" in obiee

    Hi,
    In my pivot view(pie chart view+pivottable),i'm getting only the first column's result in pie chart..
    I have added a column named *'A*' in rows and '*moneyspent*' in measuresfield and the '*period*' in the columnsfield in the pivot view.I'm calculating the sum of
    the rows and columns..
    I'm not getting the sum valueof moneyspent in the pie chart..instead i'm getting only the first column of period in the pivot table in the pie chart.
    can anyone tell how can i get the sum value of pivot table in pie chart?
    Thanks in advance..

    Hi Prash,
    let me try to give you an example based on the paint sample:
    Use Markets.Region, Products.Brand, 'Sales Measures'.Units
    choose a pivot view to display the result: region goes into the rows-section, Brand goes into the columns-section and Units into the measures-section
    In the columns-section add a total using the 'add total' at 'Measure Labels' level
    the result is a total column on the right side of the pivot.
    looking like this:
    Units
    Brands
    Region Enterprise Magicolor Mccloskey Valspar Units Total
    Central 1032.....
    Eastern 1485......
    Southern 824.....
    Western 580
    What I am looking for is a new column 'Units Total pct'.
    If I duplicate the measure to show the values in percent, I'll get a second column per Brand (showing the absolute and percentage values) - that's what I don't want
    Regards
    Andy

  • How can i delete One Blank Column in my report

    Hi guru's,
    can any one tell me .........
    i'm getting one Blank column in Query output.How can i delete that Blank Column ?
    in the same way Row  Also....
    Thanking  u advancely
    Chandra

    Here is a site with some nice sample code on deleting rows / columns : [http://www.java2s.com/Code/JavaScript/HTML/ModifyingTableColumns.htm|http://www.java2s.com/Code/JavaScript/HTML/ModifyingTableColumns.htm]
    As to where to put the code, edit your web template, then put the code in there. There are script web items that you can use, but be aware that editing javascript in the script item is not too pleasant. I have found the best approach is to rather create the javascript file on my machine, then upload it to the MIME repository, then reference that in the web template.
    Here is how I have referenced the javascript file sitting in our MIME repository:
    < script src="bwmimerep:///sap/bw/mime/Customer/javascript/CustomCalculations.js" />
    I hope this helps you out.
    Cheers,
    Andrew
    Edited by: Andrew Lewis on Jul 18, 2008 9:26 AM

  • Need to paint Excel,but have blank column.

    After operated the excel, the excel file have many blank column.Now need to print the excel, but I don't want these blank column, any way to delete them or not show when print? Thank u .

    >>Now need to print the excel, but I don't want these blank column, any way to delete them or not show when print
    Hi
    You can delete or hide the column before you print the worksheet using WorksheetFunction.CountA, CountA() method , counts the number of cells that are not empty and the values within the list of arguments. You may refer to this code:
    Sub PrintSheet()
    Dim col As Long, lastCol As Long, r As Range
    lastCol = ActiveSheet.UsedRange.Columns(ActiveSheet.UsedRange.Columns.Count).Column
    For c = lastCol To 1 Step -1
    If WorksheetFunction.CountA(Columns(c)) = 0 Then
    Columns(c).EntireColumn.Hidden = True 'Hide the Column'
    ' Columns(c).Delete ' Delete the column
    End If
    Next
    Application.ScreenUpdating = True
    ActiveSheet.PrintOut
    End Sub
    CountA method
    https://msdn.microsoft.com/EN-US/library/office/ff838049.aspx?f=255&MSPPError=-2147217396
    Best Regards
    Lan
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Adding new column to production database

    I have to add a new timestamp column, that defaults to the current date/time, to an existing production database. The table is large - 150M records. I am trying to understand the ramifications of adding a new column to a table this large that gets hit often, mostly with inserts and reads. The column does allow null values and I am not going back and populating existing records with a value. Basically, I am looking for some best practice guidelines - how to prepare, what to expect, what other processes should be followed along with this schema update.

    Radiators wrote:
    Thanks, I have not found any %TYPE or %ROWTYPE dependencies on the table I am altering. But at the same time I do not understand how these types of dependencies would invalidate packages. I wouldn't be breaking any %TYPE dependency because I am not dropping columns, only adding a new one. And according to documentation for %ROWTYPE - "If columns are later added to or dropped from the table, your code can keep working without changes." Can you point me to Oracle documentation that describes your concern in detail? Thanks.you can test it yourself
    SQL> CREATE TABLE abc (c1 NUMBER);
    Table created.
    SQL> INSERT INTO abc
      2       VALUES (99);
    1 row created.
    SQL> CREATE OR REPLACE PROCEDURE test_proc
      2  AS
      3     v   abc%ROWTYPE;
      4  BEGIN
      5     SELECT c1
      6       INTO v
      7       FROM abc
      8       WHERE ROWNUM = 1;
      9  END;
    10  /
    Procedure created.
    SQL> SELECT object_name, status
      2    FROM user_objects
      3   WHERE object_name = 'TEST_PROC';
    OBJECT_NAME                STATUS
    TEST_PROC                    VALID
    SQL> ALTER TABLE abc ADD (c2 VARCHAR2(10));
    Table altered.
    SQL> SELECT object_name, status
      2    FROM user_objects
      3   WHERE object_name = 'TEST_PROC';
    OBJECT_NAME                 STATUS
    TEST_PROC                     INVALID
    SQL> you should also consider the chance that some where if people are using "select * into" using this table, which will fail since you added new column. i don't see any unusual performance bottlenecks by adding a new column. in case of the backups, yes the earlier backups will not have the column. if you restore it, you will see earlier table structure itself. i have one specific question. why are you not attempting this in development/test environment first? even if it is a simple insert, it's always important to do it in test environments before attempting on production db. one thing for sure i know is, after adding column, you will have to recompile all the invalid dependencies. i think, it's better if you attempt it in test db and come up with any issues you see rather than asking a general question where problematic scenarios are plenty and rarely unknown before hand.

  • Blank columns with title

    Hi All,
              How do I create a blank column with the column name in the report?
            I tried with "structure-new selection" with the report name(Structure being Key Figures)- the system pops out an error message stating that it needs unique value  for each cell.
    Thanking in advance.

    Thanks Bhanu. It did work.
    I did try query properties suppression zeroes for both rows and columns with Active =0 but it is not suppressing the zeroes.
    Thanks again.

Maybe you are looking for

  • IPod touch 2nd Gen 8gb will no longer Sync photos.

    all the posts I could find that were similar had to do with ipods that were jailbroken and on Windows. I have iTunes 10.1, iPhoto 6.0.6. running on OSX 10.6.5 iPod Touch 2nd Gen 8GB OS 4.2.1 The Problem: Since I got 4.0 and later, I have not been abl

  • Can I use two apple TV on the same wifi system?

    Can I use twoo apple tv on the same wifi system??

  • Older video footage needs to be rendered before viewing

    I've imported some old SD footage I shot years ago into a new project (NTSC 48khz). When playing back the footage in the viewer the video stops and starts inconsistently. When I drag the clip into the timeline, I get the red render bar. There aren't

  • Adobe Media Encoder CS4 Importer?

    I am trying to help a user get all applications installed after a hard drive crash, and am looking for a program that was listed in Add/Remove Programs. The program listed is "Adobe Media Encoder CS4 Importer." I have installed all components of Flas

  • OEM 10.1.0.4 (with 9.0.4.2) on WINDOWS ANYONE ??????

    Is anyone on the Windows platform using OEM Grid Control 10.1.0.4 with the iAS component patched up to 9.0.4.2 ? We currently have 10.1.0.4 with the 9.0.4.0 iAS component installed. If you look at the Oracle January 2006 Critical Patch Update, Oracle