Dashboard Prompt Question and Header

Hi,
How can I make the the years chosen in the prompt appear as year-year in the header?
Now, when I choose a year 2005-2008, it appear as 2005,2006,2007,2008 (I use @{Year}).
Is there anyway to make it appear as 2005-2008?
Thanks pros.

Hi,
Try this code.....
<script type="text/javascript">
var length1;
     var year_first;
     var year_last;
var temp=new Array();
     temp = '@{year}'.split(",");
     length1 = temp.length;
     year_first=temp[0];
     year_last=temp[length1-1];
document.write("Year range is "+ year_first +"-" + year_last);
</script>
Regards,
Arul
Edited by: ArulV on Jul 7, 2011 2:19 AM
Edited by: ArulV on Jul 7, 2011 2:28 AM
Edited by: ArulV on Jul 7, 2011 2:28 AM

Similar Messages

  • Dashboard prompt - OBIEE and Publisher

    I'm using OBIEE 11g, when I added BI publisher report in the dashboard, it seems like the parameter are not there anymore. How can I add Bi publisher report parameters into the dashboard?

    Hey,
    I am not quite clear with your question, but this is how the dashboard prompts and parameters work in OBIEE 11g. You create a dashboard page, and embed the necessary dashboard prompts in it. When you create the dashboard prompts, you make sure the selected value is populated into a presentation variable by checking the set variable option to presentation variable and giving the variable name, the same parameter name you set on the column in the BI Publisher parameter.
    Lets take a quick example:
    - You are in BI publisher creating a data model, and you got to the point where you are ready to create parameters for the data mode.
    - You give the parameter a name ( lets take ABCD123 for instance is the name of the parameter you created).
    - In the OBIEE dashboard prompt, you give the same name for presentation variable.
    - The variable name synch's up and filters on the value accordingly.
    Thanks,
    -Amith.

  • Dashboard prompt value update question

    All,
    I am hoping to see if anyone can answer my question or whether it is a bug or an enhancement request is needed to send to oracle.
    The issue is with my Dashboard prompt, plain and simple to there are two prompt. The second is reliant on the value of the first prompt.
    For example, My Parent prompt is Channel, and the second is Sub-Channel.
    When Channel prompt is given a value, I want the sub-channel to contain only the values that are related to the Channel prompt's new value.
    However it doesn't work, I have to press the GO button first, then the sub-channel will contain the values. Is there a way to update the sub-channel value based on the update of the Channel prompt, and not by pressing go.
    Any help will greatly be appreciated, if this needs to be an enhancement request to Oracle, please inform me of what I need to do. Thank. JAR80

    Its obiee limitation and conceptually its logical. Because when you choose constrain, BI server internally generates sql for constrain prompt. If we mention the sql, BI server uses the sql and which did not use the constrain query.
    this similar topic is discussed once here, and workaround posted. but it is some what complex, so need to do check before implementing.
    Can presentation variable created in one Dashboar prompt be used in other?
    - Madan

  • How to include the Age and Age operator in Dashboard prompts

    I wouild like to create two new dashboard prompts 'Age' and 'Age Operator' both as drop downs.
    The 'Age' prompt should have the values from 1-100 as dropdown for the users to select from.
    The 'Age Operator' should have the values <, <=, >, >=, = as dropdown for the users to select.
    I have PERS_DOB column in Person table. I do not have any operator values stored in any tables.
    How can I create these two dashboard prompts so that the user can select the values from the
    dropdown list and filter the results against.
    For example:
    User select Age 20 from Age dropdown prompt and '<' from the Age operator prompt the results
    should filter based on the above and should get us the records for the people whose
    Age is less than 20.
    I appreciate any help on this.
    Thanks.

    You could try this:
    1) For the "age operator" prompt, use words to describe the operators (e.g., "less than" rather than the symbol <=, etc.). (I'll assume you know how to build the prompt using CASE statements and UNION. It's pretty straightforward.)
    2) Build 5 small reports, one for each operator, that only returns a row when the particular operator is selected in the prompt. Each of these reports will be in the guided navigation of a separate section.
    3) Now, build 5 versions of your report with a filter on the "Age" prompt, one report that calculates the 5 different permutations of the age chosen (i.e., less than prompt, less than or equal to prompt, etc.) and put each report in the guided navigation section that corresponds to the applicable small report you built in step 2. So, for example, for the section that returns a row when "less than" is chosen, put the report that filters for "age less than 'age prompt'."
    So here is how it works: When the user selects an age and operator, only the section that corresponds to the operator selected will display because of the guided navigation. The other 4 sections will not show, because the small report in the guided navigation part of the section will return no rows.

  • Question on Dasboard prompts design and its funcitonality

    Hello Gurus
    I have 3 reports and each report has 2 dashboard prompts
    1) Report 1 has dashboard prompts, Category and Product
    2) Report 2 has dashboard prompts ,Product and Brand
    3) Report 3 has dashboard prompts, Category and Brand
    These 3 reports are placed next to each other on a dashboard not i want to control each report separately by its dashboard prompts, for which i assigned a presentation variable for each dashboard prompt and in the filter section of each report i assigned the same variable @. The issue is when i change category to electronics in one report report 3 category is also changing with it and i want the category on first report to control just that report the other report dashboard prompt should not change. Please advise.
    Long story short is there a way that the dashboard prompt can be applied to just one report instead of the whole page on the dashboard.
    Thanks
    Ravi
    Edited by: user1146711 on Nov 7, 2012 11:47 AM

    Hi Ravi,
    With the limitation on the Variable Prompts the trade off would be to enable multi select and enable to type values into the prompt. If this is something which is not feasible then we can have the filter like (category=@{v_category} or category!=-1) where it would by default run for all categories. To avoid the report to show up with all categories and force selection of prompts we can use section condition with dummy report.
    Please let me know if this helps.
    Regards,
    Jay
    Edited by: user10654508 on Nov 7, 2012 12:59 PM

  • New to dashboard prompts and having problems

    I am trying to use two dashboard prompts as presentation variables (which I have never used before) for the start and end dates of a date range for a report.
    I created two dashboard prompts: pvStartDate and pvEndDate as you suggested. For these dashboard prompts, the operator is "is equal to or is in", the control is Calendar, and "Default to" is Report Defaults. I selected "Presentation Variable" and named as pvStartDate and pvEndDate.
    At the suggestion of a seperate post, I am using these presentation variables as filters in the report. Currently I use the two fillter method: Modified is greater than or equal to @{pvStartDate} and Modified is less than or equal to @{pvEndDate}.
    I get the following error when trying to procede:
    Error getting drill information: SELECT Lead."First Name"||' '||Lead."Last Name" saw_0, Lead."Product Interest" saw_1, Lead.Status saw_2, Activity.Type saw_3, Activity.Subject saw_4, Activity.Description saw_5, "- Owned By User"."Employee Name" saw_6, "- Due Date"."Task Due Date" saw_7, Activity."Last Modified" saw_8, Activity.Status saw_9 FROM "Activity Lists (RTO5)" WHERE (Lead."Product Interest" = 'Forensic/IST') AND (Activity."Last Modified" >= timestamp '0000-00-00 00:00:00') AND (Activity."Last Modified" <= timestamp '0000-00-00 00:00:00').
    Any help would be appreciated.

    Thanks for your response.
    Actually, the error was from pulling at the dashboard.
    I decided to go the easier route and use the step-three prompt in the filter.
    It seems, though, that the operaters "between" and "less than or equal to" do not contain the final prompted date in this system as the date is indicated as 12:00 AM--or midnight at the start of the date.
    This system is so strange.

  • Dashboard Prompt Execution Order

    Hi everyone,
    I wanted to create a few test cases to see which order the Dashboard prompts were executing. What I did was I created two identical dashboard prompts, DBP1 and DBP2, on column "Account Number". I set DBP1 to Default to Specific value of 1. I set DBP2 to Default to Specific value of 2. My assumption is that the last prompt that executes is the value that will be shown in a dashboard.
    I put the two prompts into a Dashboard and ran a few tests and here is what I found out:
    1. The order in which the prompts appear are the dashboard is irrelevant to the execution order.
    2. The value to which the prompts are set to is irrelevant to the execution order
    3. The name of the dashboard prompts is irrelevant to the execution order
    4. The alias of the dashboard prmopt is irrelevant to the execution order
    In my trials, the second dashboard prompt's value was always the one being shown. So I created a third dashboard prompt DBP3 set to value 3. Then all the prompts had 3 as their value. My conclusion is that DB prompts are executed in the order in which they are created. Some where in their metadata, there must be a sequence number or internal ID that grows each time a DB prompt is created. Then OBIEE uses this identifier to determine execution order.
    Can anyone confirm or deny that?
    Thanks!
    -Joe
    Edited by: Joe Bertram on Dec 5, 2009 10:44 AM

    Hi Sunil,
    Thanks for the reply. You are correct. Its seems that the dashboard prompts do execute asynchronously.
    It turns out the reason why I was seeing newer dashboard prompts taking precendent over older dashboard prompts has to do with the cache. Apparently the last dashboard prompt in the cache, is the value all the prompts will have.
    thanks!
    -Joe

  • Issue with presentation variables, dashboard prompt and filter

    Dear Guru's,
    I have a question about constraining a request with presentation variable set by a dashboard prompt. I have a dashboard prompt, that stores its value in a presentation variable . The prompt is about region. When the dashboard opens, the default of the prompt is all choices and it needs to show my reports with "All Choices". I've created the following filter on my two reports on the dashboard:
    "Dim Student"."Region" = '@{variables.GILLES}'
    or '@{variables.GILLES}' IS NULL
    One report is just the column "Dim Student"."Region" (to see if it works) and with this report the above filter works just fine. When nothing is prompted it shows "All Choices" when a choice is made the report responds accordingly.
    BUT
    The second report on my dash with the same region column, but extended with some time dimension columns and a measure gives an error which I'm not able to solve.
    +State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 14023] None of the fact sources for ToDate(# Feitelijke Instroom:[DAggr(Feit Instroom en Uitstroom Opleidingen.# Feitelijke Instroom by [ Dim Tijd.Maand Omschrijving, Dim Tijd.Maand Nummer, Dim Tijd.Jaar, Dim Kwalificatie.Kwalificatie Niveau, Dim Leerling.RCBREGIO Regio] )], [Level JAAR]) are compatible with the detail filter [Dim Tijd.Maand Nummer = 3, Dim Tijd.Jaar = 2010].+
    +(HY000)SQL Issued: SELECT "Dim Tijd".Jaar saw_0, "Dim Tijd"."Maand Nummer" saw_1, "Dim Tijd"."Maand Omschrijving" saw_2, "Dim Kwalificatie"."Kwalificatie Niveau" saw_3, "Dim Leerling"."RCBREGIO Regio" saw_4, "Feit Instroom en Uitstroom Opleidingen"."# Feitelijke Instroom Cumulatief" saw_5, REPORT_SUM(saw_5 BY saw_0, saw_1, saw_2) FROM repos_x WHERE ("Dim Tijd".Jaar = 2010) AND ("Dim Tijd"."Maand Nummer" = 3) AND (("Dim Leerling"."RCBREGIO Regio" = 'Noord-Oost') OR ('Noord-Oost' IS NULL)) ORDER BY saw_0, saw_1, saw_2, saw_3, saw_4+
    While the exact same report but without the "or '@{variables.GILLES}' IS NULL" doesn't throw any errors but doesn't show the "all choices" by default.
    The ultimate goal to achieve is to build a dashboard with several reports from several subject areas with one single prompt that opens default with "all choices" and constrains the reports accordingly.
    Any help is highly appreciated.
    Kind Regards,
    Gilles

    Phani,
    I know "All Choices" is a special value and that it doesn't represent NULL. My filter construction seems to work fine.
    My filter condition:
    "Dim Student"."Region" = '@{variables.GILLES}'
    or '@{variables.GILLES}' IS NULL
    When it's set by the prompt it filters the request accordingly (first condition evaluates to true), when it's not set the second condition evaluates to true and shows all the results (or it's not filtered).
    The problem is that it doesn't work when time dimensions are combined with this filter. Then it throws the error mentioned in the first post.
    By the way: your suggested solution doesn't work.

  • NULL and Unspecified in Dashboard prompts after upgrading 10g to 11g OBIEE

    Hi All,
    We are working on OBI upgradation project from 10g to 11.1.1.6.5. We are facing one issue in Dashboard prompt level. If we can create Dashboard prompt on a column, its giving "NULL", "Unspecified" additionally. But, in 10g there are no extra values.
    And the 10g, 11g instances are pointing to the same database and there are no NULL, Unspecified values in Database level.
    Through some blogs and articles we found some solutions n are below.
    To remove NULL:
    -->Go to the Physical Column properties in Physical Layer and Disable the Nullable option by uncheck the box.
    -->Go to the Database Features in Physical Layer and disable value to NULL_SUPPORTED.
    -->Go to Edit Dashboard Prompt, in Choice List Values drop-down list select SQL Results.
    To remove Unspecified:
    -->Go to Edit Dashboard Prompt, in Choice List Values drop-down list select SQL Results, then write the SQL statements as columnname is not equals to "Unspecfied" ( In this way we can able to remove Null's also.)
    -->Go to Content tab of LTS, in Where clause write an SQL query to restrict Unspecified values.
    Note: CHeck with ETL, because if they maintains the Default value is Null when the Datatype is Character and they can maintain 9999 or #### if the datatype is Numeric. And check the Physical query and debug it carefully.
    But, we have very big Repository and we have huge no.of Dashboard prompts. So, its not an easy thing to manage by using above solutions. Correct me if there are any mistakes in above.
    Any ideas on this...?
    Appreciate your help on this..!
    Thanks in Advance,
    Raghu Nagadasari

    Hi Frnds,
    As of now, i found the only solution for the above mentioned issue that how to avoid NULL in dashboard prompt level:
    Go to the Physical Column properties in Physical Layer and Disable the Nullable option by uncheck the box.
    We have done this manually for all tables.
    Appreciate if u have any other ideas.!!
    Thanks,
    Raghu Nagadasari

  • I cant able to create a new Analysis and Dashboard prompt in OBIEE 11g

    Hi Gurus,
    i try to create a new Analysis in OBIEE 11g in (brower: ie,Google chrome, Mozila), i got the error "*unterminated string literal*" and "*Exception at function updateSelectionsPanel: unterminated string literal*".
    and i try to create a new Dashboard Prompt using column prompt when i select the column i don't get the filter form and not to be add the column prompt in the Dashboard Prompt.
    Thanks,

    Moving this discussion to the Adobe Creative Cloud forum.
    Kriskristferson if you are facing difficulties with your order then please contact our support team directly at Contact Customer Care.

  • Inserting a link to BI Publisher report and passing the dashboard prompts

    I have an answers dashboard where there are various prompts (say P1, P2, P3, P4  -all these are date prompts )and various  reports.
    These Prompts are stored as Presentation variable say var1, var2, var3, var4.
    I need to insert a Link on this page to a BI Publisher Report.  BI Publisher report also has some prompts say D1, D2, D3 , D4, D5, D6
    The link should take the values from the prompts of this page and open the BI Publisher report with D1= value of Prompt P1,
    D2= value of prompt P2, D3= value of Prompt P3, and D4= value of Prompt P4.
    I was easily able to use an action link -> "Navigate to Web Page" option.  I gave the URL for this BI Publisher report and clicking on that link takes me to the report.
    But I am still figuring out out to send the values of the prompts.
    The BI Publisher Report is :
    - built from an RTF template.
    - uses a SQL Query with Bind variables to get the value of its prompts D1, D2, D3, D4, D5, D6.
    - Suppose D1 is bind variable :date1, D2 is bind variable :date2, D3 is bind variable :date3 and D4 is bind variable :dat4.
    So my first try was to append the value of bind variable to the URL
    https://xxname.server.com/analytics/saw.dll?bipublisherEntry&Action=open&itemType=.xdo&bipPath=%2FSurvey%2FPhoneCount%20Record.xdo&path=%2Fshared%2FSurvey%2FPhoneCount%20Record.xdo.xdo&date1=var1
    Can someone suggest the steps I need to take to make this work.
    Thanks

    Hi, I am facing the same issue (OBIEE 11g version0
    Please let me know if you found any solution or workaround for this?
    Thanks!!

  • Can I pass parameters from a dashboard via a dashboard prompt and presentation variable to publisher report based on a data model with select statements in OBIEE 11g ?

    I have a publisher 11g (v 11.1.1.7)  report with a single parameter. The report is based on a data model not a subject area.  I created a dashboard put a dashboard prompt and link to the report in separate section on the same page.  The dashboard prompt sets a presentation variable named the same as the parameter in the report. 
    The problem was when I created the dashboard prompt, it forced me to select a subject area which I did (though did not want to) and then I created both a column and variable prompts. But clicking on the
    report link completely ignored the value that I thought would be passed in the presentation variable to the report.
    Side note :  My report uses a pdf template for its layout where I have mapped the columns names from my data model to the form fields on the pdf form.  I noticed that if I create a publisher report based on a subject area, then I do not have the choice to choose a PDF as a template type for my layout.  (I only see BI Publisher Template as a choice). 
    I see some documentation online that suggest it could be done in 10g.
    Thanks
    M. Jamal

    Ok,
    I just tried that and it still doesn't pass anything to the prompt.
    I changed the prompt to an edit field and I made the following weblink but when i click the link from an account it doesn't put anything in the prompt and all data for all accounts is shown.
    This is the URL maybe I messed something up...
    https://secure-ausomx###.crmondemand.com/OnDemand/user/Dashboard?OMTHD=ShowDashboard&OMTGT=ReportIFrame&SelDashboardFrm.Dashboard Type=%2fshared%2fCompany_########_Shared_Folder%2f_portal%2f360+Report&Option=rfd&Action=Navigate&P0=1&P1=eq&P2=Account."Account Name"&P3=%%%Name%%%
    thanks

  • Dashboard prompts are getting cached and not working as per data level security

    Hi,
    Version: OBIEE 11.1.1.5 BP2
       We have dashboard prompts that have data level security defined in RPD - Content tab of an LTS.
    After clearing cache, the dashboard prompt applies the security properly. When another user who has a different security defined, is seeing the same prompt values on clicking the drop down of a prompt and also when they click search prompt popup.
    Issue is, for second user, I do not even see cached query in the session logs. Tried applying the DISABLE_CACHE_HIT=1 in the prompt sql results, no luck.
    But reports are applying the security correctly, issue is with prompts alone.
    Any thoughts on this?
    Thanks,
    Rajesh

    Just for others reference: We disabled caching on the table to avoid this issue.

  • Using a column twice in a dashboard prompt -- multi-select and wild-carding

    My client is using OBIEE 10.1.3.2; they cannot upgrade at this time. However, they want to be able to enter both a list of values and a wild-card search for additional values at the same time for a single column in a dashboard prompt.
    Since they cannot upgrade, they do not have the wild-card search feature of the enhanced multi-select prompt feature of 10.1.3.3 and later releases.
    Has anyone found another method to do this, perhaps by using a column twice in a dashboard prompt or in separate dashboard prompts on the same dashboard apge, in order to OR the results of a multi-select and an edit box (with wild-card pattern-match entry)? I suspect that will not work -- that the results sets of one prompt for a column will override any other prompt result sets for the same column.
    Has anyone found another way to do this, prior to release 10.1.3.3?

    Yes, it is possible.
    This is how to do it:
    In your report you need to add two filters on the same column and combine them with OR.
    First filter: is prompted.
    Second filter: is like presentation_variable
    Then protect this filter!* This will make that your prompt will be filtered on the pres. variable and that it won't be overwritten by another prompt.
    Now create your dashboard prompt:
    First add your column with an edit box and attach the presentation variable to it.
    Then edit the formula of the column, so it will not reference to the column anymore. (Which isn't needed, since the value will be set to the pres. variable.)
    Then add the same column with a multi-select.
    Then test it and check your results.
    Regards,
    Stijn

  • XMLP Parameter And BIEE Dashboard Prompt "All Values"

    Hi Gurus,
    I want to insert a XMLP Report in the BIEE Dashboard and use a Dashboard Prompt as parameter in the Report.
    There is a way to use the "All Values" value of the prompt?
    I write a XMLP data model as:
    select dim_1.Attribute as Dim from BIEESubjectArea where dim_1.Attribute = :Parameter;
    Parameter is return by the BIEE Dashboard.
    It works for all different value of the Parameter but not if I select the "All Values"
    There is a way to make it works?
    Regards,
    Daniele

    Hello Daniele,
    When 'All Values' is selected (for Show), it basically displays all values avaliable for the parameter. Are you talking about 'All Choices' option? Selecting 'All Choices' will pass null values and you would have to modify your answers filter to accomodate that.
    Take a look at the following: http://108obiee.blogspot.com/2009/04/detecting-all-choices-from-dashboard.html
    Hope that helps!

Maybe you are looking for

  • One method or several methods

    Hi all I have question. I am working on an application where I need to set 8 variables a couple of times. The same variables are all set at the same time into different forms. I am curious which people would think would be be best. Each form having 8

  • BW-WebI Report: MDDataSetBW.GetCellData.  System error in program

    Hi, I'm trying to run a WebIntelligence Report connected with BW Query but return error before showing the results. The error is: Error in MDDataSetBW.GetCellData.  System error in program CL_RSDRC_MULTIPROV and form SETRESOLVE-01- (consid.TxtDescrit

  • What is CPI-C in "Ports in Idoc processing (we21)?

    Hi all, CPI-C is below file in the tee on left pane. What is it? Please explain in layman terms also and if possible point me to related files or threads. Thanks, Charles.

  • Run time error in imlicit enhancement

    hi friends iam working with an implicit enhancement but when i try to create this its taking name and package after when i try to conform it it is going to runtime error giving like uncaught exception. and when i have done same in different system it

  • JWS on client with 56Kb/s modem

    Is it practical to plan a Java application to be run on a JWS environment on a hardware close to minimal system config - 466 Mhz pentium, 128 MB memory, and connected to the Internet using 56Kb/s modem. The application is to provide for off-line work