Substring function for presentation variables in obiee

I have a presentation variable called period that has the (fromdate and to date)
Is there any way that I can split this one variable into 2 by using substring function??in such a way that it gives one for from date and the other for to date..
any synatx like
SUBSTRING ( '@{period} FROM 0 FOR POSITION
(' - ' IN '@{period})) ???
and how to apply this?

The answer to this question is the same for the one you posted here:
can we create two dashboard prompts for the same column in the samepage
You need to split your prompts into two. If you read the link I posted in the other thread and re-posted here, you will find that the reason to do it this way is so you can see the values of the prompts. Read the first paragraph of this link -- again, if you already read it. You cannot split the single presentation variable if you use the BETWEEN operand in the dashboard prompt. You need to put the operand in the filter in your report.
http://oraclebizint.wordpress.com/2008/02/26/oracle-bi-ee-101332-between-prompts-for-date-columns-using-presentation-variables/

Similar Messages

  • Constraints for presentation variable in obiee 10g

    Hello Guys,
    What are the constraints for presentation variable in obiee 10g?
    requirement: I am unable to find the variable option, when i selects CONTAINS operatior, during creating the prompt.

    Hi,
    In 10g, a dashboard prompt can only set presentation variables when you use the "is equal to/is in" operator. Also, it is not available in case of MultiSelect prompt.
    Refer to the below thread for some alternate solutions:
    visualize prompt values into report Answer?
    Thanks

  • Presentation Variable in obiee 11g

    Hi all ,
    I had a dashboard report with year , quarter , month and order type name as prompts .
    Now my client requirement is , when order type name is "Ord" , the reports with order type name starting with 'ORD" should be displayed.
    In simple i know we will use " Like" operator .
    But now my problem is we have to assign a presentation variable for order type name.
    So can some one tell me how to add a presentation variable in OBIEE 11g , i tried in web , but none of it helped me to finish the job ,, since i am very new to obiee can some one please explain me in non technical language
    Thank you for your help

    Hi Jay , Thank you very much for reply , now i got a little idea , but few doubts abt ur reply .
    Yes i will edit dashboard prompt and assign a like operator and will save the prompt , but when editing the report , you said to apply a filter *LIKE @{presentation_variable}{default_value}%*
    In the above what will be in place of presentation_variable and what should be in default_value.
    I have tried it in this way : Like @{Sales Order Lines Order Type Name} , where Sales Order Lines Order Type Name is my dashboard prompt .
    but it didn't worked when i have given 'Ord' in dashboard prompt the error says: Sales Order Lines Order Type Name is LIKE (pattern match) ord

  • Is there a "where used" functionality for SEM variables?

    Hello everybody,
    I am about to do some major changes to a BPS application that i have built and have come to realize that it will be quite some work to go through the whole thing for the purpose of replacing some variables.
    Hence, is there a "where used" functionality for SEM variables somewhere out there?
    Greetings,
    Martin

    Hi Martin,
              Have not seen that functionality before,however I have used the same by creating my own reports.All the variables can be found in the UPC_VAR table.If you are looking for the use of the variables in fox code,use a wild card search with UPC_FORML table in the formula column for %'VARV'%.IF Searching for uses in the conditions field for planning functions , use the table UPC_OPTIOS, column variable.In my case i needed to search the foxcode for variable uses.
    Hope this helps to some extent.
    regs.

  • How to pass the values to stored proc using presentation variable in OBIEE

    Need your help regarding in resolving an issue in OBIEE 10.1.3.4.1
    There are 6 reports say ‘A’,’B’,’C’,’D’,’E’,’F’ in the same subject area.
    The reports are being configured with prompts using either the repository/presentation variables.
    One of the reports say ‘A’ has been configured to pass the values using presentation variables from the prompt in Advanced Tab of the report request to the stored procedure defined in the Execute Before Query section of the connection pool.
    After running another report ‘B’ in the same subject area, upon visiting the report ‘A’ view display error is being seen ( Please have a look below screen shot for your reference) .
    Speculate the issue is around presentation variables of report ‘A’ getting initialized even before running the report.
    Appreciate your earliest advise as this is a prod issue.

    Hi Prasad,
    I got your note, you should not use Session variable syntax to call presentation variable.
    you should use like @{AIC_PROJ_PLAT_SEQ_NO}
    One more thing: first test the variable AIC_PROJ_PLAT_SEQ_NO value then try to pass to SP.
    Hope this helps

  • How to create Presentation Variable in OBIEE 11g

    Hi,
    Can any one tell me how to create a Presentation Variable. I know about the creation of Session and Reporsitory variables.
    Is it to be created in the Edit formula of the column in criteria tab.
    Thanks

    Hi,
    Refer : http://gerardnico.com/wiki/dat/obiee/presentation_variable_initialization
    Thanks
    Aravind

  • Alternative for session variable in OBIEE Translation

    Hi all,
    I am working on translating OBIEE reports to various languages. I am using specific xmls for particular language which has entries for translated text.
    Now in few of the reports I have case statements/BINs defined in column formula. This 'column formula' content is not a part of xml and hence not getting translated.
    One of the solution that i found was use of language specific session variable defined in rpd. When user logins with specific language, corresponding translated text is provided by session variable. This approach was correct and is working fine.
    But the problem is in few of my reports there are about hundreds of such case statements and hence thousands of texts to be translated for each particular language. hence it is a cumbersome task to define session variable for each of these column formula. Plus I am not sure about the performance issue that will be there after defining thousands of such session variables.
    Is there any alternative available for use session variable in OBIEE translation? Please reply.

    Hi,
    Check if this helps-
    http://obiee10grevisited.blogspot.in/2012/05/changing-language-in-obiee-on-fly.html

  • Using the default date for presentation variable

    In the report I want to use the default date for the presentation variable.
    If I use the query like below,default value is giving correctly.but if I pass the date value from dashboard prompt it is throwing error
    Anybody help me to modify the below
    query to get the valid results?
    Timestampadd(SQL_TSI_day,(dayofmonth(date @{asdf}{date '1900-01-01'})*-1)+1,date @{asdf}{date '1900-01-01'})
    Edited by: user12255470 on Dec 2, 2010 12:11 PM
    Edited by: user12255470 on Dec 2, 2010 12:12 PM

    try this:
    Timestampadd(SQL_TSI_day,(dayofmonth(date '@{asdf}{1900-01-01}')*-1)+1,date '@{asdf}{1900-01-01}')
    mark answers promptly.
    J
    -bifacts
    http://www.obinotes.com
    Edited by: bifacts on Dec 2, 2010 3:21 PM

  • Issue with Date Format for Presentation Variables

    Hi,
    I am using dashboard prompts to capture begin date and end date in presentation variables. The dates selected from calendar are in the format mm/dd/yyyy.
    In Asnwers I need to get a count of days between begin and end dates. I am using the column formula as shown:
    TIMESTAMPDIFF(SQL_TSI_DAY, DATE '@{pBeginDate}', DATE '@{pEndDate}')
    When ever I run the report from dashboard I get the following error:
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 46046] Datetime value 1/1/2005 does not match the specified format. (HY000)
    SQL Issued: {call NQSGetQueryColumnInfo('SELECT "Transaction Dates"."Transaction Date", TIMESTAMPDIFF(SQL_TSI_DAY, DATE ''1/1/2005'', DATE ''1/2/2006'' FROM "Dates"')}
    SQL Issued: SELECT "Transaction Dates"."Transaction Date", TIMESTAMPDIFF(SQL_TSI_DAY, DATE '1/1/2005', DATE '1/2/2006') FROM "Dates"
    Can anyone help me to reolve this date format issue?
    Thanks,
    Aravind

    Hi,
    see this below links
    Issues with Prompts calender date
    Regards
    Naresh

  • SQL query for presentation variable in dasboard prompt returns no rows

    Hello,
    I have a query like below.
    SELECT "mysubjectarea"."my lookup table"."Name" FROM mysubjectarea.
    I use this query in an analysis and it gives the intended result.
    But when I use this to populate a presentation variable in a dashboard prompt it returns nothing.
    How can I troubleshoot it?
    Is there anyway I can trace it in a log?
    Do you have any idea as to what might be going wrong?
    I am on 11g .5 version
    Thanks,
    Badal

    OK. So you are saying that the below query doesn't return any records? I thought the returned values are not being set in the pres. variable.
    SELECT "mysubjectarea"."my lookup table"."Name" FROM mysubjectarea.
    In this case, check the backend db table whether this column has any records. IF backedn tables has records, then add this column in the criteria and click results. Check whether you are getting the same set of records. IF not then check whether any cache is there.
    Go to Administration-->manaage sessions--> it will show you the logical sql. there click on the show log. iit wil display you the physical query and also whether this query hits a cache or not.

  • Page X of Y functionality for PDF export in OBIEE

    Hi,
    Can any one of you please let me know how to implement page 1(2) and page 2(2) functionality in OBIEE when we export in PDF. Its very urgent requirement for us.

    Hi,
    Go to edit your report,
    look at your PDF Control setting and use below syntax this will give u no of pages for each report
    Sample report name @{pageNumber} of @{numberOfPages}
    Thanks
    Deva

  • Using presentation variable in OBIEE 11g

    Hi,
    Is is possible to use a prompt to filter data from two sections of a dashboard?
    My dashbaords contains two sections , each pointing to seperate reoport. Can I filter data in the two reports using parameter selected in one prompt?
    If not possible , the wht is the way to achieve this.
    Thanks and Regards
    Santosh

    Thanks Rondo,
    In our project we have e-Biz Oracle ERP application where actuals are captured. Customer is using a third pary tool called Neotix to buid RPD automatically based on Database (oracle) of this application.
    Nw we are building new application for planning and budgeting in Hyperion prodicut by oracle where Database is Essbase. I will be creating an RPD for budget/planning reports based on Essbase data source.
    For creating on report for Actual Vs Budget, I need to have both Actuals data from e-Biz and Budget data from Hyperion comming out of one RPD.
    So I want to merge those two RPDs and build by Actual vs Budget report based on the Business model from this merged RPD.
    I want to understand hw to build the buisness model in the merged RPD so that I can get the acutal and budget data together in the same report using Answers. I am using OBIE 11g.
    Please tell me wht should be my reporting strategy for achieving this. Can I create single business model for two dataa source which I will import in phyisical layer? How Do I join the two data sources in my RPD, in the business model? What are the challanges to do this kind of model in the merged RPD. ? Do u think there will be challanges to joing Essbabase members (since it is multidimensional cube ) with e-Biz data source in physical layer?
    If I build multiple subjects area (one for e-Biz datasouce and another for Essbase data souce) what modeling steps, I need to implement in presentation layer of the merged RPD?
    In answers how to I build report so that actual and budget data can be displayed together? Are there any technical challanges to implement such report in Answer? If yes, then what are the ulternative approaches?
    I came to know that if it is not possible to get both actual and budet data together in one report, then I should build a dashboard with two sections , and build two reports (one for actuals data and another for dudget data ) and then place one report in one section and another section in another section in the dashboard. Is it a good approach? Is there any better approach?
    I want to use one prompt to filter data for actuals and budget . eg. for year 2012, I want to dislpay Actuals as well as Budet values?
    Please provide your expert inputs...
    Thanks and Regards
    Santosh

  • Error while creating presentation variable in Dashboard prompts.

    Hi Team
    I have been going through the guidelines and procedures to create a presentation variable to use it in the dashboard prompt ( mentioned in the previous blogs ) .I followed the below link :
    http://oraclebi.blog.com/example-of-presentation-variable-in-obiee/
    I am using the following query :
    ========================================================
    SELECT case when 1=0 then "D2 Market"."M04 Region"
    else 1
    end
    FROM "Sample Sales"
    UNION ALL
    select case when 1=0 then "D2 Market"."M04 Region"
    else 2
    end
    FROM "Sample Sales"
    =========================================================
    I just wanted to create 2 dummy choices i.e 1 and 2 .But while soing so I am getting erros in the case statements :
    =========================================================
    Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 27005] Unresolved column: "D2 Market"."M04 Region". (HY000)
    SQL Issued: SELECT case when 1=0 then "D2 Market"."M04 Region" else 1 end FROM "Sample Sales" UNION ALL select case when 1=0 then "D2 Market"."M04 Region" else 2 end FROM "Sample Sales"
    =========================================================.
    Please suggest and let me know if there is any other method to have 2 chioces in drop down i.e 1 and 2 using SQL statements while creating the dashboard prompts.
    Thanks

    Hi Rachit
    You answered my doubt.This one really works . Thanks a lot !
    But i have one more doubt i.e if have created the Presentation variable in the dashboard prompt and I want to use it in a report
    i.e the scenario is If I have created a new column i.e " Revised Salary " in the Presentation Services and want the values to be entered there dynamically upon end users choice. For ex the end user selecrts value of 1 then the report would display an increament of 500 to all the employees in the " Revised Salary " column and if the end user select value of 2 .. the report would display a decrement of 500 in the " Revised salary column".
    I am getting the following error :
    ========================================================================
    Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 59001] Binary Logical operation is not permitted on VARBINARY, INTEGER operand(s). (HY000)
    SQL Issued: SELECT "D0 Time"."T05 Per Name Year" saw_0, "D2 Market"."M04 Region" saw_1, "D4 Product"."P01 Product" saw_2, "D1 Customer"."C1 Cust Name" saw_3, "F1 Revenue"."1-01 Revenue (Sum All)" saw_4, CASE WHEN 0='1' then "F1 Revenue"."1-01 Revenue (Sum All)" +500 else "F1 Revenue"."1-01 Revenue (Sum All)" - 500 end saw_5 FROM "Sample Sales" ORDER BY saw_0, saw_1, saw_2, saw_3
    ========================================================================
    Please NOTE : The column on which I want to do an increament is : "F1 Revenue"."1-01 Revenue (Sum All)"
    Thanks

  • Unable to pass the values to stored proc using presentation variable in OBI

    Hi All,
    Need your help regarding in resolving an issue in OBIEE 10.1.3.4.1
    There is an OBIEE requirement whereby two prompts need to be defined.
    1.     Textbox prompt
    2.     Drop-down prompt
    The dropdown values should be populated using textbox prompt. So, we have used presentation variable in textbox prompt and passing the same to select query of drop-down.
    Until this step, the report works just fine.
    Now, the value in both textbox and drop-down needs to be passed to stored proc.
    While trying to pass the values by using the presentation variable, the following error comes-up saying
    Session variable has no value definition.
    Note:Although the corresponding session variable has been set to default value,still the error appears.
    Please advise.
    Regards,
    Prasad

    "Session variable has no value definition" I'm assuming typo error and it should be presentation variable.
    Set default value for presentation variable that may work

  • Oracle BI Web Services to extract Presentation Variables

    Hi Folks,
    I have a complex requirement and was unable to find the right solution on web.
    My general question is,
    What is the C# code which uses Oracle BI Web Services to extract Presentation Variables information and write it to XML files?
    We are unable to extract for Presentation Variables with Variable Value but able to extract for Column Value.
    So please share your thoughts as how to extract the presentation variables.
    Thanks,
    Oj

    Oj,
    Check this
    O.B.I.E.E: Obiee Web Services – Using .net and C#
    http://msdn.microsoft.com/en-us/library/windows/desktop/gg537745(v=vs.85).aspx
    Try this and let us know the outcome.
    Thanks,

