Using dashboard prompts to initialize session variables

hi everyone,
I want to know if it's possible to have a dashboard prompt that is only used to change session variables. This prompt would stay in a tab without any report.
Can this be done?

when the user changes the variables in the promptI guess its value not the variables ....am i right?
the variables seem to work just in the tab where the prompt is, although the prompt is set to be valid in the dashboard.1 ) Request/Presentation variable scope is in Dashboard or page
2) As i shown in screen shot in a Dashboard Demo have two pages req variable and multi select when i change the value in prompt it was changing the value in qty variable means initializing the session variable value
The screen shot dat i gave is what are you looking or some thing else??
thanks,
saichand.v

Similar Messages

  • 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

  • Value Based user guided Navigation Using Dashboard Prompt

    Hi all Experts,
    I have a different dashboard pages and dashboards for each year sales and so on, like 2001,2002etc in OBIEE 11.1.1.5 answers and dashboard.
    My requirement is using dashboard prompt for year need to navigate to that particular dashboard.
    for example if I select 2001 should navigate to 2001 Dashboard
    if I select 2002 should navigate to 2001 Dashboard.
    and for another report for Top 10 Products if I select a product name should navigate to detail product report.
    I am not getting idea using guided navigation link,
    Please suggest me how we can implement this task into our report.
    Thanks in advance

    Hi,
    my suggestion, don't that way..do the below things..
    1) for year wise sales report.
    keep artificial Time Dimension and try map Date column into all othe fact table and try to use time.date column in the dashboard prompt that prompt will list out all the year like (2001,2002..2020..etc) make this propmpt column should be is prompted in that Answres report --> date column
    2) let Product wise report,
    report 1 :Product Summary ( call u child report in the column properties -->Interaction--> value Primary interaction--> action link--> select bi content --select it u r report and save it run it.
    report 2 :Product Detailed (this report navigation column make sure should be is prompted )
    Thanks
    Deva

  • How to Pass dashboard prompt value to RPD variable??

    Hi Experts,
    I am creating RPD variable with below query in initialization block
    SELECT extract(month from Max(report_date))  from xyz_date_dim where report_id=14 and year=:YEAR
    I am having YEAR prompt in dashboard..from this RPD variable i want to get MAX(month) from selected year in dashboard.Here my problem is unable to pass selected YEAR to RPD Initialization block.
    I read some threads we can pass user selected values to session variables. If possible can any one help me how to pass variable to achieve my requirement.
    can any one help me in this....
    Thanks,
    KSS.

    So you want to pick a month in a dashboard prompt and have the answers report filter for that month, and return results for that month, month -1, month -2 etc etc.
    If so try the following, lets assume your measure is simply called 'count'
    in the BMM you have measure 'count' with aggregation set.
    Create a new measure in the BMM called 'count MAGO' or whatever you want (this will be month -1)
    in the logical forumula for that column, use the AGO function, syntax would be AGO(count measure,<time dimension.Month>, -1) - this function is found under the 'Time Series Functions' category.
    repeat steps to create 'count 2MAGO' and use -2 in the AGO function to take off 2 months.
    Repeat for however many Mth Ago's you want.
    Then in answers, simply use is prompted on your month fied to filter the report for the relative month, select your 'count', 'count MAGO', 'Count 2MAGO' etc, the measure will be calculated for prior months relative to your filtered month.
    Sorted?

  • 'In Between' Date Prompt to set Session Variables???

    Hi
    Im very new to OBIEE and was hoping someone could help me. I have a date prompt using the 'in between' operator based on a date column.
    I am trying to set up a table in the Physical layer of the RPD using a stored proc (EXEC sp_name). The stored proc takes 2 input paramaters - a start data and an end date. These dates i would like to come from the in between prompt. I have set up the physical table structure to receive the results of the request.
    I looked at setting a session variable but it is asking me to insert sql to set the value and i dont want to hit the database outside of the stored proc. Also, even if i have session variables i cant see how to set them to the values in the prompt when using the 'In Between' operator.
    Im really very confused and i have been searching the net and the documentation for any clue.
    Any help would be appreciated
    Thanks

    In between operator doesn't support presentation variable..
    so break this into is into two prompts...and use equal to operator, then you can use them as request variables which will in turn override your session variables.
    in the report use operator between and use these variables in the filter..

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

  • Row wise Initialization - "Session Variable has no value Definition"

    Hi,
    I have gone through other posts relating to this error, but could not find a solution.
    I have defined an initialization block with 'Data Source' as SELECT 'TEST_VARIABLE', cost_center from XX_COST_CENTER.
    In the 'Edit Data Target', i have selected the 'Row Wise Initialization' option.
    When i 'Test' this initialization block, using the 'Test' button, i get the exected output, with all the different Cost Centers being defined.
    However, in the Presentation Services when i add a column and change its formula to VALUEOF(NQ_SESSION.TEST_VARIABLE), i get an error
    +[nQSError: 23006] The session variable, NQ_SESSION.TEST_VARIABLE, has no value definition.+
    Would appreciate some input, to check if i have missed any steps, or am doing something wrong
    Thanks & Regards,
    Ab
    Edited by: obiee_user_ab on Jan 16, 2012 6:25 AM

    Hi,
    Error is caused because no value is returned from the sesision variable for the logged in user, you may check the NQquery.log file to see if the initblock was successfull and if that returned any rows, try setting default value in the session variable
    It might also happen when
    1. You created the variable as Repository variable in RPD and referring as session variable in Answers
    2. It may also happen when you are referring the Session variable Name wrongly in Answers. E.g "Current Week" in RPD (2 Words) and CurrentWeek in Answers (Single word).
    Try to use the same letter case for the name of the variable (upper and lower).
    Hope this helps.
    Regards
    MuRam

  • Printing a Web Report Using Firefox Results in Lost Session Variables

    Post Author: AVXFlyer
    CA Forum: .NET
    I'm  having a problem with Firefox users printing a Crystal Report from a web site. 
    The first page of the web site collects information to be used in the report generation, for example, start date, end date, type of report etc.  These are all various text boxes, drop down lists, radio buttons and check boxes.  When the user clicks to show the report, everything works fine and the first page of the report will display. The code behind this page takes care of saving al the session variables into hidden fields on the page so the settings will be accessible when the user clicks to view the next page of the report.
    On clicking to view the next page of the report, everything is still fine and the process works beautifully and I've had no problems. 
    A new problem has surfaced during the printing of these reports.  Users who use IE6.0 or IE 7.0 do not have a problem, however, users who use Firefox do have a problem.
    It seems that the print dialog which appears as part of the the Crystal web control manages to 'lose" the variables which were present on the calling page.  It only does this with the Firefox browser.  Calls on postback to retrieve the variables from the hidden fields result in 0's or empty strings ("").
    Protected Sub Page_Init(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Init .... ....  If Me.IsPostBack = False Then ... ...        strDiscontinuedOnly = Request.Form.Item("ddlInvStatus")             If strDiscontinuedOnly = Nothing Then                 isDiscontinuedOnly = False             Else                 Select Case strDiscontinuedOnly                     Case 0 'All Inventory                         isDiscontinuedOnly = False                     Case 1 'Discontinued Inventory                         isDiscontinuedOnly = True                     Case 2 'Active Inventory                         isDiscontinuedOnly = False                 End Select             End If Else 'Postback is true             intRequestedReport = Request.Form.Item("fldReportID")             strDiscontinuedOnly = Request.Form.Item("fldInvDiscItemsOnly")             isDiscontinuedOnly = Request.Form.Item("fldInvDiscItemsOnly") ... ... end if

    Can't explain it, but here are a few tests;
    1) Try to print a saved data report
    2) Try to print a report that is not using parameters
    3) Try a different printer driver as "default"
    4) Enable the option "Dissociate Formatting Page Size and Printer Paper Size" on the report
    5) What format do you export to?
    Ludek
    Follow us on Twitter http://twitter.com/SAPCRNetSup
    Got Enhancement ideas? Try the [SAP Idea Place|https://ideas.sap.com/community/products_and_solutions/crystalreports]

  • Selecting Multiple dimensions without using Dashboard Prompt

    Hi All,
    We have and requirement where we need to given an option to users where they should be able to select dimensions values to check set of reports in dashboard based on these selected values.
    As we know one way is to have dashboard prompt and all the reports which we need to analyze under this, but in dashboard prompt if we more values selected values will take more time.
    Instead we want in one page all the dimension values will be there and we need some thing like check box option in front of dimension values and based on the dimension values selection, we need to analyze reports available in another dashboard page.
    Thanks in advance.
    Regards,
    Som

    Thanks John for your reply.
    I'm not sure this is going to help me, may be my question is little bit confusing. Let me explain with some example.
    Lets us consider a dashboard page where we have All US States as global filter. Suppose by default global filter will have All values but now every time we want to analyze by selected states now to perform this we need to edit global filter and add States by which we want to analyze.
    By this option we are able to get the result what we want, but problem is that suppose every time we want to analyze by these states only the every time when we login we need to edit global filter again and again. which we don't want to do again and again.
    Now my questions are:-
    1. Is there a way to save values selected into global filter for future use by which we cab avoid selecting values again and again (one way is that we can add defaults in global filter edit mode but can we do this outside.)
    2. Or can we provide in one page just to select the values of analysis like dimensions and next to dimension like check box just to select values and in other pages based of the values selected.
    Regards,
    Somu

  • Possible to use dashboard prompt to capture variable & apply custom filter?

    Hello,
    I have an LOV based on column account_descirption with accounts: rent, tax, utilities, etc. Inside that LOV i want to add one custom value "COO." When user selects "COO" i want to capture in a variable and use it to sum multiple account_description values. Is this possible in the report or should i do the sumation in the source table?

    If I understood your requirement completely, on your prompt you would have to assign a presentation variable. On your filter you would have to do a case:
    CASE when @variable_prompt IS 'COO' THEN ....
    Hope this helps.
    EF

  • IS IT POSSIBLE TO USE DASHBOARD PROMPT VALUE  TO FILTER THE RPT LVL PROMPTS

    Hi All,
    In one of my dashboard i had one dashboard level prompt say "Year".Below one report is embeded and it has one report level prompt say 'Plan Component".
    Issue here is report is filtering with proper Year value but In report level prompts it includes all other year values say like 2008,2009,2010.Even though i select 2010 in the dashboard promt.
    So well am approaching this issue with presentation variables.still am not able to get desired result.
    Please share your ideas and thoughts if you face this issue some time earlier.
    Thanks in Advanvce,
    Regards,
    Govardhana

    Hi All,
    In one of my dashboard i had one dashboard level prompt say "Year".Below one report is embeded and it has one report level prompt say 'Plan Component".
    Issue here is report is filtering with proper Year value but In report level prompts it includes all other year values say like 2008,2009,2010.Even though i select 2010 in the dashboard promt.
    So well am approaching this issue with presentation variables.still am not able to get desired result.
    Please share your ideas and thoughts if you face this issue some time earlier.
    Thanks in Advanvce,
    Regards,
    Govardhana

  • How to pass dashboard prompt value to requests in folder

    Hi,
    I want to have a dashboard page that contains dashboard prompt for period and list with requests (for this I add Folder and select "Expand folder").
    If I use dashboard prompt to set presentation variables, the chosen value is not passed to requests in folder list and as I understand this is the way presentation variables work. Therefore I tried to use Request variable, but get the same result - value that is chosen in dashboard prompt, influences request only if it is shown in dashboard not if I open it from folder list.
    Steps I did:
    (1) Created session variable "Period", that users can alter. Initialization block is simple dummy select - Select ’2008.08’ from dual;
    (2) Created dashboard prompt that sets Request variable Periods;
    (3) Created report with session variable value in it:
    SELECT Time."Period code" saw_0, VALUEOF(NQ_SESSION.Period) saw_1 FROM "TEST" WHERE Time."Period code" = VALUEOF(NQ_SESSION."Period") ORDER BY saw_0, saw_1
    If I include this report directly in dashboard, it shows the session value that is set from dashboard prompt, however when I open it from folder list, it shows the default value 2008.08 although I have stayed in the same session.

    Iza, you are correct in your assumption regarding passing Presentation Variables to reports that are in the Folders object. If you have a dashboard prompt on the same page as the Folders object, then even if you select a value in the prompt, it will not pass when you click on the report name in you Folders object.
    Here is something you might want to consider to achieve what I think you are trying to do. Instead of having the Dashboard prompt on the first page, create a "table of contents" home dashboard page. What I mean is:
    1) First, create a Dashboard page with the prompts you wish to filter a report with and set the default values. Save this as the template dashboard page. Now, with a second copy of this template, drag one of your reports to this page. Save it. Using your dashboard template page, create another copy and drag the second report to this page. Save. Do this for each report you wish to display. Note that you can drag more than one report to a dashboard page.
    When you are done, you will have several dashboard pages, each with one or more reports and the dashboard prompts on the top of the page.
    2) Now on your "home page," drag the Link or Image to a section. Link this object to the first dashboard page you created in step one. Name the link the title of your report. If there are more than one report on this page, title the link appropriately. Click the "open in new window" checkbox. Drag a Link or Image object for each dashboard page you created in step one.
    When you are done, this home page will look similar to your Folders object, with links to each of your dashboard pages that contain the reports. When the user clicks on the link, the appropriate dashboard page will appear with the dashboard prompts and the report will be filtered on the default values. Now the user can change the values of the prompts as desired. When the user is done, he/she can close the window and he/she will be taken back to the home page to select another report.

  • 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

  • GO URL with Session Variable

    I want to use interaction between two reports in different dashboards, which do not share the same tables but the same values.
    When clicking on column A values in Report A, I want to create action link with option to open Report B, presenting column B, which is filtered by value A.
    I also want the prompts in Report B to present the value A, as it was selected by the user on Report A.
    I thought about using GOURL in action link to specific URL. I manage to open Report B, but it is not filtered by A.
    How can I transfer the value A in the URL? how should I add the value A into '&val1=XXX'?
    I also want to transfer other prompt values (e.g. val2 of col2) from A to B. I set this prompt value to session variable, but how can I add it in the GOURL syntax of '&val2=XXX'?

    Hi,
    Check those links might help you.
    Integrating Oracle OBIEE Content using GO URL
    How to set session variables using url variables | OBIEE Blog
    OBIEE 10G - How to set a request/session variable using the Saw Url (Go/Dashboard) | GerardNico.com (BI, OBIEE, O…
    Thanks,
    Satya

  • Getting the dashboard prompt value

    Hello,
    I there a way on how can i get the dashboard prompt value when using other operators beside equal/is in. It seems that you can only set a presentation variable using the equal/is in operator.
    Also how can i get prompt value when using multi-select control?

    Hi. Yes, presentation variable is only for is equal to/is in.
    But no need to use other operators ( is less than or equal to, etc) if you want to write data in presentation variable, use equal/is in if you want to show data that is for example less and set presentation variable and in the report instead if IS PROMPTED write advanced SQL filter like:
    TABLE.COLUMN <= '@{pv}'
    You asked also how can to get prompt value when using multi-select control?
    No way to do that. But what do you need that information for. Lets say that you are able to do that and you put multiple values from multi-select into variable, where do you need to present that data? In the report? No need for that because the report is already filtered by it.
    Also check this one:
    Using multiple values row wise session variables in dashboard prompts and requests
    http://108obiee.blogspot.com/2009/10/using-multiple-values-row-wise-session.html
    Regards
    Goran
    http://108obiee.blogspot.com

Maybe you are looking for