To use two presentation variables based on the period selection in OBIEE

Dear All,
I have period prompt in my report, based on the period prompt selection in my report I need to get the start and end dates of the period and apply in the report filter.
For e.g. Period Name selected in the prompt is "2010 - Q1" (For this Period, Period Start Date = 01/01/2010 and Period End Date is 30/03/2010, which is not going to be displayed in the prompts).
How can I get the start and end dates of the period into my report filter. I tried using the presentation variable for the period name, but unable to resolve the requirement.
Your help is highly appreciated.
Best Regards,
Rajesh

Hi Rajesh,
Create a report A which will give you the period start date and end date and filter it using the period prompt.
Then filter the main report using the report A start date and end date, using Filter -> Advanced ->Filter based on results of another request .
Add the report A in separate section on the dashboard along with main report and hide report A section.
Thanks,
Vino

Similar Messages

  • OTL:Generate Timecard Tasks based on the Period selected on the Period LOV

    Hi,
    I want to generate the Tasks' LOV Based on what is selected on the Period LOV. It must only list Tasks that are valid/active for the select Period LOV.
    I want to integrate the "validation/condition" in the script to generate the PA_ONLINE_TASKS_V view.
    Best regards,
    Ernest

    Ernest,
    OTL renders the LOV through its own rendering mechanism and is a wrapper over OAF LOV component. Hence you won't be able to treat it like a normal LOV as it gets rendered at runtime based on layout ldt file.
    But you sure can have the LOV based on a previously selected item inside Timecard matrix. Considering your case, the Period list is not inside the matrix, hence your LOV cann't refer to that. But instead if you are willing to use a package choice list, you can get access to the Start date of the selected time period through bind parameter TIMECARD_BIND_START_DATE. Hence my suggestion would be to use a package choice list and use your VO in the function used for choice list.
    Instead if you want to use LOV only, make a hidden package choice list where you default it to the Timecard start date through a custom function attached to it and so you
    have a field with start date inside the matrix.
    Let me know, how it goes.

  • How to use a presentation variable in filter conditions

    Hi,
    I have set a presentation variable "day" on my dashboard prompt containing a date column. I now need to use this presentation variable in the filter clause to restrict the dates between "day" and sysdate.
    So i apply the following SQL filter:
    where day between '{@variables.day}' and current_date
    But I end up in getting the following error:
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 17001] Oracle Error code: 1861, message: ORA-01861: literal does not match format string at OCI call OCIStmtExecute. [nQSError: 17011] SQL statement execution failed. (HY000)
    I even tried casting the presentation variable to date, but to no avail. Can someone let me know how to specify the date format for the presentation variable.

    If you're a member of ODTUG (or even if not, you can sign up for an associate membership for free) you can download Glenn's presentation from 2009 Kaliedoscope "Little Used Features of Essbase (Like Data Mining and Triggers)" -- there is a section in that presentation on substitution variables -- he does a really good job in showing how this works.
    Go to: www.odtug.com, then Tech Resources, then Essbase/Hyperion, and search for Schwartzberg. Currently it's the ninth presentation on the list -- I think this changes based on popularity of downloads.
    Regards,
    Cameron Lackpour

  • How to determine the length of variable based on the character contents

    Hi Experts,
    I need to determine the length of variable based on the character contents I am looking for.
    Example;
        lv = 'FENCE - Construction bond'
    Where I need to know the exact field length of 'FENCE -'.
    It's possible that variable will have different values in different lengths.
    Thanks.
    Kath

    Kathy Amion  ,
    hello Will you please elaborate ...!
    The suggestion for your proble as i understood it is you will have to split the string at seperator '-' in two say variable name and conten. and then  you will calculate the length of the VARIable name by using string function.

  • Hi, does someone know if I can use two Apple tv's with the same iTunes library? Thanks

    Hi, does someone know if I can use two Apple tv's with the same iTunes library?
    Thanks

    Yes you can use two (or more) AppleTVs with one iTunes library. They can both stream from iTunes (or the internet) at the same time, as long as you have a good working LAN and internet connection.

  • HT204053 If I have set up my Mac with two different users,  can I use two different Apple IDs on the same Mac?

    If I have set up my Mac with two different users,  can I use two different Apple IDs on the same Mac?

    Each user account may have its own Apple ID.

  • I am doing two people's jobs and I need to use two separate log-ins on the same website. How can I keep both log-ins open at the same time. Everytime I switch tabs I have to log in again.

    I am doing two people's jobs and I need to use two separate log-ins on the same website. How can I keep both log-ins open at the same time. Everytime I switch tabs I have to log in again.

    Try one of these extensions for multiple cookie sessions.
    Multifox: <br />
    http://br.mozdev.org/multifox/ <br />
    Cookie Swap extension: <br />
    https://addons.mozilla.org/firefox/3255/ <br />
    Cookie Pie extension: <br />
    http://www.nektra.com/oss/firefox/extensions/cookiepie/

  • Can you use two duetts on logic at the same time

    can you use two duetts on logic at the same time so i can have inserts

    tracktor wrote:
    can you use two duetts on logic at the same time so i can have inserts
    Before going ahead on this you should definitely check with Apogee as I think they do not recommend using their interface(s) in an Aggregate device.
    Maybe that's changed.. not sure.
    pancenter-

  • When using two iPhones (iOS 5) on the same computer/iTunes Is there any way to choose which songs, contact info., etc. are sync'd to each device?

    When using two iPhones (iOS 5) on the same computer/iTunes Is there any way to choose which songs, contact info., etc. are sync'd to each device?

    For each iPhone...
    From the Summary tab select:  Sync only checked songs and videos.
    Under Options in the Summary tab select:  Sync with this iPhone over Wi-Fi
    If you want you can select: Manually manage music and videos.
    Select the music you want synced from your iTunes library, same with Contacts.

  • Value based on the periodic unit price (only with pr.ctrl S)

    Dear all,
    There is this field in mateial master called "Value based on the periodic unit price (only with pr.ctrl S)" in accounting view 1,
    1 - May I know what is this field about (in between our company using material ledger).
    2 - May I know why the value of this field are different between our company period 6 and period 7 for this year? what contribute to it? and is it something wrong with different value between two different period or absolutely normal?
    Thanks.
    Tuff

    Dear all,
    Does anyone know my question?
    Thanks,
    tuff

  • Value based on the periodic unit price(only with pr.ctrl S) field in MatMas

    Dear all,
    There is this field in mateial master called "Value based on the periodic unit price (only with pr.ctrl S)" in accounting view 1,
    1 - May I know what is this field about (in between our company using material ledger).
    2 - May I know why the value of this field are different between our company period 6 and period 7 for this year? what contribute to it? and is it something wrong with different value between two different period or absolutely normal?
    Thanks.
    Tuff

    Hi Tuffy,
    For your 1st query:
    PUP field in Accounting 1 (if ML is active, Price Determination indicator=3) is the result of Actual Costing Run (CKMLCP) closing entry.
    For your 2nd query:
    In most of the cases the values will be different in Previous Period and Current Period. e.g.Period 6 values are the results of Actual Costing Run (CKMLCP) in 1st week of Period 6 for Previous Period (i.e. Period 5). Period 7 values are the results of Actual Costing Run (CKMLCP) in 1st week of Period 7 for Previous Period (i.e. Period 6).
    The reason for the different values: Price differences, Exchange rate differences, Price/Exchange rate differences from Low lower materials, etc.
    Thanks & Regards,
    ADI

  • Value based on the periodic unit price (only with pr.ctrl S) field in mat.

    Dear all,
    There is this field in mateial master called "Value based on the periodic unit price (only with pr.ctrl S)" in accounting view 1,
    1 - May I know what is this field about (in between our company using material ledger).
    2 - May I know why the value of this field are different between our company period 6 and period 7 for this year? what contribute to it? and is it something wrong with different value between two different period or absolutely normal?
    Thanks.
    Tuff

    Hi Tuffy,
    For your 1st query:
    PUP field in Accounting 1 (if ML is active, Price Determination indicator=3) is the result of Actual Costing Run (CKMLCP) closing entry.
    For your 2nd query:
    In most of the cases the values will be different in Previous Period and Current Period. e.g.Period 6 values are the results of Actual Costing Run (CKMLCP) in 1st week of Period 6 for Previous Period (i.e. Period 5). Period 7 values are the results of Actual Costing Run (CKMLCP) in 1st week of Period 7 for Previous Period (i.e. Period 6).
    The reason for the different values: Price differences, Exchange rate differences, Price/Exchange rate differences from Low lower materials, etc.
    Thanks & Regards,
    ADI

  • Plot a chart dynamically based on the values selected

    Hi All,
    I have some requirement like this i want to plot a chart . The chart should change dynamically based on target_name and date. What type of UI should I use ? I tried using multiselect or shuttle for choosing the target_name and date picker tool for date once i choose all this the chart should appear. Can I have a custom button called submit so once all the values are entered it plots chart ? Please help me out with our ideas.
    Thanks in Advance

    Hi,
    Using the dependent value sets you can govern the values which can be selected based on a specific value selected in a particular segment. Example if Country name is selected in segment 1 then specific states names as per the country selected can be displayed in segment 2.
    As per the requirement described you want to enable different fields based on the value selected in segment1, currently there is no standard mechanism available to enable/disable fields based on a value and you will have to do an extension/customization to meet this requirement.
    Thanks,
    Sanjay

  • Populate text field based on the lov selected value

    Hi,
    based on the value selected in lov, i want to populate another text field. Below is the code I have written
    In PFR:
    if(pageContext.isLovEvent())
    String lovInputSourceId = pageContext.getParameter(SOURCE_PARAM);
    if ("lovCategory".equals(lovInputSourceId))
    java.util.Hashtable lovResults = pageContext.getLovResultsFromSession(lovInputSourceId);
    if(lovResults!=null)
    String value =(String)lovResults.get("lovCategory");
    amobj.categorycode(value);
    AMImpl code:
    public void categorycode(String code) {
    sundryCodeVOImpl vobj = getsundryCodeVO1();
    vobj.setWhereClause( "lookup_code = "+"'"+code+"'");
    vobj.reset();
    vobj.executeQuery();
    String desc = vobj.first().getAttribute("Description").toString();
    String attr = vobj.first().getAttribute("Attribute1").toString();
    testEOViewImpl vobj1 = gettestEOView1();
    vobj1.getCurrentRow().setAttribute("CodeDescription",desc);
    vobj1.getCurrentRow().setAttribute("PurchasingCategoryCd",attr);
    vobj1.executeQuery();
    With this code, the updated values for the attributes CodeDescription, PurchasingCategoryCd are getting inserted into the database table but they are now showing up in the text fields when a value is selected in lov.
    Please tell me what is the mistake I'm doing.
    Thanks
    Sunny

    I'm using Lov Map to populate the lov field say field A. But I need to populate another field say field B based on the value selected in field A.
    to give an example of my requirement. Consider a view object having attributes col1,col2,col3 and having following data.
    col1--col2--col3
    1-----a-------x
    2-----b------y
    3-----c------z
    I 'll populate the lov of field A with values in col1. when user selects value 1 in field A. automatically field B should show value 'a'. If user selects value 2 in field A, field B should show value 'b' so on.
    Thanks
    Sunny

  • Today defaulted as the Period selection

    When displaying the Iview:com.sap.pct.hcm.rpt_objectselection.ivu it
    currently defaults to "Today" as the Period Selection.  Customer need this
    defaulted to "Current Year".
    We are using this iview as a Date and Personnel Number selection to run
    a standard SAP (EE Absence Calendar report RPTABS50.  Currently there
    is no way to change the detaulted period selection of"Today".

    Hi,
    You should create a variant for the transaction code and save this variant in the reporting framework configuration.
    Then when you run the Report, it will default to the option you wish to have.
    See table T77MWBFCD, here you define a report and there is the optional "Variant" for the report to run with.
    Regards,
    Ronald Meyer

Maybe you are looking for

  • Trying to understand, being prompted the file compression rules on saving, or not

    Hello, I'm trying to understand something, could I ask for your help, please ? After working on a jpg file, when I want to save it, still as jpg, with my Photoshop CS5, - sometimes photoshop will just save the picture, and it's done - sometimes photo

  • Pages take too time to be downloaded (sometimes) and Forum in French

    Hello, That's my first message. I'm looking for a forum about Dremweaver, but in French. I know there is one on the official Acrobat page. Unfortunately, there are not many answers. And it'll be easier for me to discuss in French. Well, why not to le

  • Activity failed for BPM DC

    Hi, I am using CE 7.11 and I have created a BPM DC. I do not find any problem while building are deploying. But, when i activate this DC, its not getting activated, in the build log it is showing that DC is broken. any idea where i am going wrong? Th

  • Error Code 120 when dealing with locked files

    Here's a weird one. I've been moving some files around from drive to drive, and have a small pocket of resistance in the form of three folders, all containing locked files. If I "Get Info" on any given file, I'm told that a) the file is locked, which

  • Problems setting up the wre54G

    When running my wre54G software I get the "Site Survey" failed error.