TIMESTAMPDIFF in rpd level

Hi,
can i able to user TIMESTAMPDIFF forumula in rpd level as a logical table source formula in logical column
thanks

Hi,
Yes you can.The function is available under CalendarDate/Time Functions in the Expression builder dialog.
Rgds,
Dpka

Similar Messages

  • Logical column currency format properties at rpd level?

    I need to show the currency amount with dollar symbol for a logical column and that should happen at rpd level.
    Is there anyway we could do that ?
    thank you

    Hi User.
    You can have logical column name as 'Amount in $' or 'Amount in Dollar'
    this is the best practice..
    Then if you want value to be suffixed by $ , you can go for data formatting in column properties.....
    this is commonly used....
    mark if Correct/helps .
    fiaz

  • Filter at rpd level

    plz tell me the syntax for -filter a particular table on the basis of a particular column at rpd level.
    for exp-I want to filter a employee_detail table where dept=sales

    Hi,
    In BMM layer under sources you can see logical table sources for that Table.Click on the source table of that column and them and go to last tab(Content) and apply filter under where clause.
    Regards,
    Srikanth

  • Timestamp on rpd level

    Hi Gurus,
    I wanted to use below mentioned query on the rpd level. how will i do this
    to_timestamp(to_char(timestamp,'yyyy/mm/dd HH24:MI S'), 'yyyy/mm/dd HH24:MI:S S')
    thanks

    use the below syntaxes for To_Char and To_timestamp
    EVALUATE('TO_TIMESTAMP(%1,%2)' AS timestamp, column1, 'YYYY/MM/DD HH24:MI:SS')
    EVALUATE('TO_CHAR(%1,%2)' AS CHARACTER ( 30 ), current_date, 'YYYY/MM/DD HH24:MI:SS')
    replace current_date etc with your relevant columns.
    You have to nest one evaluate into another.
    Regards,
    Sandeep
    Edited by: Sandeep Saini on 03-Dec-2010 07:02

  • Column level filter at RPD level - OBIEE 11g

    Hi all,
    How do i add a filter at the column level in logical layer for one of the metric , it has the following calculation
    case when id in (1,2,3,4,5,5) and category='AS' then case when points=10 or points=9 then 1 else 0 end end
    I want the metric to reused for other id's as well... so i want to put case when id in (1,2,3,4,5,5) in filter of the column. how do i achieve it? plz help
    Thanks,
    Lona

    Your question is not clear, I assume you want points to be reused for other ids, so try this
    case when id in (1,2,3,4,5,5) and category='AS' then
    case when points in (10 ,9) then 1
    else 0
    end
    else points
    end
    if helps mark
    ~ http://cool-bi.com

  • How to do Performance tunning in OBIEE RPD level

    Hi All,
    We are using OBIEE 10.1.3.4 version on Windows envorinment, currently we are facing performance issues for my reports.For fetching one month data its taking around 9 mins ..so we are planning ,how to reduce these response time .Could you pls suggest me what are possiable ways to do performance improvement in OBIEE level..Here for each day we are gettng around 5 lacks feed into our DB.

    Hi
    first thing is to check the same query int he data base and see the response time. if this is taking the same amount of time as the obiee reporting tool, then that matters to think with dba to create some materiazlied views on the top of the transactional data and maintain the aggreated data.
    hope you understand.
    Cheers.

  • Fact column without aggrigation at rpd level is  showing error in report

    Hi,
    in my repository fact table is there "service request".
    in that fact i have created one column and i havent given aggrigation. And i havent given levels also.
    But if i create report by using this column, it is throwing error.
    how to create messure without aggrigation and without levels?
    Thanks
    Anjireddy

    What is the error that you get?
    Thanks,
    Venkat
    http://oraclebizint.wordpress.com

  • How to calculate Age in the RPD level

    I want to create a logical column say 'Age' in the repository. I have the PERS_DOB in the PERSON dimension.
    From this I wrote a query to get the age from the PERSON dimension as below.
    I am wondering if I can create a logical column in the rpd using the sql or is there any way where I can get the age of the persons calculated as a logical layer in the repository.
    select pers_dob, round (((trunc(sysdate)-trunc(pers_dob))/365), 0) from w_pers_d
    Thanks in advance.

    I have created a repository variable 'currentdate' (to get the sysdate) in the rpd and created a new logical column AGE and in the expression builder I used the below and got the syntax error.
    ***round((currentdate-trunc("Program Info b".."Program Info b"."W_PGAD_PR_PERS_D"."PERS_DOB" )/365),0)***
    ***[nQSError: 27002] Near <(>: Syntax error [nQSError: 26012] .***
    I thought functions round, trunc are not supported in OBIEE expression builder and tried the below and got a different syntax error.
    *[nQSError: 27009] Unresolved identifier: "currentdate".*
    Have anyone tried this successfully.
    Please let me know.
    Thanks/

  • How to implement row level security using external tables

    Hi All Gurus/ Masters,
    I want to implement row level security using external tables, as I'm not sure how to implement that. and I'm aware of using it by RPD level authentication.
    I can use a filter condition in my user level so that he can access his data only.
    But when i have 4 tables in external tables
    users
    groups
    usergroups
    webgrups
    Then in which table I need to give the filter conditions..
    Pl let me know this ...

    You pull the Group into a repository variable using a session variable init block, then reference that variable in the data filters either in the LTS directly or in the security management as Filters. You reference it with the syntax VALUEOF("NQ_SESSION.Variable Name")
    Hope this helps

  • How to create stored procedure directely in RPD

    Hi Gurus,
    I am trying to create stored procedure directly in physical table in rpd level in OBIEE.for this one i have gone through below website.
    http://obiee101.blogspot.com/2011/01/obiee-using-mssql-stored-procedure-as.html
    in that blog they mentioned to write some query which is...........
    EXEC [DATABASE_NAME].[SCHEMA_NAME].[PROCEDURE_NAME]
    in above query i am not getting what is DATABASE_NAME,SCHEMA_NAME,PROCEDURE_NAME
    can any one elobrate this one

    Hi nath,
    Firstly are you using MYSQL or Oracle as the database,if its oracle database then follow this
    http://obiee101.blogspot.com/2008/01/obiee-using-oracle-stored-procedure-to.html
    http://oraclebizint.wordpress.com/2008/02/20/oracle-bi-ee-101332-executing-stored-proceduresfunctions-before-reports-before-report-triggers-and-global-temporary-tables/
    EXEC [DATABASE_NAME].[SCHEMA_NAME].[PROCEDURE_NAME][DATABASE_NAME] --> is the database name your creating your procedure
    [SCHEMA_NAME]-->is the user with which your creating
    [PROCEDURE_NAME] --> the name given to procedure
    You dont know how to get those run this SQL in TOAD and see select sys_context('userenv','db_name'), sys_context('userenv','session_user') from dual
    (OR) open you connection pool properties window in RPD,you will get the DB name and the user name as the schema name
    hope answered your question.
    CHeers,
    KK

  • Enhancement(Grouping)  in a existing dashboard ---Without touching RPD*

    Hi All,
    I have an existing dashboard as per below.Now i need a similar dashboard with sum of sale per pid per year ie by KEY-VAL.
    KEY-VAL is the concatenation of YEAR and PID.
    DESC AND TEXT are two empty columns which needs to be there.
    At RPD aggregation level is "NONE".Though i have changed it to SUM it did not generate expected output.
    CURRENT DASHBOARD
    KEY-VAL PID STATE PNAME TEXT SALE DESC YEAR
    2011P01 P01 TEXAS SHOES ---- 5000 ---- 2011
    2012P02 P02 VEGAS BELTS ---- 3000 ---- 2012
    2010P01 P01 SAUDI SHOES ---- 6000 ---- 2010
    2010P01 P01 SAUDI SHOES ---- 1000 ---- 2010
    EXPECTED DASHBOARD
    KEY-VAL PID STATE PNAME TEXT SALE DESC YEAR
    2011P01 P01 TEXAS SHOES ---- 5000 ---- 2011
    2012P02 P02 VEGAS BELTS ---- 3000 ---- 2012
    2010P01 P01 SAUDI SHOES ---- 7000 ---- 2010
    I have implemented a few by taking inputs from my previous post like doing sum at column properties of Answers in a Table and Pivot Table but unable to get the exact report that BUSINESS needs.
    Also provide additional information that could help me to develop/work on OBIEE dashboard/answers.
    Please offer help on this scenario.
    Thanks,
    Avinash

    Yes ,I have verified at RPD level and columns used at answers.
    I didnt find any difference in the column types used in both office and home even aggregation level is none at both ....I really spent considerable amount of time for finding the cause....
    One approach that was working in answers - Table Select Summation-and used sum of the (sale) --Iti is working but not per my real need.
    Any alternate solution to this..
    Thanks,
    Avinash

  • Rpd questions.

    Hi Friends,
    As I am working on OBIEE and getting to know more about it, I am having more and more questions. These might be small but I need to get a clear concept of this.
    1. When I pull just dimension columns in 'Answers' and run the query, and when I see the sql in the log file, I see that the fact table is also joined. Does this always happen? Is this the way it is? In my log files for the first few queries I ran I see that only dimension tables are joined in the sql. Not sure why? Could someone please clarify...is the fact table a must join when we select just dimensions in the report.
    2. Can we absolutely not do a sum function on the dimesion measure? Will it give incorrect results if we do that. So the sum function would work correctly only for fact measures? Please clarify.

    +1. When I pull just dimension columns in 'Answers' and run the query, and when I see the sql in the log file, I see that the fact table is also joined. Does this always happen? Is this the way it is? In my log files for the first few queries I ran I see that only dimension tables are joined in the sql. Not sure why? Could someone please clarify...is the fact table a must join when we select just dimensions in the report.+
    At the RPD level generally we use to join different dimension tables with a single fact table.so,even though if we pull dimensions from different dimension physical tables it should satisfy all the join conditions of these dimension tables with the common fact table.so,fact table was also added in the sql along with the dimensions.
    +2. Can we absolutely not do a sum function on the dimesion measure? Will it give incorrect results if we do that. So the sum function would work correctly only for fact measures? Please clarify.+
    It is possible to do a sum function on the dimension measure also but the thing is the data type of the dimension measure should be numeric.

  • How to use varaibke manager option at RPD in obiee 10g

    Hi
    At RPD level , can anyone please help on uderstanding how to use the variable manager.
    thank you

    Hi,
    System session variables:
    System session variables have reserved names, that cannot be used for other kinds of variables (such as static or dynamic repository variables and non-system session variables).
    e.x:
    1)
    if u want to get and display user login ID,group,timezone...Date and time...etc... can be done by using session variable
    2) Exteranl application integration ( java -jsp) by using go url.
    here u can specify the session variable and it will passed into Java apps.
    3) setting log level by using session varaible
    4) u can use it report tittle/header..etc
    for more:
    http://obiee101.blogspot.com/2008/02/obiee-adding-session-variables-to.html
    http://obiee-blog.info/administration-tool/how-to-set-session-variables-using-url-variables/
    http://sureshotstrategies.blogspot.com/2008/07/about-session-variables-in-obiee.html
    http://inetskills.com/obiee/obiee_11.php
    Thanks
    Deva
    Edited by: Devarasu on Dec 6, 2011 5:10 PM

  • RPD Security and Migrations

    We have a Subject Area where up to 25 columns in the Presentation Layer have security applied. They are denied to the System-level Everyone group and access is provided to Group1.
    The way our migrations to the environments work is the Developer provides the RPD and we do a 3-way merge. The issue is the security does not get merged correctly. So if Group1 exists in the Master RPD when we do a 3-way merge groing from the Developer's RPD to the Master it creates another security group called Group#1.
    I thought I could use UDML generation to apply the security but UDML does not generate the system-level EVERYONE group so when applying the UDML (nqudmlexec) to the Master the columns have the EVERYONE group defaulted back to Read access.
    I am working with Oracle on their best practice for migrating RPD security but I'd like to see how those on the forum handle the migration of RPD level security. So any permissions applied to Presentation Layer catalogs, tables, columns, Phycial connection pools, etc.
    How do you maintain that security going from a DEV to a Test to a Prod environment?
    Love to hear how others are doing this

    Yeah..... In 11g you have separater password for RPD which is not releated to any user. Unless you share the RPD password with user they can not open it in the offline mode. But still this problem persists if a ProjectA user log in and still he could see the project B details.
    You are looking at object level security on the Tables. I guess you can implement for the presentation layer.

  • Rpd reporting?

    isi poosible to have RPD level reporting

    Dear john
    Iam sorry ...
    i was dead heated on that issue sorry i should'nt have used that lang
    i appolozise To RNM1978
    but what did i miss!!
    i have asked " isit possible to have RPD level reporting "?
    what i meant was is possible to have reporting in RPD level (which i haven'nt heard till now) apart from what i do in answers and dashboards
    hope this helps

Maybe you are looking for

  • Mouse Down ,Mouse Click conflict

    Dear Flexmasters ,   I have a view component that I would like to be draggable when the mouse is held down ,  and dispatch an event when clicked ( single-click ).  However , when I go to drag and the mouse is released , a click event is dispatched. 

  • Portions of music missing when using headphones or earbuds

    Why can I only hear the bass on my iPhone when I'm on headphones or ear buds?

  • I did a reinstall of FF 17 and lost all my bookmarks, passwords, etc

    FF was behaving strangely - I couldn't see images on websites. I checked all my updates and it was all good, FF was the most recent, Flashplayer was the most recent, so I restarted FF - no luck. So I restarted my Mac - I still couldn't get images whe

  • Error while doing MB1C - 561 MVT

    Friends, while i am doing MB1C with movement type 561I am getting the following error. Fld selectn for mvmt type 561 / acct 950900 differs for Ext. GA amount in LC (023) Message no. M7093 Diagnosis Comparison of the field selection strings from movem

  • Elements 12 invalid serial number

    How do I manually install Elements 12 on my XP computer.  Bought a boxed version and get invalid serial number when trying to install.