Maybe you are looking for

  • Error in jsp in retreiving data from a bean.

    i made a bean retrieving some data for a form and while i declared and put the use bean tag through run time i got this error : init: deps-module-jar: deps-ear-jar: deps-jar: library-inclusion-in-archive: library-inclusion-in-manifest: compile: compi

  • Pretty new to Java can someone please help with an addObject() problem?

    Hi I'm pretty knew to programming and I have an assignment which I've been working on but I am stuck I have to create a 'space invaders' style game, and I've got some basics working. I wanted to add a boss enemy, which appears when all other enemies

  • Problem in FTAM put

    I am using FTAM version 9.0 (OSI 9.0, x.25 9.1) on Solaris 8. Working with responder FTAM on Nokia DX220 (a PSTN switch). The FTAM remote database settings are : APT 1 3 9999 1 7 AEQ 1 PSEL (hex) 0201 SSEL (hex) 0201 TSEL (hex) 0201 I have to put one

  • Convert cr's to lf's ?

    Using DW8 I found that carriage returns are converted to line feeds when I paste code from PayPal.  Is this true and can it be changed?

  • Simple dataguard on SE

    Hi. I have set up a simple dataguard solution for one of our veritas cluster systems. We are running 10.2.0.4 on Rhel 4 x86-64. Logs are shipped using rsync to standby node. PL/SQL and DBMS_JOBS ensures scheduled log switching and crontab jobs ensure