'is between' used in Dashboard Prompt

I have two columns used in the Dashboard prompt:
1. Department Description: Based on Department ID (In the BMM Layer, the descriptor column is Department ID)
2. Employee Name: Based on Employee ID (In the BMM Layer, the descriptor column is Employee ID)
Example of the data stored in the DB:
Department Description: Sales
Department ID: 01
Employee ID: 1001
Employee Name: 1001 - ABC
Dashboard Prompt Scenario 1:
Simply select two columns mentioned above, the prompt works fine.
Dashboard Prompt Scenario 2:
- Select two columns in the prompt (Employee Name and Departmemt Description)
- Default the Department Description to 'Sales'
- For the column Employee Name, use the operator 'is between' and default the values '1001 - ABC' to '3001 - XYZ', then the column Department Description shows the value for Department ID (01). The expected result is that the column Department Description should show the value 'Sales'
- If the operator for Employee Name is changes to 'is equal to', the expected output is achieved.
- Its only with the operator 'is between' when the expected output is not achieved.
Has anyone encountered similar issue earlier?

I have two columns used in the Dashboard prompt:
1. Department Description: Based on Department ID (In the BMM Layer, the descriptor column is Department ID)
2. Employee Name: Based on Employee ID (In the BMM Layer, the descriptor column is Employee ID)
Example of the data stored in the DB:
Department Description: Sales
Department ID: 01
Employee ID: 1001
Employee Name: 1001 - ABC
Dashboard Prompt Scenario 1:
Simply select two columns mentioned above, the prompt works fine.
Dashboard Prompt Scenario 2:
- Select two columns in the prompt (Employee Name and Departmemt Description)
- Default the Department Description to 'Sales'
- For the column Employee Name, use the operator 'is between' and default the values '1001 - ABC' to '3001 - XYZ', then the column Department Description shows the value for Department ID (01). The expected result is that the column Department Description should show the value 'Sales'
- If the operator for Employee Name is changes to 'is equal to', the expected output is achieved.
- Its only with the operator 'is between' when the expected output is not achieved.
Has anyone encountered similar issue earlier?

