function SUBSTRING OBIEE 11g

Hi I have the following problem:

I have field: 10/10/2014, I need to turn in 2014.

I tried to use the substring like: substring ("field". "field" of 4 to 4) but I give the error message: ""

The formula syntax is not valid.

[nQSError: 10058] A general error occurred. [nQSError: 43113] The message returned by OBIS. [nQSError: 22020] Locate function does not support the types of non-text. (HY000)

How can I turn this type of text? I tried to use the cast function, but it does not work, just on hold.

Please let the front casting apply to string functions because you directly applying the string function under the date column.

Substring (cast ("field". "field" as varchar (20)) of 4 of 4) "

Try this...

Thank you

Prasanna

Tags: Business Intelligence

Similar Questions

  • Convert char to date format in obiee 11g?

    Hello

    I want to convert char to date format in obiee 11g.

    I have this date

    ' 07/31 /' | CAST (YEAR (CURRENT_DATE) AS CHAR)

    I want to change the tank to the date format.

    Please help me,

    Thanks in advance,

    A.Kavya.

    Below him is based on my date format NLS source Oracle database as DD-MON-RR (query on the database - SELECT * > OF nls_database_parameters WHERE the PARAMETER = "NLS_DATE_FORMAT").

    Note that this is not altered by the connection of the RPD pool, which is common.

    If the date that I put together for substrings and Casts a match before it can be LAUNCHED as a DATE. IE 31 July 15 etc.

    Steps to follow:

    -Drag a field to the report, one

    -Change the formula

    -Paste in

    CAST ("31 - Jul -" |) SUBSTRING (CAST ('F_PL_BAL'. ' BUSINESS_DATE ' AS CHAR) FROM 8 TO 2) AS DATE).

    -OK

    -See the results

  • column headers dynamically change the date filter-based selection? in obiee 11g Analytics

    Hello

    I work an analytic of obiee 11g.

    I have my report coulmns five... who are the branch, district, DS, current year, the previous year.

    based on the article on the query filter, column headings change dynamically.

    column headings are current, previous year Yes r;

    current month, previous month;

    current week and the previous week.

    for example, if I select the year 2016.

    column headings are Branch, district, DS, 2016, 2015 will change dynamically in the analytical report...

    Please help me,

    I tried, but I do not have...

    Please help me,

    A.Kavya.

    I'm not really sure what you have, but assuming that you have a command prompt of dashboard with the year of the column, define a variable presentation for this column (pv_year) and then in the report, for the columns you want, set the column as header @{pv_year} and @{pv_year-1}.

    He must pick up the values from the command prompt and dynamically set in the column headers.

  • How to calculate the top 100 in analytical report of obiee 11g?

    Hello

    I am creting report Analytics obiee 11g.

    I plug 5 columns, balance, status of the loan, district loantype.

    I want to display the data from the highest of 5 columns in the analytical report...

    For this report, I would like to add customized lines...

    My requiremt, I want to show the top 100 sales, the total amount outstanding

    and I want to add personal calculation as (total of balances / top 100 outstanding balance) * 100

    Please help me,

    I tried, I don't get.

    Please help me, how calculate these?...

    Thank you and best regards,

    A.Kavya

    Hello Kayva,

    First of all, must be defined, the grade you want, ask yourself, if you want to rank by period, branch etc, so you must use "RANK (according TO SIZE).

    I made a sample with the similar columns you use, please give.

    I've done 4 criteria using 'UNION' (not 'UNION ALL', not 'INTERSTECT', 'LESS'):

    And my results are:

    Check it out:

    1st test:-J' have the sum 187 157 538.57 as the sum of the top 10 projects, the Company (Empresa) and period (Mesanodocum)

    2dont criteria: -check the second line "SumaTotalProyectos" which is the sum total of society in Ene-2015 (January 2015) for all projects. Who is 211 249 318,42

    3 criteria:-check the 187 157 538.57 which is the sum of the top 10 projects

    4 criteria: -which is the percentage of it, 187 157 538.57 / 211 249 318,42 = 88.60%

    How can you put?

    1. allows you to check the criteria 1: the sum of the top 10 projects

    Check the filter of RANK

    2 to check the 2 criteria: total sum of society

    3 to check the 3 criteria: ranking of the sum

    4 to ensure criteria 4: percentage

    Note:

    As you can see I have two projects "columns", I need to get the sum of ranking, for example, you must do a ranking by branch and get the same, has twice this column to your criteria and after it allowed you to exclude.

    Kind regards

  • How to calculate the year last month in obiee 11g?

    Hello

    I want to calculate the year last month in obiee 11g. I tried DB.

    -SELECT TO_CHAR (ADD_MONTHS (SYSDATE,-12), 'YYYYMMDD') FROM DUAL;

    Using the above query, year last month is -"08-01-2015"

    But I want to get the same result using timestampadd() in obiee 11g.

    Please help me,

    Thanks in advance,

    A.Kavya

    Hello

    TIMESTAMPADD (SQL_TSI_YEAR-1, CURRENT_DATE)

  • How to create the logical tables & how to give joints according to obiee 11g?

    Hello

    I have again to obiee 11g. I want to create the logical tables in MDB layer.

    After that I want to give joins according to MDB.

    I don't know, how to create the logical tables and how to give joints according to obiee 11g?

    Please help me.

    Thanks in advance,

    A.Kavya

    Hello

    The new logical table is right click on the MDB itself, for the join you generally in the business model diagram (again right click on objects).

    Maybe it's better if you start from a kind of tutorial to at least have an overview of what is happening where (layer business and physical layer etc.).

    Take a look at what Oracle has available: Oracle BI EE 11 g

    And no doubt, it can be a good start: https://apexapps.oracle.com/pls/apex/f?p=44785:24:0:NO:P24_CONTENT_ID, P24_PREV_PAGE:9787, 2

  • Why do we need to deploy custom in obiee 11g skin?

    Hi all

    Why do we need to deploy custom skins and style in obiee 11g. ?

    I simply copied the new custom skin and style in two places and I could see the new skins under dashboard properties drop-down list. And it works very well as expected.

    Am I missing something through the skin on 'EM. ?

    Kind regards

    Jegou

    Oracle are free to change the content of Oracle_BI1 any time they like when you patch or upgrade.

    Deployment of the skin as a deployment of separate application insulates you against this kind of surprises

  • Is it possible to implement or imitate the "percentage of parent row" feature, planned for PivotTables in obiee 11g, for a table of "normal"?

    Is it possible to set work/MIMC the "percentage of parent row" feature, planned for PivotTables in obiee 11g, for a table of "normal"?

    I'm able to calculate the percentage of parent row in "pivot table". but it's not getting displayed when I see him through graphic.

    Any way to calculate the "percentage of parent of the line" using the normal table and if I can use this column calculated on the chart. really appreciate your response.

    Thank you

    SAI.

    Hi Sai,

    You must be able to calculate the % using "SUM (measure at THE level [, level1, Middle])" to get the total of the top level of your line and to a share of the present value of the total (and * 100.0).

  • master detail in obiee 11g report

    Hello

    I create report master detail in obiee 11g (11.1.1.6.5). I want to use it to navigate from one report when you click on the chart to another report that has tables and graphs in the same dashboard too.

    Can you please how can I do

    Hello!

    You have two options:

    First: Apply channel Interaction. You can click in your master detail report and automatically your second report will change.

    Second: Use action links.

    Look at this link: OBIEE 11 G - master detail | GerardNico.com (BI, OBIEE, data warehouse and OWB)

    Pls mark so useful

  • OBIEE 11g Services error

    Hi Experts,

    I use Oracle database and obiee 11g 11.1.1.7.0 version after having long db 11g connection and start the obiee services but services can not Kiss properly error in Oracle BI Instancecoreapplication and Essbase Serveressbaseserver1,.

    This type of problem in the face of large number of times, but I another solution. I want to talk about a lot of sites but still facing problem so please solve my problem. Below mentioned a mistake...

    MyApps\MDW\instances\instance1\bin > opmnctl status

    Process pending: instance1

    ---------------------------------+--------------------+---------+---------

    IAS-component | process type.     The NEST | status

    ---------------------------------+--------------------+---------+---------

    essbasestudio1 | EssbaseStudio |    4976. Alive

    essbaseserver1 | Essbase |    7552. Init

    coreapplication_obiccs1 | OracleBIClusterCo ~ |    5160. Alive

    coreapplication_obisch1 | OracleBIScheduler ~ |    3944 | Init

    coreapplication_obijh1 | OracleBIJavaHostC ~ |    3948. Alive

    coreapplication_obips1 | OracleBIPresentat ~ |    7796 | Init

    coreapplication_obis1 | OracleBIServerCom ~ |    6576. Init

    Error em:

    Start failed with 2 errors and 0 warnings. Problems reported by:-: instance1, coreapplication. Check the logs for more information

    OPMN.queryProcessStatus failed with the following exception

    Event processing: SEVERE: element Type: BI_INSTANCE, Id of the item: coreapplication, result of the operation: FAILED_TO_STOP, the detailed Message: error stopping at one or more Instance BI components; Please check the server for detailed message log files

    Event processing: SEVERE: element Type: ORACLE_INSTANCE, item Id:-: instance1, result of the operation: FAILED_CONTACTING_OPMN, Me. retail

    Event processing: SEVERE: element Type: BI_INSTANCE, Id of the item: coreapplication, result of the operation: FAILED_TO_START, the detailed Message: error

    Thank you

    I found the solution for the connection failed in RPD (reposiotry)

    The database connected all services to be cuddly but RPD can not able to see the data error occurred and obiee also offline database error has occurred.

    Check the installation of OBIEE for example folder:

    \Oracle_BI1\network\admin\ and tnsname.ora and then open file check the database

    name of the database = obiee my ip = 192.168.0.129 and port 1522 If what that it either in error means please configure and then display the data in the RPD and OBIEE

    OBIEE =

    (DESCRIPTION =

    (ADDRESS_LIST =

    (ADDRESS = (PROTOCOL = TCP) (HOST = 192.168.0.129)(PORT = 1522))

    )

    (CONNECT_DATA =

    (SERVICE_NAME = obiee)

    )

    )

  • OBIEE 11g migration: weblogic user cannot open a session in analytics

    Hello

    We simply migrate obiee 11g successfully from one server to another server.

    but now after the migration we are not able to log into the analytical page with weblogic user.

    This weblogic user is able to connect to the Console and EM, but not in the analytical page.

    Any user can connect to the console, EM and analytics page.

    so far,.

    We tried trobleshooting with the following links,

    1. Weblogic

    2. also tried with deleting user weblogic and yet once created weblogic.

    but no luck.

    Note: I noticed when we migrated the users and roles from one server to another, then the user weblogic worked very well, could even connect to the Analytics page.

    But as soon as we have migrated and deployed RPD, only since then, while we are facing this problem.

    have idea on this.

    TIA

    Refresh GUID will help u here

  • Is it possible to use the default value as sql expression in obiee 11g report?

    Hi all

    Is it possible to use the default value as sql expression in obiee 11g report?. Actually what I'm trying to make is that we send an ibot users. They want the same default values that are assigned in the command prompt in the report. So when we send the ibot it shows the report for default values assigned in the report criteria which is obsolute. As a solution, I kept the report in a dashboard page and send the dashboard like ibot page. But the problem here is that I can send only pdf format. Is it possible to do so at the level of the report (without using session variables). I want something like that

    Date between Date ' @{PV1} {Timestampadd (SQL_TSI_DAY,-90, CURRENT_DATE)} and Date ' @{PV2} {CURRENT_DATE}

    Thanks in advance

    Thank you

    AJ

    http://www.w3.org/2001/XMLSchema-instance"container ="http://www.w3.org/2001/XMLSchema"xmlVersion ="201201160' xmlns:sawx="com.siebel.analytics.web/expression/v1.1" > "

    "Question time '." Date '.

    "Question time '." Date '.

    BOX WHEN (DAYOFWEEK (cast (max (CURRENT_DATE) date)) = 1) THEN TIMESTAMPADD (SQL_TSI_DAY,-2, cast (max (CURRENT_DATE) as date)) WHEN (DAYOFWEEK (cast (max (CURRENT_DATE) date)) = 2) THEN TIMESTAMPADD (SQL_TSI_DAY,-3, cast (max (CURRENT_DATE) as date)) WHEN (DAYOFWEEK (cast (max (CURRENT_DATE) date)) = 3) THEN TIMESTAMPADD (SQL_TSI_DAY,-4, cast (max (CURRENT_DATE) as date)) WHEN (DAYOFWEEK (cast (max (CURRENT_DATE) date)) = 4) THEN TIMESTAMPADD (SQL_TSI_DAY-5 (, cast (max (CURRENT_DATE) date)) WHEN (DAYOFWEEK (cast (max (CURRENT_DATE) date)) = 5) THEN TIMESTAMPADD (SQL_TSI_DAY,-6, cast (max (CURRENT_DATE) as date)) WHEN (DAYOFWEEK (cast (max (CURRENT_DATE) date)) = 6) THEN TIMESTAMPADD (SQL_TSI_DAY, 0, cast (max (CURRENT_DATE) as date)) WHEN (DAYOFWEEK (cast (max (CURRENT_DATE) date)) = 7) THEN TIMESTAMPADD (SQL_TSI_DAY-1, cast (max (CURRENT_DATE) date)) END

  • How to remove the scroll bar in the view table obiee 11g

    Hello

    How to remove the scroll bar in the view table obiee 11g other than TNA config.

    Thank you

    In 11.1.1.7 you can change it in the table's properties. By default, it will be

    "Fixed headers with active scroll.

    To take

    "Pagination of the content" and check

    Thank you

    AJ

  • Padding in OBIEE 11g


    Hello

    can we touch the characters in a string in obiee 11g?

    How to reach the underside of SQL in OBIEE 11 g?

    LPAD ('112236', 6, 0)

    Thank you

    prassu

    I reached my requirement with the custom properties of column size...

  • MSAD password change will reflect in obiee 11g?

    Hi gurus,

    I'm integrating MSAD to be the primary authenticator in obiee 11g. I was wondering if I change my password in the AD, I'll be able to connect with the changed password or would I need to refresh something on the end OBIEE to pick up this new password? I have to enable SSO for whom? I couldn't find relevant documents.

    Thank you

    Dan

    Yes. No change required to the side bi.

    I referred to the AD integration, make sure that that does not change frequently

Maybe you are looking for

  • Older A1138 Office do not restart after software update?

    I have worked on an old Mac Office since last night, think that the owner said it is a model of A1138, do not see anything in the associated model anywhere on the unit. The OSX Snow Leopard loaded very well so I ran the software update, but after tha

  • Link is not not mail how do I delete mail should be sent in Outlook Express

    I tried to answer an add we mwt.net , but mail is returned. He is always on my mailing list and always returns to be sent again. It is on Outlook Express. It continues to be a mistake in my email system. I want to remove it.

  • Boot Up error 0xc0000034 - cannot start windows

    I'm back from work yesterday and found my laptop displays a black screen, saying that "windows couldn't start. A recent hardware or software change might be the cause"and repair using the windows installation disc 7. However, windows was preinstalled

  • SensMe Playlist went after update

    The sensme music playlist went after update to 6.0 Marshmallow. Does anyone know how to fix this?

  • I can't turn my computer desk in a "WiFi Hotspot"

    My computer, a desktop HP Windows 7 64 bit Home Premium computer, doesn't have the option "Set up a Wi - Fi connection" in the "network and sharing Center." Various videos that I looked and the articles I've read all have this classified as option 5