OBIEE 11.1.1.6.2 repository of BP1 Variable data type

I have a few created dynamic DATE variables that retrieves date values in a table. In the table, the data type of this field is an INTEGER.

But at the start of the server, all date variables are initialized with .0d added in the end. Like 2012,0 etc.

Please provide some guidance!

Thank you
KC

Published by: 959902 on October 30, 2012 08:26

Of course, we can do that.
Your substring should not be bulk init, it suppose to be where you reference variable rep.
In the command prompt to set the default values use the query sql, something like

SELECT time. ' ' Month ' where 'HIS' Time. "Year"= Substring (VALUEOF ("PREVIOUS_MONTH") FROM 1 to 4)

If brand can help pls ;)

Tags: Business Intelligence

Similar Questions

  • How to handle the data type DECIMAL MySQL converted to DOUBLE in OBIEE 10 gR 3?

    Hi all

    I have a problem in OBIEE 10g to I use the MySQL database as datasource direct to the server of the OBI and I have a column in a MySQL table which was designed as the DECIMAL data type (18.0).
    This column is used to measure a length, and values are included in seconds (without decimals), in the form as:
    "1200"
    in the MySQL database.

    After the import of the MySQL table associated with the repository of the OBI, the OBIEE converts the DECIMAL data type column to the DOUBLE PRECISION data type automatically.

    My goal is to reach the values in this form, certainly in the sense of the term (not at the time!):
    hh mm ss

    In order to accomplish, I tried to change the format of column with the ROUND function:
    ROUND (db.table.column / * 3600 * 2)

    The problem is that it doesn't work well if values can be divided with no rest for example
    original value: 7200
    new value (ROUND): 2

    In the case of my example:
    original value: 1200
    new value (ROUND): 0
    It's false, because 1200 seconds are not equal to 0 hours, I want to see two hours of _0.33333_ OR I much prefer more _0 hour 20 m_

    Anyone have any ideas?
    I tried to make a view of database and importing that type of CHAR data in the database, but is not the solution too, because if I filter BI app or try to make a SUM the BI would drop errors...

    Kind regards
    Laszlo

    Hello
    SE refer to this link, it is exactly will meet your need.

    OBIEE 11 g - change seconds in the format hh: mm: DD
    OBIEE functions

    Share updates... :)

    check if useful/correct...

  • The use of the repository variable date in filter expression

    Hi gurus

    I get the error using repository variable date in filter expression. I use the formula below

    filter (with the HELP of Fact.calls"Sun Time".) ("' Fiscal months end date" = VALUEOF ("month_start"))

    I am getting below error

    The formula syntax is not valid.
    [nQSError: 10058] A general error occurred. [nQSError: 43113] The message returned by OBIS. [nQSError: 22024] A comparison is performed between incompatible types. (HY000)
    Publ. SQL: SELECT filter (fact. Calls by using "Sun Time" ". Fiscal months end date"= VALUEOF ("month_start")) 'call DATA.

    Then I tried the below format I still get the error

    filter (with the HELP of Fact.calls"Sun Time".) "" Fiscal month end date "= DATE'(VALUEOF ("month_start"))") "

    The formula syntax is not valid.

    [nQSError: 10058] A general error occurred. [nQSError: 43113] The message returned by OBIS. [nQSError: 46047] DateTime (VALUEOF("month_start")) (VALUEOF("month_start")) value does not match the specified format. (HY000)

    Publ. SQL: SELECT filter (using "Sun Time" Fact.Calls. ("' Fiscal months end date" = DATE '(VALUEOF ("month_start"))') 'call DATA.

    Please let me know what I'm missing or what is the correct syntax of same using the repository of date variable.

    Thanks in advance

    Concerning

    @li

    filter (with the HELP of Fact.calls"Sun Time".) ("' Fiscal months end Date" = CAST (VALUEOF ("month_start") date))

    Try this

    mark, if this can help

  • Data types of OBIEE.

    Hi all,

    Could someone tell me the different types of data in OBIEE?

    Thanks in advance,
    Stephanie.

    Hi Julie,.

    Here are the data types supported in OBIEE:

    CHARACTER, VARCHAR, INTEGER, FLOAT, SMALLINT, DOUBLE PRECISION, DATE, TIME, TIMESTAMP, LITTLE, LITTLE VARIANT

    Kind regards
    Arul

  • OBIEE - new view just created. Instant results in 'view data' - slow responses

    Hello

    I created a view of a table with a long data type, so a function has been used to convert to varchar type. When I execute a select statement with this in Toad or query tool results come back instantly, and when I press 'View data' in obiee they show in 3 seconds. Then I created an answer and put the two columns in the view of the report and he ran so he comes to see the columns. There are 30 000 REB. It takes five minutes to list them. Is it possible to get it to run faster please?

    I'm actually just simply wanting to calculate the sum on them, but this takes 5 minutes also. I expected to just list people instantly well.

    Any ideas please?

    Kind regards
    Hilary.

    Hi hilary,

    Have you used this datbase opinion that has been created in RPD in the physical layer by accessing the properties of the table and use SQL and write your review.

    Apply a guest on one of the attributes of your report, so you can filter the data in it and you will get less data out of it that gets you in no time.

    If the answer scores points for all your discussions. Its label of forum and it would be useful to others.

    See you soon,.
    KK

    Published by: Kranthi.K on April 19, 2011 05:15

  • OBIEE retro-design to go from SQL Server to a data warehouse

    Hello
    I am new to modeling for data warehouses. We currently have an OBIEE environment put in place where the source of data was the transactional tables in SQL Server. The SQL Server data should be moved to a warehouse of data non-Oracle and I need to produce a logical data model for the people of my company warehouse. Unfortunately, the SQL Server data is never copied, so I based the model from the logical and physical of OBIEE diagram/relationships.
    My question is in what concerns the validity of the following relationships to be used in a data warehouse based on what is currently in OBIEE. When I have this model through Erwin, I wonder if I'm away from base in relationships (modeling, don't not personal):

    Dimension 1 has a 0:M with axis 2
    Dimension 1 has a 0:M with 3 Dimesion
    Dimension 2 has a 0:M with 3 Dimension
    Dimension 2 and 3 Dimension have a 0:M with 1 fact

    Through the use of pseudonyms and others, this works in OBIEE. Will this work as a model of data in a data warehouse environment?

    Thank you!

    I think that you started with the wrong foot. I suggest search you Google 'kimball methodology' and have a reading a few articles. Your DWH model should not be based on your transactional tables. You should ask your business users 'questions' they want to answer in the DWH. Then model your DWH base on it. You cannot model a DWH without knowing what questions you must answer. For example, if your users want to know the sales per day and per branch will be a fact of sales with a sales volume measure joining two dimension of branch and time dimensions. The number of facts will depend on the questions you need to answer, the data type, and the granularity of them.

  • Is OBIEE 12 c - possible to upgrade repository 11g patterns?

    Hi people,

    What I've read, it seems you need create new patterns, and I thought that's where the Planner data were maintained in version 11. Is there a way to update patterns in place? I am clearly missing something here.  I am referring to the DEV_BIPLATFORM, patterns etc. DEV_MDS.

    Thank you very much

    -Adam

    They are. All upgrades of 12 c are entirely "out of place" it not there no upgrade in-place-la from 11 g to 12 c. If you want to move the data, you must do it yourself.

  • How to change repository of Datetime to date variable

    Hello

    I have a variable of repository that fills the sysdate in OBIEE. It comes as datetimestamp. I know that reference variables are long tank.

    I use this variable in the title of the report. It comes as datetimestamp.

    Is it just Ant way show as the date.

    Let me know...

    Thank you

    V

    TO_DATE function?

  • OBIEE 11.1.1.6.6 - analysis shows the two dates instead of a guest

    Hi all

    my analysis shows somehow the two dates instead of a guest.

    How can it be?

    Tell me please what additional information should I include for you to help me.

    OBIEE 11.1.1.6.6

    UPD: prompt screenshots

    http://Marchello.CCX-grads.org/IMG/BI_prompt_001.PNG

    http://Marchello.CCX-grads.org/IMG/BI_prompt_002.PNG

    I started to use the dashboard to display analysis, now issue additional date disappeared.

  • OBIEE Mapviewer 11.1.1.7.1 cannot change the data source

    Hi all

    I am trying to configure mapviewer on our environment and after

    by clicking on configuration

    Add the DB details

    Save & Restart is updated the file xml but not displayed on the data source tab.

    But where as the other details of DB, I am able to add without problem, then if I click on change by selecting the data source to add/edit the details required to DB I get following error.

    Source of data editing is not yet supported. However, you can delete and re-create it with the new settings.

    and on the Management tab is not showing me any option to add the new source of data manually.

    someone has encountered this problem before. TIA

    Maybe the connection details are wrong, you see something in the Map Viewer logs files?

    under FMW_HOME/Oracle_BI1/bifoundation/jee/mapviewer.ear/web.war/WEB-INF/log/mapviewer.log

  • ORA-00932: inconsistent data types: expected DATE receipt NUMBER to call OIC OCIStmtExecute OBIEE 11g

    Hi friends,

    I get this error: ORA-00932: inconsistent data types: expected DATE got the NUMBER to the call of the OIC OCIStmtExecute when I'm putting the filter on the date column condition.

    "Sun Time". " Day' < = cast (MAX ("Sun time" "." ")) Date day")) and"Sun Time ". "' Day ' > = TIMESTAMPADD (SQL_TSI_MONTH,-1, cast (MAX ("Sun time".) "Day") as date). "

    I sank the date max, but if I get the above error. I think max (date) creates the problem.

    Please suggest your opinion on that.

    Thank you.

    Thank you for your suggestions.

    I used the variable, and it helped.

    "Sun Time". " Date' <= valueof(maxdate)="" and="" "dim-time"."date"="">= TIMESTAMPADD (SQL_TSI_MONTH-1, VALUEOF (Maxdate))

  • OBIEE 11 g: a master event / adjustable detail a Variable presentation?

    Hello world

    Is it possible for a master detail event update a variable presentation?

    -= Joe

    Hey Joe,

    I think that 'Master-Detail' event impossible to define a variable presentation for these reasons (can there be such a thing as)

    1 variable presentation by definition can be defined by a "prompt dashboard.

    2. a set of presentation on the scope of all reports where as "master / detail" event is for a report.

    3. "Master-Detail" event is for a point of view of a report to meet the selections in other views of the same report.

    I hope this helps.

    Thank you
    Diakité

  • One-to-many relationship repository

    Hello.

    When a repository item have a data type = "list" and a type of COMPONENT-component-, is there a way to remove the items referenced all when calling the Set accessor for the list?

    Because we have to replace the entire list and we do not want to keep the old data.

    I see two ways to possibly go about,

    First of all, as you substitute completely the list of itemdescriptor property, so when you set the listproperty for itemdescriptor in your code, first delete this list (which would be a component item type) put cascade = remove its property that is referenced in xml format, and then create the list with the values you want and that you assign this list to your itemdescriptor listproperty

    http://docs.Oracle.com/CD/E41069_01/platform.11-0/ATGRepositoryGuide/HTML/s0610cascadedelete01.html

    Another approach I can think in case you do not want delete listtype property is that you can use the type of consumer or the custom property for list of property and override the method for this property setPropertyValue.

    http://docs.Oracle.com/CD/E41069_01/platform.11-0/ATGRepositoryGuide/HTML/s0715userdefinedpropertytypes01.html

    in thing first method setPropertyvalue you can do is get all referenced items associated with this particular list item from the repository id, it is possible via Reposiory query, and then delete the referenced articles and then call the super.setPropertyValue method to set the new values in this listproperty.

  • The error Table event

    I've implemented the event to OBIEE 10.1.3.4.1 table and I am facing this error:

    2011-09-02 12:04:58
    [55004] operation failed to prepare election table UET.
    2011-09-02 12:04:58
    [nQSError: 22005] Metadata repository: column has no data type.
    2011-09-02 12:04:58
    [55005] cache vote delete statement failed for table UET.


    My connection pool use OIC 10 g/11 and table was imported using BEAK too. After reading in a blog about the differences between the code imported by ODBC, I made the necessary changes (.) Now, my code is that:

    DECLARE the "Cache Control" TABLE... "" POET ". "" "UET" AS "UET" UPGRADE DOESN'T ID NOT CACHEABLE 449075 HIDE EVENT TABLE SURVEY FREQUENCY 300 NO INTERSECTION ROW COUNT LAST UPDATE 8.000000 ' 2011-09-01 12:53:24.
    PRIVILEGES (READ);
    DECLARE the COLUMN "Cache Control"... "" POET ". «UET ".» "" UPDATETYPE ' AS 'UPDATETYPE' ID TO UPGRADE 450774 PRECISION SCALE 15 0 'DOUBLE' TYPE NON NULLABLE
    PRIVILEGES (READ);
    DECLARE the COLUMN "Cache Control"... "" POET ". «UET ".» "" UPDATETIME "AS"UPDATETIME"450775"DATETIME"UPGRADE ID BALANCE 0 0 TYPE NOT NULLABLE
    PRIVILEGES (READ);
    DECLARE the COLUMN "Cache Control"... "" POET ". «UET ".» "" DBNAME "LIKE"DBNAME"ID UPGRADE 450776 TYPE 'CHAR' A BALANCE 40 0 NULLABLE
    PRIVILEGES (READ);
    DECLARE the COLUMN "Cache Control"... "" POET ". «UET ".» "' CATALOGNAME ' AS 'CATALOGNAME' 450777 TYPE"VARCHAR"UPGRADE ID BALANCE 40 0 NULLABLE
    PRIVILEGES (READ);
    DECLARE the COLUMN "Cache Control"... "" POET ". «UET ".» "" SCHEMANAME "AS"SCHEMANAME"450778 TYPE"VARCHAR"UPGRADE ID BALANCE 40 0 NULLABLE
    PRIVILEGES (READ);
    DECLARE the COLUMN "Cache Control"... "" POET ". «UET ".» "' TABLENAME ' LIKE 'TABLENAME' 450779 TYPE"VARCHAR"UPGRADE ID BALANCE PRECISION 40 0 NOT NULLABLE
    PRIVILEGES (READ);
    DECLARE the COLUMN "Cache Control"... "" POET ". «UET ".» "' OTHER ' AS 'OTHER' UPGRADE 'VARCHAR' TYPE 450780 ID BALANCE 80 0 NULLABLE
    PRIVILEGES (READ);


    I have already connected the database having the same user connection pool and I could insert and delete records.

    My database structure is that:

    Name DEFAULT Nullable Type
    UPDATETYPE NUMBER N 1
    UPDATETIME DATE N SYSDATE
    DBNAME 40 Y
    CATALOGNAME VARCHAR2 (40) Y
    SCHEMANAME VARCHAR2 (40) Y
    TABLENAME VARCHAR2 (40) N
    ANOTHER VARCHAR2 (80) Y


    No idea what could be the problem?

    Thank you

    Hello

    It could be a problem with the schema of the table, run ddl OracleBI\server\Schema\SAEPT.**.sql. Then import the table in the physical layer of the RPD

    Workaround this problem by using the default value provided for creation script table mark of the event, located in the folder:

    \server\Schema\SAEPT. Oracle.SQL

    There are several scripts SAEPT (Siebel Analytics Table Event of the election), named differently according to your particular database.
    Name change column names (defined by the user) of the voting table event to match those of the OracleBI\server\Schema\SAEPT. Oracle.SQL file will solve the problem.

    Rgds,
    DpKa

  • Documentation of the OBIEE repository

    Hello

    I have some querys.

    1. it is possible to obtain the OBIEE DPR documentation automatically.

    Go - tools-> utilities-> Documentation of the repository? -It will get automatic and specific store? -Is possible.

    I use 10g (10.1.3.4.1) OBIEE.

    2. is there an option like what time the RPD has changed? This kind of information that we need is there any option in obiee 10g.

    Ex:-some modification RPD column data type, I want to know what time it changed? -I need this kind of information.

    Please share me your valuable contributions.

    Thank you

    Published by: user12301120 on June 3, 2012 21:26

    Hello

    I am also same requirement a few days ago, we did a lot of (R & D) on it, but finally it is not possible to obiee 10g.

    1. it is possible to obtain the OBIEE DPR documentation automatically.

    A. the RPD automatic Documentation is not possible in obiee 10g.

    2. is there an option like what time the RPD has changed? This kind of information that we need is there any option in obiee 10g.

    A. RPD version what dark and deva as suggest you con follow the same way.

    Hope this helps

    Thank you
    Satya

Maybe you are looking for