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

Similar Messages

  • Passing Dashboard Prompt values to different dashboard.

    Hi All,
    I want to pass the selected prompt values from my current dashboard to a different dashboard. I am using a navigate function to go to the other dashboard.
    The scenario is:
    I am using a column formulae to navigate to the different dashboard.The column formulae written is:
    case when rank ("Table".column ) <=10 then cast(rank ("Table".column) as char(10)) else ''||'+'|| '' END
    In this scenario, the dashboard prompts are not get passed to the other dashboard.
    In other case when I do not customize the column as stated above and in the Column Property just give a 'Navigate' in the Value Interaction it passes the prompt values to the other dashboard.
    Similarly can we do something in the column formulae or using something else to pass on the dashboard Prompt values to the other dashboard.
    Please Note that the dashboard Prompts in both the dashboards are exactly same.
    Regards,
    Bhavik

    Bhavik,
    Your nearly there, simply extend your URL syntax and pass the colum values with it, see here :
    http://sureshotstrategies.wordpress.com/2008/12/13/integrating-oracle-obiee-content-using-go-url-syntax-2/
    e.g
    http://webserver/analytics/saw.dll?Go&Path=%2Fshared%2FSupplier%2FRegionDollars&Action=Navigate&col1=Periods.%22Year%22&val1=%221999%22&op1=eq
    Passes colum : Periods.Year
    value : 1999
    operator : equals (=)

  • Dashboard prompt value not carried over to report in a Link on Dashboard

    The Dashboard prompt value is not carried over to the report displayed as a link on the dashboard. The report has the 'Is Prompted' filter. It does not work in both cases:
    1. when the report in the shared folder is specified in the link.
    2. when the report in a different page on the same dashboard is specified in the link.
    Please help.

    First change column data format to HTML.
    Then use following syntax:
    '<aa href = "http://server/analytics/saw.dll?Dashboard&PortalPath=%2Fshared%2FPortal%2Ffolder&Page=pagename&Action=Navigate&P0=3&P1=eq&P2=Tablename1.column1&P3=1+'|| cast(Tablename1.column1 as varchar(30)) ||'&P4=eq&P5=tablename2.column2&P6=1+'|| cast(Tablename2.column2 as varchar(30)) ||'&P7=eq&P8=tablename3.column3&P9=1+'|| cast(Tablename3.column3 as varchar(30)) ||'" TARGET="_blank"> <ffont color = #000099>'|| cast(Tablename1.column1 as varchar(30)) ||'</ffont></aa>'
    change ffont to font and <aa to <a and </aa to </a

  • How  to get the value of multi-select in the   Dashboard Prompt

    I have a multi-select prompt in the Dashboard Prompt,  what I want is,   how do I know that user has choose one value,
    for examle,  for some reasons,  if user didn't choose any value,  then I will set one column in answer as "customer office" , if user choose one value, then the column in answer will be "customer name". 
    any comments, thanks.

    Hi,
    first define the presentation variable for the required column prompt. ex: PV
    Then in report level set the filter for that column = @{PV}{customer office}. here u have to give default value as "customer office", so by default the report in dashboard will show customer office even though the user does not select any value from dashboard prompt.
    Mark If Helpful/correct.
    Thanks.

  • How to get the column names of the table into the Dashboard prompt

    how to get the column names of the table into the Dashboard prompt
    Thanks & Regards
    Kishore P

    Hey john,
    My requirement is as follows
    I have created a Rank for Total sales by Region wise i.e RANK(SUM(Dollars By Region)) in a pivot table.
    My pivot table looks like this
    COLUMN SELECTOR: TOTAL US , REGION , DISTRICT , MARKET
    ---------------------------------------------------- JAN 2009          FEB 2009        MAR 2009
    RANK              REGION                  DOLLARS           DOLLARS        DOLLARS DOLLARS
    1 CENTRAL 10 20 30 40
    2 SOUTHERN 10 30 30 70
    3 EASTERN 20 20 20 60
    4 WESTERN 10 20 30 40
    When i select the District in column selector
    Report has to display rank based on Total Sales by District. i.e
    ------------------------------------------------- JAN 2009         FEB 2009       MAR 2009
    RANK             DISTRICT              DOLLARS           DOLLARS        DOLLARS DOLLARS
    for this i need to change the fx of rank i.e RANK(SUM(Dollars By Region)) to RANK(SUM(Dollars By District)) and fx of Region i.e Markets.Region to Markets.District dynamically.
    so , i need to capture column name of the value selected from the column selector and dynamically i need to update the fx 0f RANK & fx of region.
    do you have any solution for this?
    http://rapidshare.com/files/402337112/Presentation1.jpg.html
    Thanks & Regards
    Edited by: Kishore P on Jun 24, 2010 7:24 PM
    Edited by: Kishore P on Jun 24, 2010 7:28 PM

  • Presentation Variable in the SQL default section in the dashboard prompt

    Hi Gurus,
    I have two prompts and two go buttons. First Go button is used to populate pv_category1 presentation variable.
    category_column --> pv_category1--> 1st Prompt
    Product_Column --> pv_product2 --> 2nd Prompt
    I want to set the default for the 2nd Prompt depending on the 1st Prompt ( Category) chosen by the user.
    In the SQL default --> i have typed in the below Query.
    *Select TableName.Product_Column from Subject_Area where category_column = '@{pv_category1}'*
    The Problem is that i dont get any default value for 2nd Prompt after choosing the First prompt and hitting the GO Button.
    If i hardcode the value in @{pv_category1} ...
    for eg
    Select TableName.Product_Column from Subject_Area where category_column = 'Incidents' i get the corresponding value as default.
    But i want this 2nd prompt (product) to dyamically default depending on the 1st prompt (category) chosen by the user.
    I am using OBIEE 10.1.3.4 and i have googled a lot on this topic...
    can we not use Presentation variable in the SQL default section of the Dashboard Prompt?
    Any help in this regard would be highly appreciated.
    Thanks
    Ashish

    Thanks for the Quick Reply.
    But the functionality that i want to achieve is the default value in the 2nd column (out of many values for 2nd column) based on the 1st column chosen by the USER. for eg we have two columns in our database ie category and Product.. Data goes like this
    category ProductName
    Incidents --- A
    Incidents --- B
    Incidents --- C
    Changes --- D
    Changes --- E
    Projects --- M
    Projects --- N
    Projects --- O
    Projects --- P
    If the User chooses Incidents in the first prompt then the default in the 2nd prompt should be B ( out of A,B,C Values available in the 2nd prompt)....
    Checking the constraint checkbox doesnt solve the default problem...
    Thanks
    Ashish

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

  • How to convert date in the dashboard prompt

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

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

  • Passing Chinese characters in OBIEE 11g GO URL to init the dashboard prompt

    Hi Experts,
    Currently we are using OBIEE 11g and passing the dashboard prompt parameter values through the OBIEE go url. When we are passing English strings the dashboard prompt is initialized with the correct passing value. However for Chinese character it is not. I am using the URLEncoder.encode("parameter value", "UTF-8") encoding to encode the passing string.
    Can anyone tell me what is the wrong in this approach? How can we pass any language strings to OBIEE 11g via go url?
    Thanks

    To avoid encoding problems use POST method. Here is js example for OBIEE 10g, but I bellieve you will find similar XML syntax in 11g.
    function getGoXML(P){
         var goXML = '<sawx:expr xmlns:sawx="com.siebel.analytics.web/expression/v1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="sawx:logical" op="and">';
         for (var i=0; i<P.length-1; i=i+2){
              goXML = goXML + '<sawx:expr xsi:type="sawx:comparison" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" op="equal">';          
              goXML = goXML + '<sawx:expr xsi:type="sawx:sqlExpression">' + P[i] + '</sawx:expr>';
              goXML = goXML + '<sawx:expr xsi:type="sawx:untypedLiteral">' + P[i+1] + '</sawx:expr>';
              goXML = goXML + '</sawx:expr>';          
         goXML = goXML + '</sawx:expr>';
         return goXML;
    function dashboardPageNav (navParams){     
         var tForm = saw.createForm("customNavForm");
         tForm.action = saw.commandToURL("Dashboard");
         saw.addHiddenInput(tForm, "PortalPath", navParams.portalPath);
         saw.addHiddenInput(tForm, "Page", navParams.portalPage);
         saw.addHiddenInput(tForm, "Action", "Navigate");
         saw.addHiddenInput(tForm, "StateAction", "NewPage");
         saw.addHiddenInput(tForm, "P1", "dashboard");
         saw.addHiddenInput(tForm, "P0", getGoXML(navParams.P));
         tForm.submit();
    dashboardPageNav({
         portalPath: '<portal path>',
         portalPage: '<page name>',
         P: new Array(                         
              '<param1 name>', '<param1 value>',
              '<param2 name>', '<param2 value>',
              '<param3 name>', '<param3 value>',
              '<param4 name>', '<param4 value>'
    });

  • Column hiding based on Dashboard Prompt value in OBIEE 10g

    Hi,
    Can you please let me know, whether there is any possibility of "hiding the column based on the value selected in the Dashboard Prompt".
    Your suggestions are highly appreciated.
    Thanks & Regards
    Siva

    Hi,
    Simple way to solve it.
    Steps
    1.) set presentation variable for each columns of your dashboard prompt
    2.) edit your analysis of table/pivot view ---> colums formate header in this place just keep it your presentation variable values like below
    E.x
    @{ccy}
    Then save it and then test out
    Some more reference:
    http://oraclebizint.wordpress.com/2008/01/25/oracle-bi-ee-101332-dynamic-column-headers-using-presentation-variables-sets-and-conditional-formatting
    http://total-bi.com/2011/03/obiee-dynamic-column-headings
    Thanks
    Deva
    Edited by: Devarasu on May 17, 2012 8:32 PM

  • Can I change the Caption (name) of the button Go for the dashboard prompt

    Hi,
    Can I change the Caption (name) of the button Go for the dashboard prompt
    I need to change the name of the button to Set Prompt Values.
    i did not see an option to do this
    Thanks

    Hello Yusuf,
    First follow the forum Etiquette, see this http://forums.oracle.com/forums/ann.jspa?annID=939
    You have to close the answered threads...
    And regarding your question
    Go to *{OracleBIDir}:\oraclebi\web\msgdb\l_en\messages*
    Open globalfiltermessages.xml file.
    Find this text
    <WebMessage name="kmsgGFPGo"><TEXT>Go</TEXT></WebMessage>Now edit the Go which is there between the TEXT tags..
    Ex: i am editing Go to Confirm
    <WebMessage name="kmsgGFPGo"><TEXT>Confirm</TEXT></WebMessage>Save this file and just restart your presentation service.
    Check your dashboard prompt now...
    (Editing this post from here)
    As per your requirement edit should be:
    <WebMessage name="kmsgGFPGo"><TEXT>Set Prompt Values</TEXT></WebMessage>Edited by: Kishore Guggilla on Jul 18, 2009 2:45 AM

  • I am trying to install software and am getting the following prompt.Installation Failed, the installer cant create the folder "var/folders/sq/2fzf3s_d2bzb21159nbwkb2r0000gn/T//install.3732dq0ogT. How do I repair this

    I am trying to install software and am getting the following prompt.
    "Installation Failed, the installer cant create the folder "var/folders/sq/2fzf3s_d2bzb21159nbwkb2r0000gn/T//install.3732dq0ogT.
    How do I repair this

    Back up all data. Don't continue unless you're sure you can restore from a backup, even if you're unable to log in.
    This procedure will unlock all your user files (not system files) and reset their ownership and access-control lists to the default. If you've set special values for those attributes on any of your files, they will be reverted. In that case, either stop here, or be prepared to recreate the settings if necessary. Do so only after verifying that those settings didn't cause the problem. If none of this is meaningful to you, you don't need to worry about it.
    Step 1
    If you have more than one user account, and the one in question is not an administrator account, then temporarily promote it to administrator status in the Users & Groups preference pane. To do that, unlock the preference pane using the credentials of an administrator, check the box marked Allow user to administer this computer, then reboot. You can demote the problem account back to standard status when this step has been completed.
    Triple-click the following line on this page to select it. Copy the selected text to the Clipboard (command-C):
    { sudo chflags -R nouchg,nouappnd ~ $TMPDIR.. ; sudo chown -R $UID:staff ~ $_ ; sudo chmod -R u+rwX ~ $_ ; chmod -R -N ~ $_ ; } 2> /dev/null
    Launch the Terminal application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid.
    Paste into the Terminal window (command-V). You'll be prompted for your login password. Nothing will be displayed when you type it. You may get a one-time warning to be careful. If you don’t have a login password, you’ll need to set one before you can run the command. If you see a message that your username "is not in the sudoers file," then you're not logged in as an administrator.
    The command will take a noticeable amount of time to run. Wait for a new line ending in a dollar sign (“$”) to appear, then quit Terminal.
    Step 2 (optional)
    Take this step only if you have trouble with Step 1 or if it doesn't solve the problem.
    Boot into Recovery. When the OS X Utilities screen appears, select
    Utilities ▹ Terminal
    from the menu bar. A Terminal window will open.
    In the Terminal window, type this:
    res
    Press the tab key. The partial command you typed will automatically be completed to this:
    resetpassword
    Press return. A Reset Password window will open. You’re not  going to reset a password.
    Select your boot volume ("Macintosh HD," unless you gave it a different name) if not already selected.
    Select your username from the menu labeled Select the user account if not already selected.
    Under Reset Home Directory Permissions and ACLs, click the Reset button.
    Select
     ▹ Restart
    from the menu bar.

  • Unnecessary Report refresh on the dashboard when changing the dashboard prompts

    Hello All
    I have two reports on a dashboard with two dashboard prompts for example Report 1) Year, State, Count; Filter: Year is prompted 2) Year, State, Count; FIlter: State is prompted. On the dashboard we have two reports Report1) and Report 2) with Year and State dashboard prompts.
    The issue is when you change year prompt both the reports gets refreshed even though nothing changes on report 2 but it still dissapears and appears as it is refreshing and  the same happens with report 1 when i change the state prompt it refreshes that report.
    Please letme know how i can limit the dashboard prompt to refresh only the report where it is prompted.
    Thanks
    Ravi

    are you talking about the database table caching? if so we are using OLAP cubes and I am not sure if caching is disabled. Is my issue related to caching? also another updated if I have just one dashboard prompt for example just year  only report 1 refreshes and the report 2 doesn't disappear. But when I add state dashboard prompt, which ever prompt I change state or year  both reports refreshes. The problem is when I add more than one prompt on the dashboard all the reports refreshes when the dashboard prompt selection changes. Any ideas.
    Thanks

  • How to realize this reqirement in the dashboard prompt in OBIEE 10G?

    Hi,
    I have a new query about dashboard prompt in OBIEE 10g..
    All below is needed to Operator in the dashboard prompt.
    We have 4 columns, 4 columns using multi-select type need to constrain together and need to show value which is related with product..
    e.g.
    Now I display "REGION" column using multi-select in Control, and I need to show data which product name is not null. After I add "where product name is not null" in the SQL results in Show, then I cannot use the Constrain box.. and I cannot set any variable if I using multi-select type..
    So anybody have any idea about this?
    Your reply will be highly appreciate..
    Regards,
    Anne

    Hi Anne
    User Input type as " Multi select prompt" keep it with constrain option then apply below query
    apply like this kind of SQL query in Default selection --->SQL result section
    SELECT "MX_PORTFOLIO_STATIC"."MT_BU_Level1" FROM "Position" where "MX_PORTFOLIO_STATIC"."MT_BU_Level1" is not null
    Thanks
    Deva

  • Not able to get the taxonomy field value of meta data field type

    Hi Everyone,
    Not able to get the taxonomy filed value from the metadata filed type.
    Any one can help me on this.
    Label, TermGuid, ValidatedString are showing empty when i debug the code.
    Below is the code which i used to get the taxonomy filed value

    Hi,
    Can you please try getting this way?
    var taxonomyField = listItem.Fields.GetFieldByInternalName(fieldName) as TaxonomyField;
    if (taxonomyField.AllowMultipleValues)
    var fieldValuesCollection = listItem[taxonomyField.Title] as TaxonomyFieldValueCollection;
    return fieldValuesCollection.Select(x => new Guid(x.TermGuid)).ToList();
    else
    var fieldValue = listItem[taxonomyField.Title] as TaxonomyFieldValue;
    return new List<Guid>() { new Guid(fieldValue.TermGuid) };
    Hope it helps!
    Thanks,
    Avni Bhatt
    If this helped you resolve your issue, please mark it Answered

Maybe you are looking for