Select Page

Modify and Set Variables in Analysis Advanced Tab

Author: Christian Screen | | April 13, 2011

On the fly and per Analysis an end-user with Advanced Tab permissions can update variables, logging levels, etc. within the report in an ad-hoc fashion.  The benefit here is that if one is just running quick tests or looking to identify issues, one need not make changes permanent in the RPD, etc. just to run a few quick tests.

In order to modify any user variable or session variable such as loglevel, disable_cache_hit, locale, etc. (must be marked available for updating) a user can just specify the override in the Prefix Section of the Advanced tab.

The syntax would look something like, SET VARIABLE [VariableName] = value.  For example: SET VARIABLE LOGLEVEL=4;

The loglevel override example would set the users session logging level to 4 so when the query runs the next time a log for that query will appear in the nqquery.log file.

[simage=526,400,y,center]

NOTE:

When hierarchical columns are use, they restrict access to may components of an Analysis, however, the Prefix section is still unaffected in the Advanced tab so this functionality is still possible even when Hierarchical columns are used.

[simage=525,400,y,center]

References:

http://download.oracle.com/docs/cd/E14571_01/bi.1111/e10544/analyses.htm#i1016968

http://download.oracle.com/docs/cd/E14571_01/bi.1111/e10544/analyses.htm#CJAJCAHI

Oracle BI Publisher (BIP) Tips: Functions, Calculations & More

Check out these BI Publisher tips including functions & calculations so you can understand more about the production and support of BI Publisher reports.

Sherry Milad | January 15, 2018

How to Index a Fact Table – A Best Practice

At the base of any good BI project is a solid data warehouse or data mart.

Christian Screen | March 16, 2010

Qlik vs. Tableau vs. Power BI: Which BI Tool Is Right for You?

Tableau, Power BI, and Qlik each have their benefits. What are they and how do you choose? Read this blog post for a quick analysis.

Tom Hoblitzell | June 6, 2019

Subscribe to Our Blog

Never miss a post! Stay up to date with the latest database, application and analytics tips and news. Delivered in a handy bi-weekly update straight to your inbox. You can unsubscribe at any time.

Work with Us

Let’s have a conversation about what you need to succeed and how we can help get you there.

CONTACT US

Work for Us

Where do you want to take your career? Explore exciting opportunities to join our team.

EXPLORE JOBS