Categories
- All Categories
- 15 Oracle Analytics Sharing Center
- 14 Oracle Analytics Lounge
- 211 Oracle Analytics News
- 42 Oracle Analytics Videos
- 15.7K Oracle Analytics Forums
- 6.1K Oracle Analytics Idea Labs
- Oracle Analytics User Groups
- 78 Oracle Analytics Trainings
- 14 Oracle Analytics Data Visualizations Challenge
- Find Partners
- For Partners
Using system session variable NQ_SESSION.ROLES in initblock

Hi
How to use system session variable NQ_SESSION.ROLES inside a initblock with some case condition and store the result into a variable. This variable will be further used to hide presentation columns
The initblock query would be,
case when NQ_SESSION.ROLES like '%Admin%' then 0 end --> The output of the statement will be stored in a session variable
But am stuck at what will be the "from clause of this initblock query" keeping it dual doesn't work.
Thanks
Comments
-
Something like this if you have an Oracle data source:
SELECT
CASE ...
FROM DUAL
0 -
Hi
Tried with dual but always the session variable takes the default initialization value!!
0 -
Which version of OBIEE is this?
0 -
Did you flag it as "Security sensitive"?
0 -
Could be the dreaded session variables bug if this is an old 12c version.
0