Typecast ( Column Conversion) in OBIEE

Hi all,
I am unable to execute the joins in the physical layer
I have a table with Zone KEY(varchar) as a primary key and i need to join it with an another table with Zone ID(String) both zone Key and ID contains the same list
but due to the difference in datatypes there is no data flowing in the report
Do we have a typecast function to convert one or other data types in the physical layer?
Any other best possible answer??

You can change the datatype in the rpd.
Or
Create view in the database and cast to required datatype and import in physical layer
or
go with any join in physical layer, in BMM layer create a new logical column with cast and create a logical foreign key join(not logical complex join) using a new logical column and other column
Any of these should work ;)
If helps pls mark

Similar Messages

  • Maximum Number Of Columns For A OBIEE Pivot Table?

    Hi All ,
    What is the Maximum Number of Columns for a OBIEE Pivot Table? Also what is default size of columns set for Pivot view in OBIEE 11g?
    Thanks In Advance.
    Qujes

    Hi,
    You can increase the maximum columns in a view by add some tags to instanceconfig.xml file.
    check this...http://obiee101.blogspot.com/2008/02/obiee-controling-pivot-view-behavior.html
    Regards,
    Srikanth
    Edited by: Srikanth Mandadi on Oct 15, 2010 10:04 AM

  • Converting Oracle TIMESTAMP(4) column to SQL datetime column conversion error in ssis

    I could not able to convert Oracle TIMESTAMP(4) column to SQL datetime column conversion error in ssis.
    I'm connecting OLEDD Oracle Source to OLEDB SQL Destination in SSIS package. I'm trying to insert data from oracle datetime column into sql datetime column. I'm getting some errors.
    Please provide helpful info.

    You can transform the data types directly at the source by writing a proper SQL statement, or you can convert them using the data conversion component.
    Please refer the below link
    http://stackoverflow.com/questions/6256168/how-to-convert-a-timestamp-in-string-format-to-datetime-data-type-within-a-packa

  • Maximum Number of Columns Allowed in OBIEE Answers Table View?

    Was wondering if anyone knew the maximum number of columns allowed in OBIEE Answers Table View? I could not find it in documentation.
    Thanks in advance

    Hi,
    You can increase the maximum columns in a view by add some tags to instanceconfig.xml file.
    check this...http://obiee101.blogspot.com/2008/02/obiee-controling-pivot-view-behavior.html
    Regards,
    Srikanth
    Edited by: Srikanth Mandadi on Oct 15, 2010 10:04 AM

  • Date format conversation in OBIEE

    Hello guys
    I am a quick question about how to stop OBIEE from using to_date conversation? The date format in the db is dd/month/yy, and when I run any report in OBIEE answer using Date columns, it will always convert the format to "dd/mm/YYYY". The sql generated will always have a to_date() in where clause..
    Is there a way to not have OBIEE does that and just show the date with format as it is and drop the to_date conversion in SQL?
    Thanks

    I think you are getting confused here. Oracle's default date format is dd-mon-yyyy. So when you run a query like this:
    DATE_COLUMN = '01-Nov-2009'
    Oracle applies an IMPLICIT data type conversion to your date string and converts it to a date data type. Whether you allow Oracle to do the implicit conversion or do it explicitly like this DATE_COLUMN = To_date('01-Nov-2009', 'dd-mon-yyyy') should always result in the same query performance. When to TO_DATE functions affect query performance? When you apply the function over the DATE_COLUMN like this:
    TO_DATE(DATE_COLUMN, 'dd-mon-yyyy') = '01-Nov-2009'
    Why? Because indexes on DATE_COLUMN WILL NOT be used unless you have defined a function level index with a index column using the function: TO_DATE(DATE_COLUMN, 'dd-mon-yyyy'). My guess is that your DATE_COLUMN is not a date but a varchar2, therefore when you pass in To_date('01-Nov-2009', 'dd-mon-yyyy') Oracle does an IMPLICIT conversion of your DATE_COLUMN to DATE data type to match the data type of your where condition hence it is taking long to execute as no indexes are used. Can you confirm what is the exact data type of the DATE_COLUMN you are using to filter on? Do you have an index defined in that column? Can you confirm exactly how is the index is defined? Have you ran statistics on the table AND the indexes as well?

  • How to show the columns dynamically in OBIEE report based on the selection?

    Hi,
    I have a requirement where the columns should be dynamically shown in report based on what we select in propmt page.
    I'm creating a report in OBIEE where i want to give an option to the end user to select the columns whichever he wants to see in the report.
    For example I have the following columns in the report already:
    Customer Name,
    Customer Number,
    Bank Account,
    Address
    I want to give an option to the user to select 'Customer Mail ID' dynamically and see the column to be displyed in the report along with the existing columns.
    Through 'Column Selector' user can select a single column at a time, but if he want to select more than one column, how can we do this ?
    Please help me out in resolving this issue.
    Thanks,
    Chaithanya.

    Hi Chaithanya,
    there's not a straight solution for this. You can create different analysis containing different number of columns and then directing the user to this analysis using Action Links or you can also use View Selector to switch from one view (analysis) to the other. But it's not going to be very flexible nor dynamic.
    J.

  • How to add two columns in criteria(OBIEE 11g)

    Hi,
    I am trying to add two columns in a criteria in obiee
    *"Fact - OLB Processed Invoices"."Invoice Amount - Functional Currency"__"Fact - OLB Processed Invoices"."AR Tax Amount - Invoice Currency"
    but the problem is :-
    The first column have 500000000 and the second column contains NULL values the actual table. I think this might be the problem when I am trying to add them it is giving no output.
    just a blank box.
    Can any one tell me how can we add columns in this condition.
    Thank to one and all.

    Try IFNULL(expr, value)
    for other column
    "Fact - OLB Processed Invoices"."Invoice Amount - Functional Currency"+IFNULL("Fact - OLB Processed Invoices"."AR Tax Amount - Invoice Currency",0)
    Edited by: Srini VEERAVALLI on Mar 20, 2013 10:02 AM

  • Dynamic Column Selector in OBIEE - Solution required

    Hello Experts,
    I am pretty new to OBIEE. Please help me to get OBIEE solution for below requirement.
    I have one 25 column dimension table in database. Created OBIEE .rpd file and published in BI server. Now I need to provide one user interface in which user should be able to chose any number of columns of his choice and he should get record set of those selected columns. Something in my mind is like this.
    I should be providing list of 25 column names with check box to select one or many. Assuming that if user selects Col1, Col3,Col5 and Col7 then he should get the result in excel file with record set of those 4 columns.
    I am using OBIEE 10g.
    Any solution for this is highly appreciated.
    Edited by: user7850154 on Dec 5, 2010 9:22 AM

    user,
    Usually, dynamic column seletor is implemented through "column selector view" available within compund layout of OBIEE Answers.
    But, it does allow you to select only single column rather than multiple columns - which in your case is required.
    J
    -bifacts
    http://www.obinotes.com

  • Column query in OBIEE report?

    Hi to All,
    I have a query regarding the columns in obiee report. Can we create a separate column like (for example: sum of the any two columns or average of two columns) in Report dynamically and add it to the existing RPD. Is it possile?
    Thanks in advance,
    Thenmozhi

    Hi,
    Yes you can. On your physical layer, you can create a logical column, in your BMM. Open your RPD, go to the logical table you want to work with. Right click --> New Object --> Logical Column. In the Column Source tab, select "Derived from existing columns using an expression" and enter your expresion there (you can also use the formula editor).
    I hope this helps.
    J.-

  • Setting column width in OBIEE Answers report

    Hi All,
    Not sure if this has been asked before in the forums, but I did not succeeded in finding any clues. We have an OBIEE 10g Answers table view report that we need to display on our dashboard. The problem is that we need to set some width for all the columns in the report so that report does not extends horizontally as data in column grows but not much luck setting width in Column Properties. Since I am a newbie in the world of OBIEE, so I would appreciate any guidance with setting widths in an Answers report.
    Looking forward to your responses.
    Regards,
    Maria

    Hi,
    The best option to do this is :
    1. Create a report which has less data. And in the column properties hide it.
    2. Edit the Dashboard page and there is an option called 'Add Column'
    3. Place the report with the hidden column.
    4. Please hide the complete section and remove the collapsible. And save it
    5. When you view the report, it would not appear in the page but you can view the desired report.
    Please let me know if you still face issues.
    Regards
    MuRam

  • Multiple column selection in OBIEE 11g

    I have multiple checkboxes each checkbox represent one of measure of my fact table
    Now user wants to select the multiple check boxes to generate a dashboard report on the basis of these selected check boxes.
    Report only show the selected measures how I can do that in OBIEE 11.1.1.5
    Actually I want to generate graph on the basis of selected measures.
    I have created all columns in my report but I show the data only for selected columns when I draw the graph
    All columns’ legend are shown I want to exclude all columns that are not selected so that their legends are also not shown in graph.
    How I can do that.

    user13559093 wrote:
    Hi david,
    I read your post, the one thing i couldn't understand is about dummy column and hiding.
    you told i can a new column and hide that column, but still i could't figured it out.
    so, if possible can you explain me in more detail.
    your help is appreciated.
    Thanks,
    Rahul@Amith, Venkat's blog is not what the user is looking for. It doesn't apply.
    Rahul, did you try what I asked? What specific part of what step did you not know what to do. My steps were detailed so I'm not sure what to "explain" unless you tell me exactly what you didn't get. If you didn't do anything and just want me to explain it again, then I say, do it first. The step-by-step instructions can be followed without "knowing what it's going to do," but when you do it, you'll see what I mean.
    Remember, this is a free forum. You are not paying me to help you so you need to show that you are doing your homework by testing what I say to do. So go back and read the post again and actually do the steps. If you don't know how to do a specifc step, then ask about that.
    This method will solve your requirement, put effort into applying it.

  • Currency conversion does OBIEE do it by default

    Hi,
    Newbie in this area.
    We are trying to build a report/analysis using OBIEE and want to have a column which displays let us say price in different currencies.
    The user changes the currency and the value changes.
    Now after reading a bit noticed that currency prompt will give us this capability with some setup needed.
    The question is are the values for the different currencies already calculated and stored in db or calculated on the fly by OBIEE.
    For eg.
    If I have let us say USD 600 and when it changes to EURO it becomes EUR 400.
    Are both these 400 and 600 values stored in db or OBIEE calculates them when user changes the currency on the report/analysis.
    Thanks
    Chandu.

    Hi Chandu,
    The best way what I think of doing is this is to have calculated columns in RPD for different currencies based on your default currency, include all the different currency coulmns in a column selector and then you may use a column selector to change the currency column to different currency data.
    Better not load the web server with on the fly calculations.
    Hope this helps.
    P.S : Please dont forget to make the reply as helpful or answered if it sorts out your query

  • Breaking a column header in OBIEE

    Hi All,
    I have a very simple issue and I thought I had the work around but not really
    I have a column that reads
    Amount sold and I want to break it as
    Amount
    Sold
    solely because when the reports are downloaded to excel or other formats it makes it easier to read the column names
    I have tried the following
    1.HTML TAG /BR HTML TAG does not work.
    2.Can not use the HARDEN XSS config parameter because of security issues.
    Any tips on how to go about doing this.
    Regards,

    When it comes to exporting OBIEE reports to Excel, there is a very limited amount that you can do. You are not going to find much you can do configuring the OBIEE report to come out the way you want it to in Excel, especially when it comes to formatting. It would be best to simply highlight the row in Excel after download, and turn on "wrap text."
    As you might know, if you "download to Excel" via the Report Links from the dashboard, the actual file will be in mhtml format, not xls. It will open in Excel, but you have to convert it to Excel to make it a true Excel file.
    There are other ways to get an OBI file to Excel.
    Another way is to click on the Advanced tab of the request. Click on the second link from the top and select "Open" in the next pop-up window. After requesting OBIEE credentials (your login and password), it will open up Excel and this time actually produce an Excel file.
    The third way to get an Excel file from OBIEE is to first open Excel. Then click on the "Get External Data from Web." (I'm using Excel 2007 -- you will have to search for this command as Excel doesn't default this option from showing up in the ribbon or menus. I created a shortcut.) When the pop-up window comes up, paste the URL from of the answers report and at the very end, add &Format=Excel to the end. The OBI login screen will appear. Log in. The next window will display your report with a whole bunch of yellow arrows. Select the proper yellow arrow (you'll know what I'm talking about once you try it), and voila, the report will pop in Excel.
    That's about all the (easy) options you have to work with.
    Edited by: David_T on Aug 24, 2010 7:25 AM
    Edited by: David_T on Aug 24, 2010 1:34 PM

  • How to set column width in OBIEE

    hi ,
    I want to set the coumn width in table, my version is obiee 10.
    any one know how adjust the width of column?
    thanks.

    Use column properties->Additional Formatting Options
    and set width 10px or as per your req.
    Pls mark correct/helpful if helps

  • Dynamic Column sorting in OBIEE?

    Hi,
    Does anybody knows how to sort columns dynamically in a report on asc or desc order.Any automatic mechanism.

    Gianluca Ancarani wrote:
    You can use in the RPD (in the Business Model Layer) a specific COLUMN SORT to sort a scecific Logical Column, in this way a column in a report is always sorted, but you have to build the specific COLUMN SORT inside the physical table or in the business model layer.
    See this blog: http://obiee101.blogspot.it/2008/11/obiee-sort-order-column-property.html
    Regards,
    GianlucaI think the user is trying to sort the report based on the Names of the columns rather than the data in a specific column.

Maybe you are looking for