Similar Messages

  • How to add some text between columns in dashboard prompt?

    Hi,
    OBIEE version:10.1.3.4.1
    Can we add some words between columns in dashboard prompt?
    like, I want to add OR, make sure user not to select different month, if selected the different months it will make the report no data.
    Month OR Date Range(this is a calendar)
    Does anyone have any idea about this?
    Thanks in advance!
    Regards,
    Anne

    Hi,
    If you are using the prompts with presentation variables or referring only the columns separately then you can create individual prompts and place static text between them.
    But if you need to have both the prompt columns together then create the prompts and use 'space' as the label names for both.(ie prompts would appear but the name wont appear). And create a static text in the page or in a report and place in the page. Which appears as the name of the prompt with 'OR' between the prompt names.
    This should solve your problem.
    Edited by: MuRam on Jan 13, 2012 10:18 AM

  • 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

  • Problem showing constrained values in dashboard prompt using a specific val

    Hi all,
    I'm using a dashboard prompt showing several fields ie Company, Business Area, Dept. They are set as the following:
    Drop Down List Box
    Show > All Choices, Constrained
    Default > Specific Value
    The requests work fine with these prompts. The problem is if I go to Dept drop down, all I see are '(All Choices)' and the default dept I established defining the prompt. There are other depts for the same Business Area that I want to see, not just the default value.
    What did I do wrong?
    Thanks in advance

    Hi ,
    may be the problem with company also ,you enabled the constrained to company as well i guess..
    Just check with this order Business Area,Dept , Company , .. enable the constraint for company and Dept and test the prompt by selecting the business area , are you able to see the company and dept correctly or not.
    Just a testing method ...helpful for you.
    Thanks,
    Ananth

  • 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

  • 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.

  • Need to store variables from multi-select in Dashboard Prompt.

    I am using a Dashboard Prompt with a Drop-down List Control. The user selected value from this Drop-down List Control is stored in a Presentation Variable.
    I would like to use a Multi-Select Prompt and store all multi-select values in a variable string. I have read that is not possible to use Presentation Variables with a Multi-Select Prompt.
    Does anyone have a workaround for this?
    Thanks,
    Stan

    Check out this thread here:
    Re: Display values selected in Multiselect prompt

  • How to translate dashboard prompt year/period into literal date range

    I am using OBIEE 10g. I have a dashboard that prompts for a fiscal year and fiscal period (both are numeric data types). I need to use these values in the date filter for my answers request - however, to fully utilize the indexes and partitioning that have been set up on my fact table (Teradata database) I need to be able to convert fiscal year/period to a literal date range and pass literal date values (i.e. 10/01/2011 - 10/31/2011) to my answers filter. So far I have been unable to do this, I'm hoping someone has some ideas.
    Here are some things I've tried so far:
    In the dashboard prompt, set variables var_year and var_period (which would be set to 2012 and 10, respectively). Create a filter on my answers request for Date (from calendar dimension) that calculates a min/max date value based on var_year and var_period. While this works to return data, the sql is not optimized as it does not contain literal date values for the filter (10/01/2011 - 10/31/2011).
    Create a subreport that takes the year/period from the dashboard prompt and calculates 2 columns, one for the "From Date" (using min calculation) and one for the "To Date" (using max calculation). Then create a filter on my answers request that uses the results of this subreport to create the date filter. Again this works - however, instead of passing the literal date values for from and to dates, it passes the min/max calculations so that these are executed again in the answers request sql. Therefore again this is not optimized, as it is not passing literal date values for the filter.
    I have only been able to get this to work by creating a prompt for entering a from and to date directly, and using this to pass to the answers request filter. This generates optimized sql as it contains literal date values. However, this is not acceptable to the users as they want to enter fiscal year/fiscal period at the dashboard prompt, not a date range.
    I have tried to get the fiscal year/fiscal period columns in the dashboard prompt to set another dashboard prompt for a date range, thinking I could then set new presentation variables for those from/to columns to use in the answers request, but I can't figure out how to do this. Is this even possible, to use a dashboard prompt value to set a subsequent dashboard prompt value?
    Is there some other method of converting these prompt values to literal dates that I am missing?
    Thanks in advance for any help you can provide.
    Rhonda

    Disregard. I gave up and just brought in the Fiscal Period Start Date and Fiscal Period End Date to the rpd so I can use them in the dashboard prompt, created presentation variables for each, and used those in the report filter.

  • 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!

  • Analysis prompt vs. dashboard prompt for setting presentation variable

    I have a requirement to include a prompt on the analysis (not dashboard) to select a year. This sets a variable when is then used in Report A. I then use the variable for a column filter, which passes 3 parameters to Report B.
    If doing this using a dashboard prompt, everything works as expected. The variable and other row items are used in Report A and passed to the Report B via a Navigate to BI Content Action Link. When using the analysis prompt to set the presentation variable Report A works but then I get this error when navigating to Report B.
    An invalid object was accessed during evaluation.
      Error Details 
    Error Codes: QBB4RZQS:SDKE4UTF

    I have a report in which I use Oracle analytic functions. But I have to show only subset of all records because of analytic functions. In case of ListBox I use a presentation variable in a FILTER(expr1 USING expr2). How may I do this in case of multiselect prompt? It doesn't support presentation values.

  • Dashboard Prompt to filter multiple Subject Areas (in a Combined Analysis)

    I have a Combined Analysis where I am combining multiple Subject Areas. I want to add this report to a dashboard to use a dashboard prompt to filter by the Year.
    The problem I have is because the 'Year' value in each subject area has a different Column Formula ("Close Date"."Calendar Year" and "- Custom Number/Integer (Custom Object 2)".INDEXED_NUM_0)) I'm unable to have a single 'Year' prompt filter both Column Formulas.
    I have it currently working by creating two dashboard prompts - one for each subject area - that each ask for the Year to filter by.
    Is there a way to have a single prompt for Year and somehow have that filter both subject area's 'Year' value?

    I have tried a bit with no luck.
    In the Dashboard Prompt on that 'Year' filter I set the Presentation Variable to 'FILTER_YEAR'.
    I then set the filter in the report to be Equal to a Presentation Variable with the Variable Expr set to 'FILTER_YEAR'.
    When I run the report and enter the filter year it doesn't bring back any data for that report.
    Anybody have experience using the Presentation Variables?
    Thanks

  • Dashboard prompt - Hierarchy Drop down list

    Hi gurus,
    Is it possible to create a hierarchy in the dashboard prompt drop down list
    For example i have 2 paramater fields :
    Drop Dow List - 1 Department and
    Drop Dow List - 2 Job Title
    Drop Dow List - 2 is having dependency on Drop Dow List - 1, so when user choose the Department, Drop down list -2 (Job Title) value will change accordingly
    Can we do this using a dashboard prompt? Pleaseee advice
    Thanks in advanced,
    Fina

    Hi,
    I have a suggestion but it may not be perfect
    Use presentation varaible to capture the department value and use this as an input to restrict the "Job Title" choosing "SQL Results" under Show option with a query like this SELECT Employee."Job Title" FROM "Account Lists" where Employee.Department = '@{department}'
    Ensure the department prompt has a default value set in
    Also the new revised options for job title only comes up after you hit "Go" (It doesnt refresh automatically)
    As an alternative, you can also try out keeping them as 2 different dashbaord prompts. On hit of first Go, the next gets refreshed
    Hope this helps !!!
    -- Venky CRMIT

  • Two dashboard prompts on single column expression

    Hi
    i need to use 2 dashboard prompts
    currency-transactional,operational,reporting
    period--ptd,ytd,qtd
    i have netamount ,reporting netamount,operational netamount columns
    i calculated ptd,qtd,ytd in rpd
    iam using currency and period as prompts
    how to do this

    Hi veera
    now iam give clearly
    on the netamount column i apply presentation variable for ptd,ytd,qtd
    then period prompt is working
    and im apply another promt currency
    if weselect currency-transactional and currency=ptd in prompt
    then it give transactional ptd netamount
    if weselect currency-reporting and currency=ptd in prompt
    then it give reporting ptd netamount
    like this i get the values
    please give some detail help with sample example

  • Can we use Evaluate Function in Dashboard Prompt

    Hi
    Can anybody tell me
    Can we use Evaluate Function in Dashboard Prompt.
    If yes...How
    Thanks in Adv

    Yes ! You Can!
    while creating the dashboard prompt, under "Show" pick SQL results and you write the SQL statement and include the EVALUATE function.
    I have several such examples. Most of of dashboard pages are parameter driven.
    1. 1st paratmeter - users specify the dates
    2. 2nd parameter - constrains the results for the period specified in 1st paramter and my SQL for 2nd paramter looks like this -
    SELECT table1.column1
    FROM table, datedim1, table1,table2
    WHERE datedim1.date BETWEEN EVALUATE( 'TO_DATE(%1,%2)','@{presentation variable1}','dd/mm/yyyy') AND EVALUATE('TO_DATE(%1,%2)', '@{presentation variable 2}','dd/mm/yyyy')
    HTH
    Mahesh

  • How to create 'NOT in between' dashboard prompt on a column

    Hello Guys,
    I have a simple request where the dashboard prompt has to send in data for 'NOT in between'. OBIEE does not give this option by default..
    Any one who tried this .. can you please help with some pointers on this.
    Column1 less than 100 or greater than 2000 --> This condition has to be sent from the dashboard. So my option in SQL is to use NOT in between 100 and 2000.
    Thanks in advance
    Kris

    Hi kris,
    in the prompts you will have not between condition check out....if not write a SQL like this for the prompt
    SELECT FROM table_name WHERE column_name not between 100 and 2000*
    (OR)
    SELECT FROM table_name WHERE column_name >= 100 AND column_name<= 2000*
    you want values in that range then the SQL should be
    SELECT FROM table_name WHERE column_name between 100 and 2000*
    check this article
    http://oraclebizint.wordpress.com/2008/02/26/oracle-bi-ee-101332-between-prompts-for-date-columns-using-presentation-variables
    UPDATED POST
    in place of constant values play with your session variables or Presentation variables by writing this above SQL according to your requirment and you would get your solution.Give a try then comment is it working or not.
    Hope answers your question.
    Cheers,
    KK
    Edited by: Kranthi on Jan 24, 2011 10:43 PM

Maybe you are looking for

  • ITunes Match deleted songs from my hard drive. I had to re-rip them. How can I stop this from happening?

    iTunes Match deleted songs from my hard drive. How can I prevent this from happening if I try it again?

  • Access Material Master from ECC 6 via PI

    Hi everyone, I am very new with SAP PI. I hope someone here could give me a guidance. I am trying to access the material master data from ECC 6 via SAP PI using web service. Is there any document for step by step instruction that I could follow? It i

  • A question about oracledatabase

    oracle ERP 11.5.8 connect to oracle database 8.1.7.4.0. i don't how to become DBA of database 8.1.7.4.0. ? who can help me? thanks!

  • DW 4 is now sticking with Windows 7

    I have a very old version of DW. But it has been behaing quite well through all the new Windows OS. It did work at first when I upgraded to Windows 7, but now the Windows>Properties box sticks at the bottom of the page and I can't use it. Can you hel

  • Automater-application won't work

    Hi. I'm new to this forum but I got a problem with the Automator. I was on a hunt for an emulator or a program that could open up apks on my MacBook Pro. I found the Android-emulator from Google, but everytime I run an app it crashes within a minute.