IFNULL OBIEE 11.1.1.5

I am trying to replace a column null 'n/a', and I know it's a different data format, but it's what the customer is asking.

That's what I use: IFNULL ("COLUMN," n/a ")

That's what I have: State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000]
[nQSError: 10058] A general error occurred. [nQSError: 43113] Message
returned by OBIS. [nQSError: 43119] Query Failed: [nQSError: 59021] CASE
conditional expressions have correspond to data types. (HY000)

If I use a '0' instead of n/d, it works.  Is there a way to get around this?

He mistakes in the RPD as well when I use it.

Hello

try to cast() column in the required format. If it's number and you want to use "S/o" then try to use cast (COLUMN as CHAR).

something like: ifnull (cast (char type COLUMN), "N/a"). I hope it should work.

Kind regards

KN

Tags: Business Intelligence

Similar Questions

  • BI Publisher data model / query question

    Hello

    I'm designing a report of BI Publisher where I need to show negative numbers in red. I'm perfectly fine with the help of the conditional formatting to do this (just using the default value is conditional formatting in the add-in in MS Word, that generates code like this:)

    <? If: number(Cost_-_MTD) < 0? > <? attribute@InContext:color;' Red '? > <? end if? >

    BUT...

    I have columns returning who sometimes have a NULL value in them, and when they have the value NULL, it causes the foregoing to the pipe upwards. So I thought, 'I'll just add IfNull() in queries defined in the model data, and who will take care of the problem... "

    that works - a little. Now, my problem is if I have to go back and change the query for some reason, I get an error "query cannot be parsed, please modify the query manually. I really don't want to do that, I wish that other developers do NOT have to manually change the queries.

    So my question is - is it possible to add in the IfNull() directly in the query designer, so it should not be changed manually from that moment?

    p.s. using IfNull OBIEE server as our data source.

    Thanks in advance,
    Scott

    I don't think there is a way to add the ifnull condition in the query designer. So, you will need to manually change the query...

    In your model so you can add additional control like this:
    <0?>...

    Thank you!

    Published by: BIPuser on Sep 17, 2010 09:20

  • column formula logic repository obiee

    Hi all

    I am creating a logical column using below three physical columns

    I am providing the column values;

    total of accounts receivable (data type: double) = 21476.15

    tot_bill_M (data type: double) = 3276.03

    tot_bill_M_1 (data type: double) = 18200.12


    When case (ifnull (total receivables, 0)-ifnull (tot_bill_M, 0) -ifnull (tot_bill_M_1, 0)) < = 0, 0, another condition to achieve


    but here the first condition less than or equal to 0 should be has been reached and should publish as 0 in obiee reports.


    But here, it goes to the second step of calculation.


    is there anyway we can do this?


    Why not add a TOUR around your measurements to make sure do them the same "accuracy"? Do not round to a higher accuracy than you display or 1 more and you'll most likely get a match.

    And also look at the SQL generated physical because at least you are 100% of what you need to do to get the digits of your correspondents.

  • OBIEE - (real - Plan) calculation

    Hello

    I have a simple question about OBIEE.

    I use Obiee with Essbase and I have a simple calculation to calculate (real - Plan) data.

    FILTER ("SalesFlat". "With the HELP of sales' 'scenario'". "" Gen2, scenario' = 'Real') - FILTER ("SalesFlat". "With the HELP of sales' 'scenario'". "" Gen2, scenario' is 'Plan')

    It works fine if I have actual spending and Plan data. However, if the value (actual or Plan) is missing, obiee gives null.

    It works if I use a CASE statement or formula direct essbase.

    Any suggestion is appreciated.

    Thank you

    Sam.

    Ifnull function to set the value 0 when it is null.

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

    Hello

    I try to add two columns in a criterion of obiee

    * "Done - OLB processed invoices. "" Invoice amount - currency "__" made - OLB processed invoices "." " The amount of taxes AR - billing currency"

    but the problem is:-
    The first column have 500000000 and the second column contains some NULL values from the table. I think that this could be the problem when I try to add that it gives no output.
    just an empty box.

    Can someone tell me how we can add columns in this State.

    Thank you to each and every one.

    Try IFNULL (expr, value)
    for the other columns

    "Done - OLB processed invoices". " Charge the amount - currency "+ IFNULL (" made - OLB processed invoices "". ")" AR tax - currency billing", 0)

    Published by: Srini VIEREN on March 20, 2013 10:02

  • Sort in OBIEE answers - Desc Nulls last

    I want to sort Desc on a column of answers, but want NULLS last. Where can I put it?

    For example, I can write SQL
    Select * from T1 by c2 Nulls first;
    Nulls last is the default behavior in Oracle SQL

    However, via OBIEE answers, I see when I use DESC Nulls are on top, they melt.
    Where should I put it?

    Hi shyamvaran,

    What is the value of the parameter 'NULL_VALUES_SORT_FIRST' in your NQSConfig.INI file? By default it is off. Which is probably what your seeing i.e. If NULL values are, you sort in descending order, then you expect to see first NULL values.

    If you want that null values finally appears when sorting in descending order, then on the above setting IT and bounce your services. That should take care of you.

    Otherwise, you can do a work around. Create a column in your report. This is the formula the value IFNULL (C2, 'aaaaaaaaaaa'). This way it'll be first in alphabetical order is modified in descending order. Set this descending sort column and then set it to hidden. It must sort your report in the order you want, and it should be hidden from view.

    Good luck and if you found this post useful, please give points!

    Best regards

    -Joe

  • OBIEE 11.1.1.9.0 - Application version 506 URL example

    Hello

    Is there a version running online of the OBIEE 11.1.1.9.0 - Sample Application version 506 , I want to demonstrate some business functions.


    Check this OBIEE V506 samples

    or

    http://slc02ojq.Oracle.com:7780/Analytics/saw.dll?bieehome

  • BI publisher integrated with OBIEE?

    Dear Experts,




    oracle.xdo.servlet.security.AdminUser cannot be cast to oracle.xdo.servlet.security.DirectoryUser


    BI publisher integrated with OBIEE, but I use security as a guarantee of Bi Publisher.

    I created a role in the bi Publisher and trying to assign the report, but it shows the above mentioned error.

    Can use us the Editor while only integrated with OBIEE bi security?


    Thanks in advance!





    Hello Vinay,

    You can't use template security BI Publisher when the BEEP is integrated with OBIEE. You must use the Oracle Fusion Middleware security model in this case because OBIEE manages access. Security model BI Publisher can be used when you use a Simple installation, no installation of the company. To create the roles when you use Oracle Fusion Middleware I recommend you follow our manual steps: http://docs.oracle.com/cd/E28280_01/bi.1111/e22255/config_sec.htm#BIPAD132

    BR,

    Liviu

  • OBIEE 12 c on AIX 7.1 installation

    I get the error when you run the tool to configuration below:

    I am running AIX 7.1 and 12 DB c with 1 bps. Any help?

    [2016 02-14 T 13: 44:52.048 - 06:00] [bi] [NOTIFICATION] [] [oracle.bi.install.config.basesteps] [tid: 62] [ecid: 0000LBXH ^ Eb4Ax ^ _xT1FiW1MkDP9000004, 0] Failed shooting step: Add the service instance by default with: oracle.bi.bar.si.exception.ServiceInstanceLifeCycleException: failure in the management of all the managers during import service instance.

    [2016 02-14 T 13: 44:52.049 - 06:00] [bi] [ERROR] [] [oracle.bi.install.config.actions] [tid: 62] [ecid: 0000LBXH ^ Eb4Ax ^ _xT1FiW1MkDP9000004, 0] Non-sautees failed during the action of configuration: oracle.bi.bar.si.exception.ServiceInstanceLifeCycleException: failure in the management of all the managers during import service instance. [[

    java.lang.RuntimeException: oracle.bi.bar.si.exception.ServiceInstanceLifeCycleException: failure in the management of all the managers during import service instance.

    at oracle.bi.servicelcm.metadata.BARMetadataPlugin.createServiceInstance(BARMetadataPlugin.java:109)

    at oracle.bi.servicelcm.BIServiceInstanceManager.createServiceInstance(BIServiceInstanceManager.java:286)

    at oracle.bi.install.config.steps.application.AddDefaultServiceInstanceStep.createServiceInstance(AddDefaultServiceInstanceStep.java:113)

    at oracle.bi.install.config.steps.application.AddDefaultServiceInstanceStep.executeSingleShot(AddDefaultServiceInstanceStep.java:73)

    at oracle.bi.install.config.basesteps.SingleShotActionStep.execute(SingleShotActionStep.java:32)

    at oracle.bi.install.config.basesteps.StepList.execute(StepList.java:85)

    at oracle.bi.install.config.actions.BIConfigAction.doExecute(BIConfigAction.java:129)

    at oracle.as.install.engine.modules.configuration.client.ConfigAction.execute(ConfigAction.java:405)

    at oracle.as.install.engine.modules.configuration.action.TaskPerformer.run(TaskPerformer.java:88)

    at oracle.as.install.engine.modules.configuration.action.TaskPerformer.startConfigAction(TaskPerformer.java:108)

    at oracle.as.install.engine.modules.configuration.action.ActionRequest.perform(ActionRequest.java:15)

    at oracle.as.install.engine.modules.configuration.action.RequestQueue.performSequentialExecution(RequestQueue.java:284)

    at oracle.as.install.engine.modules.configuration.action.RequestQueue.perform(RequestQueue.java:260)

    at oracle.as.install.engine.modules.configuration.standard.StandardConfigActionManager.start(StandardConfigActionManager.java:185)

    at oracle.as.install.engine.modules.configuration.boot.ConfigurationExtension.kickstart(ConfigurationExtension.java:82)

    at oracle.as.install.engine.modules.configuration.ConfigurationModule.run(ConfigurationModule.java:87)

    at java.lang.Thread.run(Thread.java:785)

    Caused by: oracle.bi.bar.si.exception.ServiceInstanceLifeCycleException: failure in the management of all the managers during import service instance.

    at oracle.bi.bar.si.ServiceInstanceLifeCycleImpl.importServiceInstance(ServiceInstanceLifeCycleImpl.java:399)

    at oracle.bi.servicelcm.metadata.BARMetadataPlugin.createServiceInstance(BARMetadataPlugin.java:106)

    ... 16 more

    First fix for this:

    unset ORACLE_HOME before running for OBIEE 12 c configuration wizard.

    Another option is to install without the application of sampleLite.

    Ensure that the language game is another OBIS EN_US-UTF-8 will not start

  • OBIEE 12 c - can't see application roles in Identity Manager (online mode)

    We would be able to see Application roles in Identity Manager when it is connected to the repository in online mode?  11 g, after the opening of management > identity, there is an option of Action > Synchronize Application roles.  That option is absent in 12 c.  I don't see any application roles in Identity Manager dialog box.

    I faced this problem in obiee 11g and open a Service request to the support.oracle.com. I got a solution less than an hour. (It was a bug and he suggested me to install a small patch)

    Maybe you could do the same for your problem.

  • Essbase Calculated Member retreival OBIEE reporting takes time

    Hello

    My OBIEE version is 11.1.1.7.0 years have a cube ASO in Essbase 11.1.2 as my source.

    There is a calculated member ASO which retreival in reports is time consuming.

    Optimization measures proposed to reduce the wait times in OBIEE.

    PS - We have integration Hyperion OBIEE in place already.

    The heads-up on the improvement of the performance would be a great help.

    Thank you

    Hello Sam,.

    OBIEE has many ways optimized:

    1. you can use the OBIEE cache management, hitting the first time the ESSBASE CUBE and the second time the OBIEE hit the cache, it improve your processing time.

    2. in your maybe views that you have limited the main information, I mean, OBIEE is a web application bi and if you try to pretend to get a lot of lines, this might give you some problems, as a work around you could limit your opinion, in your 'LINES PER PAGE' properties, and as a work around if you want to get a large amount of data that you download it.

    2. If points 1 and 2 shall not apply to your needs, perhaps to think, to use the cache of essbase optimization

    https://docs.Oracle.com/CD/E12825_01/EPM.111/esb_dbag/frameset.htm?dstcache.htm

    Hope this helps.

    Kind regards

  • Need access to tables 11g 11.1.1.7.0 OBIEE on mobile phones and tablets

    Hi all

    We have a requirement to allow users to view dashboards built in 11.1.1.7.0 on phones and tablets.

    Can you please let us know the configuration below appropriate to get to this.

    We need to build dashboards to be built again?

    Thank you

    Hello

    So, if you want to start you setting reports for mobile or tablets.

    You should enable the option of mobile application, how can you do that?

    1. you must apply a hotfix to an OBIEE:

    "BI Mobile App Designer is now available as a patch for Oracle Business Intelligence Suite Enterprise Edition, version 11.1.1.7.1. [patch number 17220944 to support.oracle.com] »

    2. When you got the enable Mobile Application, you must create your report with "BI Modila App".

    3. you have to set this link in your mobile phone, checking the connection to. layout

    http://docs.Oracle.com/CD/E21764_01/bi.1111/e10544/bimobile.htm#BIEUG11339

    Note: Also, you have this guide on how to create apps with Oracle BI Mobile App Designer

    Kind regards

  • OBIEE 11 g gauge empty

    Hi all

    Version -Oracle Business Intelligence Product Version 11.1.1.7.150120 (150111.1659 64-bit Build)

    Our report OBIEE gauge is empty all of a sudden with the same threshold/formulas as in the dev environment.

    I checked all the formulas. Everything is exactly the same in dev/uat. What could be the reasons for the gauge UAT empty?

    DEV.png

    UAT:

    UAT.png

    Thank you

    R

    Thank you. ! I solved my self. background color on the back should be white.

  • Connect OBIEE Admintool to hive: problems with ODBC. Any option?

    We are facing a blocking problem when you try to connect to an instance of hive Admintool using an ODBC driver.

    For a CEP, we are trying to set up a domain of hive to analyze in OBIEE. Everything seems to work OK

    until we try to load the metadata. In this case, the schema is found but not table under him. We can add the

    Physics of table by hand, and then we can successfully launch the number of lines. We then try to load the lines, but to

    the point that we have faced a strange behavior. But summarize the steps we have taken.

    (1) we downloaded ODBC drivers to connect to the hive (we tried with Hortonworks, Cloudera, Microsoft and)

    MapR, but the results are the same);

    (2) we have set up the connection to the hive on port 10000 and successfully run the ODBC test (BTW: to)

    SQLDeveloper we can connect to the same server via the JDBC driver and query the tables here);

    (3) then we start Admintool. Once we have defined the name and the password, we then select the ODBC connection.

    in fact there aren't strictly necessary user name and password, but we offer them anyway;

    (4) the next step is to load the metadata; and here is the first issue, because we can see the patterns but not

    the tables.

    Connection_OBIEE_BigData.PNG

    (5) anyway we are going on and insert a schema (we read there could be problems with more than one schema, then)

    We simply select one); in a blog (by Rittman, who really is 'THE' guru OBIEE) it is said that the tables are not

    loading directly, so we tried simply adding a physical table in the physical layer as the default schema.

    making sure the table exists;

    (6) once we have added 'physically' table that we proceed with the number of lines; and we get correctly the number of

    ranks once we overview the name of table after that;

    (7) then we try to retrieve the lines and the question; We get the following error message:

    ErroreSQL.PNG

    We also dug a bit little and concluded that the request received by hive instead of being

    SELECT * FROM trucks

    it becomes

    SELECT FROM trucks

    If the ' *' is passed to the SQL statement sent. If we run the same query on the Beehive, we get

    exactly the same exception ParseException error, it really seems that there is a problem in the

    construction of the SQL statement.

    Any idea about this problem? (if a fix exists, because after so many attempts, we are convinced

    This is a bug that can only be fixed by a new version of Admintool)

    BTW: we have tried almost all the possible options for the ODBC driver (such as 'native of use request',

    ("Use Unicode" and so on) and in regards to the Admintool, we have not seen what option

    or preferably (at the physical layer) can influence this anomaly.

    Any help is really, really appreciated. Thanks in advance.

    OK, I got what you're saying. I mean, to focus on the bigger picture. If you can make a data view or list Table to import metadata is a bit unrelated to the final goal. Annoying, but irrelevant. What you try to do, is get OBIEE to build queries dynamic SQL based on the logical requests which will submit your users via presentation against the presentation layer Services.

    Continue to build your SPR (ignorant that display data does not work) at a very simple level, with a single fact/Sun in the business model, single domain - and then run an appropriate query generated in answers through it. The point of all this is to see how OBIEE SQL query then generates, and if it's worth a one hive.

  • OBIEE for EBS R12.2.4

    Hi all

    There the OBIEE for R12.2 EBS?

    Is OBIEE apps dba or developers?

    Kind regars,

    JC

    Scalability, performance and functionality of discoverer have serious limitations.

    OBIEE is much better than discoverer in all directions.

    11.1.1.9 and 12.2.1.0.0 are certified with 12.2.4.

    I recommend you to go to 12 c, you'll have better integration goes forward with 12,2 EBS.

Maybe you are looking for