Last 36 months in Dashboard Prompt

Hi Experts,
Hi have requirement to show last 36 months in dashboard prompt. Please help me to achieve this.
Thanks in advance

Salim,
Elaborate a bit more?? R u trying to implement Rolling 36 month trend report ??
http://shivabizint.wordpress.com/2008/09/19/rolling-months-data-for-year-month-prompt-in-obiee/

Similar Messages

  • Urgent- How to Default Current Months First Date in a Dashboard Prompt

    We have requirement that whenever our user clicks on a dashboard it should show the report associated with the dashboard defaulted to MTD.
    For example if the user is running the dashboard on 16th Jan then the report associated with dashboard by default should show data from 1st Jan to 16 Jan.
    And then latter user should be able to select the dates of his choice in dashboard prompt and the report should show data according to selected date.
    Please send some clues or work around for this issue.

    Regarding Question 2:
    What you need to have is a Dashboard scope dashboard prompt for Product_ID (i.e., Don't use the column prompt from the prompt tab within the Request.)
    1) Create the dashboard prompt, put it on tab1 and save the prompt to a presentation variable, say prmtProdID. Set the scope to "dashboard." (This is the default, by the way.) If you create a dashboard prompt and set the scope to "dashboard," then the prompt values selected will hold true across dashboard pages.
    2) On tab2, go to your report and in Criteria mode, apply a filter to the Product_ID column making it equal to the PV. (Click the filter icon, Add>Variable>Presentation Variable and type prmtProdID. Save.)
    When the user selects a Product_ID on tab1 of your dashboard and hits "Go," not only will it filter your report on tab1, when you go to tab2 the report here will be filtered with the same value selected in the prompt on tab2.
    Regarding Question 3:
    If you implement 2, you cannot implement 3. You can't have it both ways. Not for the same scenario. But if you want to know how to do it in general, read this:
    http://obieeone.com/2009/08/24/how-to-stop-queries-to-automatically-fire-off-once-entering-dashboarddashboard-page/

  • Can we change filter column values in a union query using Dashboard prompt

    Hi,
    I have a requirement in which have to draw a chart report for last six months?.
    When i query against database, my query got different where clause for open month and close month.
    Say for july month bar, it got close month as july and open month as july, june, may. Like this, for june month bar, it has to have close month as june and open month as june, may, april. like this, i created six union queries using repository variable.
    Want to give control using dashboard prompt for close month and open month?
    my query look like this.
    select close month1, fact1 from table1
    where close month = july and open month in (july, june, may)
    UNION
    select close month2, fact2 from table1
    where close month = june and open month in (june, may, april)
    UNION
    select close month3, fact3 from table1
    where close month = may and open month in (may, april, march)
    UNION
    select close month4, fact4 from table1
    where close month = april and open month in (april, march, february)
    UNION
    select close month5, fact5 from table1
    where close month = march and open month in (march, february, january)
    UNION
    select close month6, fact6 from table1
    where close month = february and open month in (february, january, december)
    Welcome your suggestions on this?.
    Thanks

    Hi Karol,
    Yes the prompt is working fine when i put this following method under the "Button" Component.
    APPLICATION.openPromptDialog(800, 600);
    Somehow the when i use the "Input Field" and use the "Button" Component and write this following logic inside it i don't see the prompt is not taking the values what i am entering in input field i assume that its issue with data-source not getting refreshed.
    Variable=INPUTFIELD_1.getValue();
    APPLICATION.setVariableValue("PercentageIncrease",Variable);
    Thanks,
    Kumar

  • Limiting rows displayed from user-selection on dashboard prompt

    Hi,
    I'm looking for a way to limit the number of rows displayed after a user has made a selection using a dashboard prompt. Here is my scenario:
    User selects 24 periods of data using an 'In Between' dashboard prompt (i.e. Jan05-Dec06). 24 rows are returned by the query but I only want to show the last 12 rows (Jan06-Dec06).
    Motivation is that I'm using the MSUM function to display a 12-month moving sum total and I don't want to display the first 12 rows as they do not contain a complete moving sum total.
    I've looked at using a variable to store the user selection at the dashboard prompt, but the 'In Between' dashboard prompt does not allow one to store a result in a variable.
    Any suggestions are welcome!
    Thanks!

    Hi Som,
    Thanks again for your feedback. I've thought about using dynamic repository variables, but found them not to be the answer. Although the moving sum would always be a 12 month total, the user needs to be able to vary the range of periods using the dashboard prompt. Today he might only want to look back 12 months, tomorrow he may need a 5 year overview. Using dynamic repository variables would mean I'd have to create variables for the entire history i.e. CM until CM - 240 (20 years * 12 months). If a user then would like to report on a specific period, he would need to pick the correct dynamic variables, which would not be user friendly/acceptable.
    I think I may need to resolve this problem in my datamart by calculating & storing a 12 month total (the only 'fixed' requirement of the report) in my fact table. This would also remove the need for the user to select 12 months more that he would see in his report (a drawback of my original scenario above).
    Thanks again for your input!
    Regards,
    Dutch

  • Using a Sql Result in Default Value of Dashboard Prompt

    Hi,
    I Create a Dashboard Prompt, this have two dates, the initial and the last for a period to filter. I need to set the default value in the fist and last date of the previous month, for example, if today is 20th of november the default value of initial date has been 1th of October and the last date has been 31th of october.
    I used in default the option 'SQL Results' and use the next sentences:
    SELECT TRUNC(add_months(sysdate, -1), 'MM') FROM dual;
    SELECT TRUNC(last_day(add_months(sysdate, -1))) from dual;
    But when I try to use the dashboard prompt the result is:
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 27002] Near <(>: Syntax error [nQSError: 26012] . (HY000)
    SQL Issued: SELECT TRUNC(add_months(sysdate,-1),'MM') FROM dual
    When I try to use only select sysdate from dual; the result is:
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 27004] Unresolved table: "dual". (HY000)
    Thanks for your help.

    Thanks for your help. Finally I solve this issue of
    this form:
    1. I Create a Initialization Block with the next
    sentences:
    SELECT TRUNC(add_months(sysdate, -1), 'MM')
    INITIAL_DATE ,TRUNC(last_day(add_months(sysdate,
    -1))) END_DATE, To_char(TRUNC(add_months(sysdate,
    -1), 'MM'), 'YYYYMM') PERIOD FROM dual;
    2. Then I Create three Repository Variables and
    assign the Initialization Block to this
    3. In the Dashboard Prompt I use the "Server
    Variable" Option in the default and call the three
    variables.
    Thanks again
    EdwinHi: How u access server variable with two fields of date. Actually, I am doing the same work. But I can not do this work. Because this is ok when the date is greater than or less than. When i use between, in default server variable button did not show any text area for reoository variable. I also made initailization block with 2 fields.
    My Task is, I have to initialize the one date coloumn. From Date: and To Date. Pluzz help me in section
    Ali Haroon Nawaz

  • Regarding Dynamic Dashboard prompts

    Hi Gurus,
    I have a requirement like this.
    In an underlying dimensional hierarchy say for example Time Dimension ...there are 3 calendars hierarchy..
    1. gregorian
    2. fiscal
    3. business.
    Each one will be having different number of levels also.
    gregorian has 6..starts from Year->Halfyear->Quarter->Month->Week->Day
    fiscal has only 4..starts from Year->Quarter->Month->Day
    business has only 5..starts from Year->Quarter-> Month->Week->Day
    Now the requirement is like this.... the customer wants to have the first prompt which should have these 3 calendars as values... and if they select Gregorian..then the values should go cascaded( cosntrain) to the next level of prompt..
    if its gregorian next prompt values should be Half year...based on that, he then selects quarter, then month, week and day..
    So here we need to give 6 prompts.
    but if the user happens select fiscal ...then after selecting year the next prompt will be quarter...then month and day...so after the 4th level of prompt the last 2 prompts should be blank.
    is there any way by which we can hide these last 2 prompts dynamically??
    Note: All this is happening the requirement phase and we have not yet got the data to test this.
    Any help will be appreciated.
    Regards,
    D

    Hi,
    don't know a posibility to hide a column in a prompt, but here is a workaround...
    create 4 prompts:
    first prompt: type of calendar:
    column:
    case when 1 = 2 then Time.dummy else '' endwith show SQL results
    select case when 1=2 then  "Time".Dummy else 'gregorian' end from catalog
    union all
    select  case when 1=2 then  "Time".Dummy else 'business' end from catalog
    union all
    select  case when 1=2 then  "Time".Dummy else 'fiscal' end from catalogthis prompt will set a variable var_calendar
    create another 3 prompts each with all columns that needed for specific type of calendar.
    gregorian has 6..starts from Year->Halfyear->Quarter->Month->Week->Day
    fiscal has only 4..starts from Year->Quarter->Month->Day
    business has only 5..starts from Year->Quarter-> Month->Week->Day
    In dashbord put each calandar prompt in different sections and use guided navigation to show only the calendar prompt that you need as selected by first prompt...
    you will find here an example on how to use guided navigation
    http://oraclebizint.wordpress.com/2008/01/17/oracle-bi-101332-selecting-reports-from-dashboard-prompts-and-guided-navigation-sections/
    you will use it to hide prompts..
    Regards
    Nicolae

  • Date Constant Dashboard Prompt

    Hi,
    I would like to know how would you go about creating a Date Constant prompt in Dashboard.
    For example : User should be able to select 'LastMonth' or 'LastYear' or 'LastWeek' constant time frame and run a report.
    Report query should translate those contant to dates in the prompt.
    Example: if user selects 'LastMonth' teh date range shoudl be translating to query ( where DATE between '01/11/2008' and '31/11/2008' )
    Thanks,
    Kopii

    Hi...
    To select last month use repository variable Add_months(sysdate, -1) and give variable name. in the same way to.. other last week or last year also...
    Now use this variable in writing logical SQL in dashboard prompt...
    For second prompt use Logical SQL like,
    select date from SA where month = (selected month in prev prompt)
    Hope help you...
    Try in this way..
    Thanks & Regards
    Kishore Guggilla

  • How to use action links or master-detail event in dashboard prompts?

    Hi,
    I am new to OBIEE 11g. I have created three reports 1.Daily Data Report, 2.Weekly Data Report 3. Monthly Data Report.
    I have created one dashboard prompt in which I have specified choices as Daily, Weekly and Hourly.
    My requirement is that when I select the choice as 'Daily' I should get Daily Data report below Dashboard prompt.
    When I select the choice as 'Weekly' I should get Weekly Data report below Dashboard prompt
    and when I select the choice as 'Monthly' I should get Monthly Data report below Dashboard prompt.
    How this can be achieved in OBIEE 11g?

    Hi,
    What you do is just put this 3 different reports in 3 different dashboard sections and in section condition assign a condition based on presentation variable so that when u select weekly in the prompt only the weekly section condition should be true and other 2 section conditions should be false, in that case only the true section condition will display and false conditions will hidden.
    Try implement this u will definetly can achieve the result.
    Note: Create Variable prompt for this as best practice
    Revert for any queries.
    Mark if helpful/correct.
    Thanks
    Edited by: 934322 on Mar 19, 2013 7:49 AM

  • Issue in Dashboard Prompt of OBIEE 11g

    Hi,
    I had recently migrated from OBIEE 10g to OBIEE 11g.
    I had found that there are lot of things which were working on OBIEE 10g are not working in OBIEE 11g.
    For Eg:
    I have scenario where i have 2 dashboards with different dashboard prompts.
    - *1st Dashboard*: I have prompt with 4 columns Year, Month, Qtr and Week. I can filter the data based on the selection of prompt.i.e Summary Report showing all KPIs and when clicked on the any of the KPI it goes to Below report which shows the graphical view of past weeks data.
    - Report: Here i show all the week Ids in the Graph format and when clicked on the any week id it navigates to 2nd Dashboard(below) with appropriate week populated in the prompt and show the detailed records.
    - *2nd Dashboard*: I have prompt with 5 columns Year, Month, Qtr, Week and Day of the Week with some detailed report. Here the only Week Id should be pre populated and show data based on the week id selection in the above report.
    The issue here in OBIEE 11g is, The month Id which was selected in 1st Dashboard prompt is also getting pre populated into the 2nd dashboard prompt. Which should not happen.
    Note: This was working fine in OBIEE 10g.
    Is there any way to fix this issue in OBIEE 11g.
    Regards
    Shyam
    Edited by: user9954342 on Dec 23, 2010 2:01 AM

    Hi Bala,
    Thank you for your response.
    I had tried that and resolved my problem but it was impacting other reports i.e
    I have other reports in 1st Dashboard with different tabs, Here i want the prompt value to be persisted across the reports in same dashboard so that when i go to other tab with in same dashboard the prompt value should be pre-populated and the data should be filtered against that.
    Now if i change the scope to page then i will be loosing this functionality.
    It was working on OBIEE 10g and i lost this after migrating to OBIEE 11g.
    Can you please help me in this regard.
    Regards
    Shyam

  • Parameter for Last Week, Last Month & Last Year from the current Date

    I have a crystal report that has a StartDate & EndDate parameters from the stored procedure that I am calling. Now i got a new requirement saying that my user wants a drop-down parameter in which they need to be able to select last week (Sunday to Saturday), last month, last year instead of manually selecting start date and end date parameters? Can anyone please explain me how to do this?
    (FYI, I am using Crystal 2008)

    Hi Naveen,
    You'll need to handle the logic in the Stored Proc's where clause.
    If you're using oracle, I have something like this in the Stored Proc's where clause for our reports:
    Where {Date_Field} Between
    Decode('{?Relative Date}',
    'Yesterday', sysdate - 1,
    'Last Week', Tunc(sysdate, 'IW')-7)
    AND
    Decode('{?Relative Date}',
    'Yesterday', sysdate,
    'Last Week', Tunc(sysdate, 'IW'))
    where 'Relative Date' is a prompt in the Stored Proc and 'yesterday'. 'last week' are the 'static values' in the prompt.
    -Abhilash

  • OBIEE 11g Dashboard Prompt Reset Button Functionality

    Dear Experts,
    Can anyone explain what is the exact functionality of 'Reset' Button in any OBIEE 11g Dashboard Prompt.
    If anyone found any documentation related to it... please let me know.
    thanks,
    Varun

    Hi Varun,
    This is the functionality of Reset button,
    Reset will go back to last applied values. It does not clear values. Currently the Reset button works in the following ways:
    if 1) the prompt is blank 2) select some value, 3) reset 4) it should go back to blank.
    if 1) the prompt is blank 2) select some value, 3) apply 4) reset. 5) it should NOT to back to blank. actually it does not change anything.
    if 1) the prompt is blank 2) select some value, 3) apply 4) change any values 5) reset. 6) it should undo any changes in step 4.
    Rgds,
    Dpka

  • Dashboard Prompts in OBIEE 11g

    Hi all,
    I had a requirement:
    In my dashboard page , prompts are YEAR , QUARTER , MONTH , PRODUCT NAME , ORDER NAME .
    Now when i select  YEAR = 2010 , then Quarter should display values related to 2010 .
    If i select Quarter = 2010 Q1 then month should display only related values.
    which is like creating dependency between the dashboard prompts.
    Can some one please help me in this issue .

    In your dashboard prompt properties you need to tick the 'Constrain' box for all the columns that you want be constrained by the other choices, e.g Year, Quarter, Month.
    Only tick Product Name / Order Name if you want these to be constrained also but bear in mind it could cause a performance delay if you are having to join tables to get the constrain.
    Hope this helps,
    Regards
    Alastair

  • Issue with Dashboard Prompt passing value to Presentation Variable

    I have 2 tabular reports that grab 2 variables respectively: @Month and @Year.
    The reports work fine.
    My issues is that to compute the most recent month & year, so I can pass the values to the 2 variables mentioned above, I have a dashboard prompt on the same page as the 2 reports. In the dashboard prompts (Edit Box types), I have SQL in the "Default" that computes the most recent month & year. This logic also works perfectly when you preview the results of the prompt.
    My issue is that when I land on the page, it seems that the month & year prompts are not computing. I have an old value of "Dec" "2009" instead of "May" "2010".
    It seems the Default SQL logic is NOT running on its own? As an aside, we do our development in a test environment and the catalog is promoted to production nightly. The "Dec" and "2009" I see is the correct value for the test environment, so it looks as if the defaul values are just being migrated with the catalog, but then the SQL to compute the latest values of the 2 propmts are never executing when the user lands on the page? Thus everyone sees Dec 2009 data instead of May 2010...Help!

    Hi,
    dgerena wrote:
    My issues is that to compute the most recent month & year, so I can pass the values to the 2 variables mentioned above, I have a dashboard prompt on the same page as the 2 reports. In the dashboard prompts (Edit Box types), I have SQL in the "Default" that computes the most recent month & year. This logic also works perfectly when you preview the results of the prompt.You are creating the second prompt (edit box) to make the first prompt values, You can use the same sql in the report default to SQL in the first prompt itself.
    If I am wrong please clarify.
    Thanks,
    Vino

  • How to convert date in the dashboard prompt

    can anybody tell me how can i conver the date into month year format in the dashboard prompt
    originally i am getting data as a date in the dashboard prompt.i want to change that to MON YYYY format.
    can anybody tell me how can i change the original date format into MMM YYYY format

    hi,
    Try with evaluate function in prompt Fx use the following syntax
    Re: Date function
    Else, EVALUATE('TO_CHAR(%1,%2)' AS CHARACTER ( 30 ), Date."Calendar Date", 'MON-YYYY')
    What you are expecting to be in Prompt was it Mon-2009 right"?
    Thanks,
    Saichand.v

  • Constrained values not generating correctly in Dashboard prompt

    Hi,
    I have a dashboard prompt which has 4 drop downs viz From Month, From Year, To Month, To year and one Mullti Select Product.The default and the drop down values for the first four prompts are controlled by SQL queries so that in drop down only those values are displayed in the drop down for which i have data in my fact tables and the multi select of product is a constratined one.
    As per the current scenario i have data for current month - 1 (say if current month is August so i have data for July). In the default values for these prompts i show the current month and year (August and 2010). So when i select July in my From Month prompt the values for other promts get set to August and 2010 for month and date prompts (both From and To). And then when i click on the multi select of product no values are shown on OBI screen even though they are in database.
    This is due to the fact the query that OBI genrates in the backend the To Month is set to August not May, even though May is shown on the dashboard.
    However, if cilck on GO then the values for contsratined promt are generated correctly and also the backend query changes the To Month is set to May.
    Could somebody help me to resolve this problem.
    Thx :)

    Reminds me of a bug I hit with constrained prompts and a time dimension, but I didnt have another dimension (your Product) in my case. I'll try and dig out the bug number for you. - Have you got a support account to login and check it out?

Maybe you are looking for