OBIEE 11g Prompt's default value doesn't work with a presentation variable

Hi, I'm using OBIEE 11g and I have two dashboard prompts (Product Name and Product Number). Theses prompts are hierarquical, so the values that are displayed in the Product Number prompt have dependency with the values chosen on the Product Name prompt. This I was able to do, but now I want to put a default value on the Product Number prompt. The steps are:
1 - The user chooses the value for the Product Name Prompt and by doing that the Product Number prompt is automatically filled with the correspondent value.
But unfortunatelly this is not working, after choosing the value for the Product Name the default value for Product Number is not displayed (when you open the prompt the values displayed are correct and already filtered considering the Product Name but the prompt is not automatically filled with the default value).
What I did is:
On the Product Name Prompt I've created a Presentation Variable called PROD.
On the Product Number Prompt I've selected:
1 - For the "Choice List Values" field I've checked the option "Limit Values by All Prompts"
2 - For the "Default Selection" field I've chosen the SQL Results option and enter the following SQL:
SELECT "Products"."Product Number" FROM "Sample Sales Lite"."Products" WHERE "Products"."Product"='@{variables.PROD}
What am I doing wrong?
Thank you,
Carla

Sorry I was wrong in my previous thread.
Actually your approach is not correct, Product Number choose constraint that will show as per the selection of Product Name.
Coming to default value for Product Number you are going for sql override that is okay but not work with variable, instead of setting default values for product number set that to product name.
if not you need to go for 2 different prompts
Prompt 1 Product Name hit GO
Prompt 2 will work based on as you defined earlier with variables
Hope this helps

