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

Similar Messages

  • Problem with dashboard prompt initial value (OBIEE 11g)

    Hi alli,
    I have a problem with dashboard prompt and session variable in OBIEE 11g.
    I have declared a session non-system variable which I set/change with dashboard prompt. At login the variable is initialized in initialization block that gets a value from an SQL select statement.
    When I change the value in prompt, the session variable changes accordingly, as it should (change is made by calling function NQSSetSessionValue() within javascript function). While I am in my dashboard, cruising around pages the variable stays the same, and when I return to the page that has prompt on it, the correct value is shown. Everything works fine.
    The problem occures when I go to Catalog (in presentation services) to create some new Answers. When I return back to the same page in dashboard (which has a prompt), the prompt selected value and session variable are set back to the default value. It looks like the initialization block is executed again.
    My prompt is configured like this:
    - Choice List Values: SQL Results
    - Default selection: Variable Expression (@{biServer.variables['NQ_SESSION.VariableName']} )
    - Set a variable: Presentation Variable
    Is there a way to stop the initialization block from executing again? Isn't it logical that the initialization block executes only at login, when the session variable is empty? I don't need it to execute every time i come to the dashboard.
    Thanks in advance,
    Marko
    Edited by: markor on 14.3.2011 8:58

    How and where do you use the nqssetvalue() function.
    I tried it in several places but it doesn't work.
    Can you help me, please!
    Thanks

  • Problems with dashboard prompts - 11.1.1.6 on Win 2008 64 bit

    Hi, I'm just curious if anyone who is using / testing 11.1.1.6 on a 64 bit Windows 2008 environment is having issues with dashboard prompts.
    I'm seeing issues where dashboard prompts are showing up with a NULL option - i.e. if a dimension has values A, B, and C, I see the prompt showing up as:
    NULL
    A
    B
    C
    There are NOT nulls in the data, and I can see that the related query is only returning 3 rows. It feels like something is broken with 11.1.1.6, but just curious if others are seeing this.
    BTW, this happens with all types of prompts - check boxes, radio buttons, choice lists, etc. But strangely it doesn't seem to happen with the "sample" data - not sure if it's because it's from XML instead of database?
    Thx,
    Scott

    Nico - I owe you a ton, that's exactly the problem. So the workaround is for me to set everything to not allow NULLs in the physical layer - kind of a pain, but management.
    Having said that - do you have any idea WHY this would happen? Just because a column CAN have a NULL, why would OBIEE automatically display a NULL in the prompt, even when one doesn't exist? After all, this column could also have "Nico" or "Scott" in it...and it isn't displaying those?????
    Wonder if this has something to do with the new "buttonless" prompts. Or maybe I'm just missing something obvious...
    Thanks!!!
    Scott

  • Issue with Calendar prompt presentation variable

    Requirement: (OBIEE 11g)
    A dashboard should have two prompts - one calendar prompt and one text field prompt giving number of days. There is a timestamp column (SHIP DATE) in the analysis. There should be a between limit in this timestamp field. Logic to be implemented is - Calendar Prompt DateTime <= SHIP DATE < (Calendar Prompt DateTime + No. of days from text field).
    Solution Tried:-
    Using the dashboard prompt, two prompts and two corresponding presentation variables were created. First presentation variable is for calendar prompt timestamp (Date1) and other one is for no. of days (Num_Days) text field prompt.
    Then in the analysis, two filters were created on the Ship Date. First filter is set as 'Is Prompted' and it takes the values '<=' from calendar prompt in dashboard.
    For the other filter, I converted it to SQL and wrote the following:-
    "Time"."Ship date" <= (timestamp '@{variables.Date1}['YYYY-mm-DD HH:MM:SS']{2013-01-01  00:00:00}')  + @{variables.Num_Days}{30}
    The analysis runs fine for the above filters, but when run from the dashboard, it throws up an error.
    Error getting drill information: SELECT "Time"."SHIP DATE" saw_0, "Base Facts"."QUANTITY" saw_1 FROM "SHIPPING DATA" WHERE ("Time"."SHIP DATE" <= (timestamp '''2013-00-01 00:10:SS''') + 30) AND ("Time"."SHIP DATE" >= timestamp '2013-10-01 00:00:00').
    From the above it seems that error is coming because I am unable to set properly the calendar prompt presentation variable in a format which can be read by the analysis. Since analysis is running fine from the default value of Date1, I was thinking of somehow converting the calendar prompt presentation variable in the similar prompt.
    Any pointers to the correct approach?
    Thanks
    Kundan

    I found a workaround to my above issue for now but I would like to know the proper approach from experienced folks.
    My workaround is as follows:-
    I created an additional column in the analysis -> TIMESTAMPADD(SQL_TSI_DAY,- @{variables.Num_Days}{30}, "Time"."Ship date"). Then I applied a filter on this new field. The filter is set as < variable expression Date1 (coming from presentation variable). Since I am not converting this filter to SQL, OBIEE server seems to be taking care of timestamp format conversion.
    I think I need to study the logs and the config XMLs to see how date format is being stored to get a better solution.
    Regards
    Kundan

  • Connecting Crystal reports with dashboards and passing parameters

    Hi ,
    Can anyone have any document on Connecting Crystal reports with dashboards and passing parameters.
    I would appreciate for this.
    Thank You.

    Hi Ganesh,
    You can refer the following links for connecting Crystal reports with dashboards:
    Dashboard integration in Crystal Reports using flash variables | Clariba Blog
    https://websmp102.sapag.de/~sapidp/011000358700001426732009E/Xcelsius_EmbeddingInCR2008.pdf
    http://events.asug.com/2012BOUC/0315_Integrating_SAP_Dashboards_into_SAP_Crystal_Reports.pdf
    Regards,
    Renu

  • Issue with printing of Currency Value.

    Hi,
    I have an issue with printing of Currency Value.
    ( Pleae let me know if any thread available already  I searched it before posting but not found).
    The Problem is as follows:
    I have a field  s_value TYPE  MARM-SALK3.  (which is of currency type).
    The value of field is actually 1664.1450.   Currency USD
    But when I print this variable in ALV report it prints as  166414.50  though I used the same data type. (SALK3).
    Pleaes help me to fix this.
    Regards,
    Venkat

    Hi,
    If you use ALV to display currency value, you must sure that currency amount links with currency unit. You can archive this by using ALV fieldcat:
    wa_fieldcat-fieldname = 'SALK3'.
    wa_fieldcat-tabname = 'ITAB'.
    wa_fieldcat-cfieldname = 'WAERS'.
    wa_fieldcat-ctabname = 'ITAB'.
    append wa_fieldcat to gt_fieldcat.
    Please check,
    Regards,

  • Value of Presentation variable

    Experts,
    What is the Value of Presentation variable if I dont type in any value in the edit box and click Go.
    My requirement is if the user does not type in any value in Edit box, the request should show NO Results.
    How can I achieve this.
    thx,
    parag

    Parag,
    To get No results when the prompt (edit box) is empty or you delete value from it and hit GO you need to use presentation variable in the filter insted of IS PROMPTED, for example:
    My report:
    PRODUCTS.PROD_CATEGORY
    SALES.QUANTITY_SOLD
    Filter (advanced SQL filter): PRODUCTS.PROD_CATEGORY='@{pv_cat}'
    My dashboard prompt:
    PRODUCTS.PROD_CATEGORY - edit box - wtihout default value - set presentation variable pv_cat.
    Now you'll get No results when the prompt (edit box) is empty or you remove value from it.
    Regards
    Goran
    http://108obiee.blogspot.com

  • How to send different value of presentation variable in GO URL??

    Hi there,
    I'm using GO URL to send presentation Variable (d_pv) to filter other report on 'day' column.....
    '(a href = http://server/analytics/saw.dll?GO&path=/shared/BI%20Reports/Ki1/KPIs%20Detail%20Priority%203%20Shipped&Action=Navigate&p0=1&p1=eq&p2="Time".Day&p3=@{d_pv})SHIPPED(/a)'
    This is working fine. But my goal is to filter the other report using previous day of the value of d_pv (eg. if d_pv value is '2010-04-27' , I need to filter other report using '2010-04-26')
    I couldn't find to pass one day back value of presentation variable using go url.
    Please Help..
    Edited by: bob123 on Apr 28, 2010 10:15 AM

    I'd say use TIMESTAMPADD(SQL_TSI_DAY,....,1) and use pass your pres variable to this column.
    so when you pass 28/04/2010 to the target report day+1 column, it will show 27/04/2010 data.

  • Passing values to global variables while running job via management console

    Hi All,
    I have a requirement, where I have to use HANA view with input parameters as source. I am doing the same by placing the HANA query for view with input parameters, in SQL transform and assigning values to placeholders using global variables. This is working fine at the designer level.
    But where I am stuck is, it possible to pass values to global variables while running job in Management console or in a third party scheduler. Should I do any changes in the batch job to achieve the same ?
    Please help me with the same and also let me know whether my approach of using Global variables to assign values to input parameter of HANA view is right?
    Thanks,
    Deepa

    Select Batch > Batch Job Configuration > Add Schedule and Expand the Global Variables section in the Schedule Batch Job tab. You can then specify a value for all your global variables.
    Alternatively, work with control tables and assign values to the global variables in an initialisation script.

  • Passing value to bind variable of another table from one table

    hi,
    I have a multi select table. When one row is selected from this table (no button is clicked, only selection is done), an attribute from that selected row (say userid) should be passed to the bind variable of another table and the corresponding details of that particular userid should be displayed in the other table. When more than one row is selected, the other table should display no rows.
    My main problem is what code has to be written to pass value to bind variable and where it should be written.
    Please give me a detailed explaination as soon as possible.
    Thank you.

    Sorry, didnot add this. The table is multi select table.

  • Default Selection Issue in Dashboard Prompt

    Hi All,
    I am using the below logical SQL in SQL Results for Default Selection of a column in a dashboard prompt,
    SELECT "Facts"."Service Provider", "Config"."Integration Id" FROM "IMONIT - Transaction Log" WHERE "Config"."Integration Id"='@{inttype}'
    Here, I have used a presentation variable, which is set by another prompt. Also the Facts and Config table are joined in RPD. The issue is it does not selects the values returned by the logical SQL by default. But if i use the same logical SQL in SQL Results of Choice List Values for the same column in the prompt, the logical SQL does work and populates the prompt only with the values returned by the logical SQL.
    Any help is much appreciated.
    Regards,
    Maria

    Deepak, actually the scenario is that I am navigating to the page with the dashboard prompt from another answers report located on another dashboard page. This SQL works perfectly when I press the GO button of prompt on the same page. But its not working when I am navigating to the same page with the prompt from any other report. Any ideas ?

  • OBIEE Issue with Hierarchy Prompt

    Hi,
    I am using a Hierarchy Prompt to select a member from a Hierarchy column whose members come from a essbase cube.
    I set a presentation variable *"Select_Cliente"* to the prompt and set the filter to a column like "Gen3,Cliente - Default is equal to / is in *@{Select_Cliente}*"
    The issue occurs when someone enter to the dashboard and select a member in the Hierarchy Prompt and clicks in "Apply". The Analysis shows the following error:
    Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 43113] Message returned from OBIS. [nQSError: 96002] Essbase Error: The identifier '<saw:dimensionSelection xmlns:saw=""com.siebel.analytics.web/report/v1.1"" xmlns:xsi=""http://www.w3.org/2001/XMLSchema-instance""><saw:selectionStep stepID=""1"" type=""startWith"" category=""member""><saw:stepMembers xsi:type=""saw:staticMemberGroupDef""><saw:staticMemberGroup><saw:hierarchyMembers><saw:hierarchyLevelMembers><saw:hierarchyLevel levelName=""Gen2,Centro de Costo"" levelID=""Gen2,Centro de Costo""/><saw:members xsi:type=""saw:stringMembers""><saw:value> GERENCIA DIV. COMERCIAL* </saw:value></' on line exceeds maximum character limit (HY000).
    The problem is that the selected member is filter with a lot of caracters that not apply. The selected member is underlined.
    The version of the OBIEE is 11.1.1.6.9.
    Thanks for the help.
    Edited by: cpmacgre on 08-abr-2013 14:14

    Switch the filter in the criteria part of the target report into Advanced SQL Filter, then type your filter with that kind of syntax : "Period"."Period - Default" = '@{var_per}{P3}' and it should work
    P.S. if you want to have multiple elements in the prompt selection, then use instead this syntax : "Period"."Period - Default" IN (@{var_per}['@']{'P3'})
    Edited by: pmerle on May 3, 2013 5:38 AM

  • OBIEE 10g Dashboard Prompt Multiple Values

    A dashboard prompt is applied to filter on Regions, however the issue we're facing is that the region values show up multiple times (1000's). We want to show each value once and I read about 2 solutions:
    1) Apply a select distinct SQL on the prompt - This does not work for us since the region is also a key field in the drill down (region consists out of states), the drill down overrules the select distinct and the prompt still shows multiple values. Any ideas?
    2) Apply a cast to char on the dashboard prompt field - The values show up only once, however now the dashboard prompt does not get applied to the reports. Looking at the SQL nothing seems to come back from the database. This might have to do with the fact that the region data type in the business layer is VARCHAR with a max of 30, thoughts? I tried updating the cast to varchar(30) but that had no effect.
    The cast sql is simple and looks like this:
    SELECT CAST ("zzz"."Region" as char) FROM ...
    Hopefully anyone can help us with this problem. Thanks!

    Thanks for the tips!
    1. No, it does not happen when the column is the only item in a report
    2a. I updated the cast to a varchar and added the distinct because that seemed easier than changing the field types in the rpd. The new SQL looks like this:
    SELECT DISTINCT CAST("zzz.Region" AS varchar(10)) FROM ...
    2b. Also joining to a table with extra region information (the sequence how we present the values to the customer) provided unique values:
    Select "zzz.Region" FROM ... ORDER BY "zzz."Region Sequence"
    With both solution we force OBIEE to execute the SQL differently so that the key field in the dimension does not throw off the numbers

  • Navigate from report to dashboard and  pass values between different column

    Hello
    I have a question about navigating from 1 report to a dashboard page while passing the value from column 1 to column 2 in the second report...
    In OBIEE 11G, I create action link on report 1, column 1 and this action link is navigate to BI Content and the destination is a dashboard page, which has column 2 used as dashboard prompt and there are 3 reports all use column 2 to filter. Now the column 2 in the dashboard page is an alias of column 1 from report 1, from user's point of view they are the same, but from OBIEE point of view they are different.
    My action link is able to navigate to dashboard, however, the value in column 1 which I clicked to execute the navigation, does not get passed to column 2 as the dashboard prompt doesn't get this value upon navigation..
    Since I can't put column 1 in dashboard 2 nor can I put column 2 in report 1. Because our data model is done in the way that if I use column 1 or column 2 in both places, it will be circular joins...
    Is there a way around this issue?
    Let me know if I need to provide more clarification
    Thanks

    Sid
    Here is the thing..
    Let's say we have Dimension 1, dimension 2 and fact 1 and fact 2
    In one report, you need to show Dimension 2 and fact 1 so Dimension 2 joins to fact 1.
    In some other cases, you need to shown dimension 1 and fact 2 stuffs, but dimension 1 can't get to fact 2 without going through dimension 2. So Dim 1 --> Dim 2 --> Fact 2
    Then in some other cases, you need to show Dim 1 and Fact 1 reports..
    In means, your model will look at:
    Dim1 --> DIm2 and Dim 1 --> Fact 1 and Dim 2 --> Fact 1.. This is just a simpler version of a much more complex model that I am dealing with now..
    So in this case, you can't just use Dim 1 attributes across the board. For some dashboards, you will have to create alias of Dim 1, call it A1_Dim1, un-join Dim1 with Dim 2 or to fact 1 to avoid circular joins... Then in different reports, you either use columns from Dim 1 or A1_Dim1..
    Now Dim1 and A1_DIM1 are really the same thing, but they are not according to OBIEE...
    So my problem is, in report 1 where Dim1 is used, it can't past values to Dashboard 2 where A1_DIM1 is used as dashboard prompt..
    I want to know if there is a way around this issue
    Hope this makes more sense now
    Thanks

  • 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

Maybe you are looking for

  • Opening two projects at same time

    I'd like to drag over clips from one project to another project. Anyone know if this is possible with IMOVIE HD v.5.0.2? thank you. beth

  • XML Datatype as transaction output property

    Hello everyone, I'm having some problems while using the XML datatype as an output for a transaction and would like your input on this. I've created a transaction that has one output property set as a XML. This transaction reads information from a SA

  • Report Builder: can i define a function in  the rdf file ?

    Hi All, About the report builder, can i define a function in the rdf file ? and then i want invoke it in the report SQL, just like : function Get_Ap_Prepay_Balance(p_Invoice_Id IN NUMBER, p_End_Date IN DATE) RETURN NUMBER IS l_Amount number; begin RE

  • Discoverer upgrade to 10g

    Hi, Please assist me with some of the ff issues I experienced post my upgrade to discoverer 10g from discoverer vs 3.1. 1. The icons get greyed out after a while with working on discoverer plus. Any ideas why this happens and what is the fix? 2. Is t

  • Export to pdf and change "Data points"

    HI, I use discoverer 9.0.4 and I want to know how to export to pdf in viewer. And how to change the name "Data Points" thank you