[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

Oracle BI Publisher parameter selection error

Posted on 2009-04-08
2
Medium Priority
?
3,494 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 2000 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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

This article started out as an Experts-Exchange question, which then grew into a quick tip to go along with an IOUG presentation for the Collaborate confernce and then later grew again into a full blown article with expanded functionality and legacy…
Configuring and using Oracle Database Gateway for ODBC Introduction First, a brief summary of what a Database Gateway is.  A Gateway is a set of driver agents and configurations that allow an Oracle database to communicate with other platforms…
Via a live example, show how to take different types of Oracle backups using RMAN.
Via a live example, show how to restore a database from backup after a simulated disk failure using RMAN.

649 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