Similar Messages

  • Parameter default value doesn't work in Discoverer Desktop 4i

    Hello,
    I have a parameter called 'Organization' in discoverer report.
    I want to set its default value to one organization from the list of values. I edited the parameter
    and selected that value from the list in the Default value field. But,when I run
    the report, it shows the recently used value for that parameter,
    instead of showing the default value.
    I have the same problem with all parametrs in workbooks in Discoverer.
    I am using Discoverer Desktop 4i (4.1.41.05.00).
    Is there anything i can do to make Discoverer show me the default value for the parameter every time i run the workbook?
    Thanks in advance!

    Thanks Rod!
    Unfortunately it seams that seting that p[reference doesn't work for my version of Discoverer.
    That option is introduced with version 4.1.43 and we are using version 4.1.41.05.
    I suppose i can't solve that problem on another way in this version of Discoverer Desktop..?
    Best regards!                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • OBIEE 11g - Prompt Validation

    Hello Gurus,
    I am trying to validate a textfield prompt in a dashboard page, OBIEE 11.1.1.6, and looking for some assistance on the same. Have detailed the scenario below.
    Scenario:
    A dashboard page has a textfield prompt, which sets the value entered by user in a Presentation Variable "rg_office". The same dashboard page has a report, wherein one of the columns is "Office". Depending upon the value entered by the user in the textfield prompt, report would be displayed.
    As we know, by making "Office" is prompted, report would be displayed. In case there is no matching value, filter section would show no match found.
    What I Want:
    The value entered in the textfield prompt should be of specific format. I want to show end-user an alert message if the value entered by him/her does not correspond to a specific format (format like 99:99 only). How can I incorporate the same in my dashboard?
    Eagerly awaiting response.
    Thanks & Regards,
    RG

    Hi Rahul,
    Create a report that checks for the data format. Make sure the report returns rows based on your condition.
    Add a static text " Please enter the data is correct format " to dashboard section, make the section to display conditionaly by adding the above created report as a condition. Whenever user enters incorrect format the text will display instead of actual report. For more info on guided navigation,
    http://gerardnico.com/wiki/dat/obiee/guided_navigation
    Regards,
    Dpka

  • bc4juix:StyledText doesn't work with null values?

    Hi , anyone knows why the <bc4juix:StyledText> tag doesn't work with null values?
    For example when datasource does not give back data...
    Thanks
    Guillermo

    Which version of Jdev are you using? What are the results you are getting?

  • SoftKeyboardType property of StageText : some values doesn't work on Android

    Hello,
    on my Galaxy Nexus Android 4.2.2, when I use the softKeyboardType property of StageText :
    "number" and "email" work,
    but "punctuation", "url", and "contact" doesn't work.
    http://help.adobe.com/en_US/FlashPlatform/beta/reference/actionscript/3/flash/text/StageTe xt.html#softKeyboardType
    Why some values doesn't work ?
    I need the constant "punctuation", please help.
    Thanks

    Hi,
    Thank you for your bug report. We are able to reproduce the issue. Could you please open a new bug report on this over at bugbase.adobe.com?  Once the bug has been added would you mind posting back with the URL so that others affected can add their votes and comments?
    Thanks once again for reporting this.
    -Nimit

  • IPhone original doesn't work with Belkin TuneBase FM after 2.0.1 update

    iPhone original doesn't work with Belkin TuneBase FM after 2.0.1 update

    Firstly, XE 10.2.0.1 isn't the same as 10gR2 10.2.0.1
    It was released a bit later and had some fixes that were in later 10.2.0.x patchsets (and also had some different security settings). Maybe they should have gone with 10.2.1.1.
    Second, the embedded PL/SQL gateway was okay for XE, but isn't supported for Apex on the Standard/Enterprise Edition until 11g. It doesn't mean it never works, but it does mean that you shouldn't rely on it.
    That said, there are other issues with 10.2.0.1 so I'd recommend going for the latest patchset anyway.
    Thirdly, if you get the XDB login dialog box, something has gone wrong. For the embedded PL/SQL gateway, XDB is acting as a virtual webserver. Generally what should happen is you connect to the webserver (XDB) and request a page (the APEX login page) and XDB should give it to you, no questions asked.
    If it asks you to login then the XDB webserver is running but is trying to get authorisation before it gives you the page. [By the way, if it does prompt for a username/password, it is expecting a database username/password, not an apex one or an O/S one] I'd suspect something is wrong with the setup.
    What happens if you ask for a simple image like
    http://URAN:8080/i/bottom_left.gif

  • Firefox command line option "-no-remote" doesn't work with profile.

    I want to run the stripped version of firefox in background with one application and another full version of firefox for normal browsing. I have created the profile for the stripped version of firefox and loading the same using command firefox -P "stripped" -no-remote/firefox -no-remote -P "stripped". But when I start the full version of firefox by launcher "firefox" than it directly loads the stripped version even used the -no-remote option with profile. So I have created launcher for firefox and used the -no-remote with default profile like "firefox -no-remote". It works when first time I click on launcher but for second click it shows the message "Firefox instance is running, or not responding. close the firefox and restart the system". I have gone through the online available documents that suggests that use the -no-remote option with profile so the default profiles works correctly. But -no-remote option doesn't work with the profile. So is there any way to launch the full version of firefox by launcher on second click on launcher?

    Yes, I used separate profiles only. But the -no-remote option doesn't work as mentioned http://kb.mozillazine.org/Opening_a_new_instance_of_Firefox_with_another_profile.
    Please find below the command what I am using
    firefox -P "stripped" -no-remote
    firefox
    If I use the above command than the new firefox window get the configuration from the stripped even if I have used the -no-remote.
    I use the -no-remote with firefox default than it works for the first time.
    I have created the launcher for firefox default. So if I click second time on launcher than it doesn't work.
    firefox -P "stripped"
    firefox -no-remote
    (But doc on link -> http://kb.mozillazine.org/Opening_a_new_instance_of_Firefox_with_another_profile) says do not use the -no-remote with default.
    Do you have any idea why this is happening?

  • Horizontal scrolling doesn't work with ItemsStackPanel in ListView(GridView)

    Hi,
    In Win 8.1 App Store Project I have a ListView with fixed width and listen for ContainerContentChanging event because of performance issues.
    When ListView width is less than content width, horizontal scrolling doesn't work. If we change ItemsStackPanel to VirtualizingStackPanel, horizontal scrolling works fine. But ContainerContentChanging doesn't work with VirtualizingStackPanel.
    Is it possible to make horizontal scrolling work with ItemsStackPanel?
    Here simple example to reproduce this problem:
    <Page
    x:Class="App8.MainPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:App8"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d">
    <Page.Resources>
    <DataTemplate x:Key="ContinuousViewItemTemplate">
    <Border Width="800"
    Background="Green"
    Margin="10"
    Padding="5">
    <Border x:Name="root" Height="800" Background="{Binding}"/>
    </Border>
    </DataTemplate>
    <Style x:Key="ListViewStyle1" TargetType="ListView">
    <Setter Property="ScrollViewer.HorizontalScrollBarVisibility" Value="Visible"/>
    <Setter Property="ScrollViewer.HorizontalScrollMode" Value="Enabled"/>
    <Setter Property="ItemTemplate" Value="{StaticResource ContinuousViewItemTemplate}"/>
    </Style>
    </Page.Resources>
    <Grid>
    <Grid.ColumnDefinitions>
    <ColumnDefinition Width="100"/>
    <ColumnDefinition Width="500"/>
    <ColumnDefinition/>
    <ColumnDefinition Width="500"/>
    <ColumnDefinition Width="100"/>
    </Grid.ColumnDefinitions>
    <ListView Style="{StaticResource ListViewStyle1}" Grid.Column="1">
    <SolidColorBrush Color="Red"/>
    <SolidColorBrush Color="Cyan"/>
    </ListView>
    <ListView Style="{StaticResource ListViewStyle1}" Grid.Column="3">
    <ListView.ItemsPanel>
    <ItemsPanelTemplate>
    <VirtualizingStackPanel/>
    </ItemsPanelTemplate>
    </ListView.ItemsPanel>
    <SolidColorBrush Color="Red"/>
    <SolidColorBrush Color="Cyan"/>
    </ListView>
    </Grid>
    </Page>

    Hi Mikhail Maksyuta,
    Welcome back!
    Yes, you are right! I have reproduced it on VS 2013 professional.
    I will report it as bug, Thanks for your valuable suggestions!
    If you have any other questions about this, please feel free let me know!
    Thanks again!
    Regards! 
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • My Custom Converter Doesn't Work With DataModel

    Hi,
    I have this simple object with its custom converter taken from the Core JSF Book. It works fine, but when I put it in DataModel, somehow it didn't get updated. I don't put the whole codes here, only the important parts.
    Any1 knows what is the reason? I have been looking for an answer but I haven't found one. Plz help.
    public class CreditCard {
    private String number;
    public CreditCard(String number) { this.number = number; }
    public String toString() { return number; }
    public class CreditCardConverter implements Converter, Serializable {
    private String separator;
    public void setSeparator(String newValue) { separator = newValue; }
    public Object getAsObject(............);
    return new CreditCard(builder.toString());
    public String getAsString(..............)
    throws ConverterException {
    return result.toString();
    public class MyBackBean{
    private DataModel creditCardDataModel;
    private static final CreditCard[] ccs = {
    new CreditCard("1111 111 111 111"),
    new CreditCard("2222 222 222 222")
    public DataModel getCards(){
    if (creditCardDataModel == null) {
    creditCardDataModel = new ArrayDataModel(ccs);
    return creditCardDataModel;
    <h:dataTable value="#{myBackBean.cards}" var="card">
    <h:column>
    <h:inputText id="card" value="#{card}"/>
    </h:column>
    </h:dataTable>
    Edited by: JW77 on Dec 3, 2009 12:47 AM

    Please explain.
    What does "cellcom line doesn't work with my iPhone" mean?
    What are you trying?  What is happening?
    Where did you buy the iphone?
    Any info abnout your issue at all?

  • CS6 stamp tool doesn't work with action / record ( tool record is enabled ) other tools works

    CS6 stamp tool doesn't work with action / record ( tool record is enabled ) other tools works

    At one time tool  recording was not possible and if you install Adobe Scriptlistener Plug-in Adobe will disable tool recording its never an option.
    I use and record actions all the time and was looking forward to tool recording when Adobe announced it.  However I found what they delivered was  of very limited value because of the restrictions. I do not care that Adobe disables tool recording on my machine.
    The amount of data that gets reordered seems also vary between machines.  I found that Action recorded on fast machine are not usable on slow machine.  Fast machine recorder too much data.
    Documents you use such action on must also have the same size and resolution as the document you recorded the action on. Quite a restriction.
    You problem may also be foxed in CC 2014 sett here Photoshop CS6 - Recording the clone tool in an action gives incorrect results on replay.

  • Why EL doesn't work with custom tags ?!

    I don't know why expression lang. doesn't work with me.
    here's an example, and please tell me why :
    --- the jsp page with EL ==> doesn't work :
    <%-- In the name of ALLAH most gacious most merciful --%>
    <%@ page language="java" %>
    <%@ taglib uri="/cartlib" prefix="cart" %>
    <html>
    <jsp:useBean id="product" class="ch16.cart.ProductCatalog" scope="application" />
    <cart:showCatalog productCatalog="${product}" addToShoppingCartUri="<%= response.encodeURL("AddToShoppingCart.jsp") %>" />
    </html>
    when using expressions instead, the page works .
    the new page is :
    <%-- In the name of ALLAH most gacious most merciful --%>
    <%@ page language="java" %>
    <%@ taglib uri="/cartlib" prefix="cart" %>
    <html>
    <jsp:useBean id="product" class="ch16.cart.ProductCatalog" scope="application" />
    <cart:showCatalog productCatalog="<%= product %>"
    addToShoppingCartUri="<%=
    response.encodeURL("AddToShoppingCart.jsp") %>" />
    </html>
    The error was :
    HTTP Status 500 -
    type Exception report
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    org.apache.jasper.JasperException: jsp.error.beans.property.conversion
    org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper
    .java:512)
    org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:377)
    org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
    org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    root cause
    org.apache.jasper.JasperException: jsp.error.beans.property.conversion
    org.apache.jasper.runtime.JspRuntimeLibrary.getValueFromPropertyEditorManager(Js
    pRuntimeLibrary.java:885)
    org.apache.jsp.ShowProductCatalog_jsp._jspService(ShowProductCatalog_jsp.java:77
    org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:334)
    org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
    org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    note The full stack trace of the root cause is available in the Apache Tomcat/5.5.20 logs.

    Regarding setup, see this post reply #6
    http://forum.java.sun.com/thread.jspa?threadID=629437&tstart=0
    Other potential things to check: make sure you are getting the right value passed in
    productCatalog="${applicationScope.product}"
    ${product} by preference would take a pageContext, request or session attribute before the application level one (it uses pageContext.findAttribute).
    What do you get if you just print out ${product} on the screen?
    It should call a toString() on it for rendering purposes.

  • X-Fi 2 doesn't work with BBC iPlayer

    My X-Fi 2 doesn't work with BBC iPlayer content.
    I've no idea whether it should or not, - but just for info as some people will be wanting to know.
    I can load the files by dragging and via Centrale without error messages, but it just won't play the .wmv files (which work on the X-Fi ).
    Firmware .0.0

    JohnZS wrote:
    I might be wrong, and if I am wrong then could someone correct me, but as far as I knew, Creative Cards do not support Windows Server 2003. I maybe wrong, have you tried the latest BETA driver (see exciting news thread)John
    In windows 2003, the driver works if I limit the total ram to 4096MB by adding /Maxmem=4096 in boot.ini file.
    FYI
    /maxmem
    The /maxmem parameter limits the physical memory available to Windows.
    /maxmem=SizeInMB
    Subparameter
    SizeInMB
    Specifies the maximum amount of physical memory available to Windows. Enter a decimal number that represents the amount of memory in megabytes.
    Comments
    This parameter actually limits Windows to memory addresses less than or equal to the specified value. Because some memory within the remaining address space might be reserved for nonsystem use, the actual memory available to Windows might be less than the amount that you specify.
    The /maxmem parameter is supported only on Windows Server 2003, Windows XP, and Windows 2000. On Windows Server 2003 and Windows XP, use /burnmemory to limit system memory more precisely. On Windows Vista and later versions of Windows, use the removememory or truncatememory parameters with the BCDEdit /set command
    You can use this parameter to test a driver in low memory conditions. For example, you can use this parameter to limit a computer with GB of memory to 256 MB of memory.

  • HT3325 Keynote Remote doesn't work with hyperlinks?

    Remote sync well with iPad .. Impressive
    However, it doesn't work with any hyperlinks!
    It's simply an image and swiping the pages ... Ignoring all hyperlinks ... It does work with media but u would have to put them in sequence in your slides. If you work with many hyperlinks within a slide, you can't get any to work with the remote!
    Quite disappointed that Apple actually charges for an app so simple with no value added services!
    There are many free apps doing the same simple tasks.
    Thumbs DOWN.
    Do something about it Apple!

    Any remote that actually works?

  • Seconds_between doesn't work with variables in SQLScript

    There is a sample procedure:
    create procedure testproc
    language SQLSCRIPT
    as
    l_curtime timestamp;
    l_timedelta integer;
    begin
      select systimestamp into l_curtime from dual;
      select seconds_between(:l_curtime, systimestamp) into l_timedelta from dual;
    end;
    It should return seconds between 2 timestamp values.
    The code returns an error:
    Could not execute 'create procedure testproc language SQLSCRIPT as l_curtime timestamp; l_timedelta integer; begin ...'
    SAP DBTech JDBC: (at 160): inconsistent datatype: line 8 col 10 (at pos 160)
    With «time» and «date» datatypes that's the same. So, seconds_between doesn't work with SQLScript variable (in this example, l_curtime). Is it a normal behaviour or supposed to be a bug?

    Hello,
    I can confirm same behavior - using variable inside seconds_between function leads to error. If you put there static string it is ok.
    Of course you can always create "dummy" table (having 1 row with 1 column) where you will store the result of first call and then you will reference in second. But of course it is not that clean and it will be slower (especially if called many times).
    But I would suggest to wait few more days - there should be SP03 released and everything can be different.
    Tomas

  • Trying to load illustrator 6cs onto new mac and the old activation code for my ill cs doesn't work with it

    Trying to load a downloaded version of illustrator 6cs onto new mac and the old activation code for my illustrator cs doesn't work with it.  Do I need a new code or am I missing something?  Same goes for my Photoshop cs.

    you need your serial number.
    if you purchased from or registered with adobe check your account, https://www.adobe.com/account.html

Maybe you are looking for