Solved

Oracle BI Publisher parameter selection error

Posted on 2009-04-08
2
3,375 Views
Last Modified: 2012-05-06
There are three parameters in the report.
Upon clicking view the results are displayed.
The issue is if one of the parameter is changes and the others are not changed.
If the User hits view button the report throws an error.
The report only works if all the parameters are chosen again.
Please help me to identify the issue and fix this.
Thank you.
0
Comment
Question by:RND2006
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 48

Accepted Solution

by:
schwertner earned 500 total points
ID: 24108276
This is normal

see

Oracle Business Intelligence Publisher Report Designer's Guide
Release 10.1.3.4
Part Number E12187-01

Seems you have to investigate the dependent values:

Text - this type allows the user to enter a text entry to pass as the parameter. Enter the Display Label for the parameter and the Text Field Size in characters. You may also enable the following options:

Text field contains comma-separated values - select this option to enable the user to enter multiple comma-separated values for this parameter.

Refresh other parameters on change - performs a partial page refresh to refresh any other parameters whose values are dependent on the value of this one.

Also investigate the default value:

Enter a Default Value for the parameter, if desired. Enter * to pass All as the default.


Note: Using * passes a null, so you must handle the null in your data source. A method to handle the null would be the standard Oracle NVL command, for example:

where customer_id = nvl(:cstid, customer_id)

where cstid is a value passed from the LOV and when the user selects All it will pass a null value.

If your data source is the Oracle BI Server, use the following macro to handle the null:

{$ if ${sYear}='*'$}
{$elsif ${sYear}='2000' $}
where Year = :sYear
{$else $}
where Year = :sYear
{$endif$}
where Year is a value passed from the LOV and when the user selects All it will pass a null value.

Note that the test operator must be either "=" or "!=".


0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Note: this article covers simple compression. Oracle introduced in version 11g release 2 a new feature called Advanced Compression which is not covered here. General principle of Oracle compression Oracle compression is a way of reducing the d…
How to Create User-Defined Aggregates in Oracle Before we begin creating these things, what are user-defined aggregates?  They are a feature introduced in Oracle 9i that allows a developer to create his or her own functions like "SUM", "AVG", and…
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
This video shows setup options and the basic steps and syntax for duplicating (cloning) a database from one instance to another. Examples are given for duplicating to the same machine and to different machines

717 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question