Categories
- All Categories
- 15 Oracle Analytics Sharing Center
- 15 Oracle Analytics Lounge
- 214 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
Trying to create an Absence Report and restrict view to session login HR/ HR Generalist

Hi,
Am trying to Create an Absence Report. I want to create a filter criteria where the Report have to populate results according to Department which are under that Particular Signed in Hr Generalist.
Please help me creating this filter or Security criteria.
Thank you.
Answers
-
Hi,
to do this you need; -
an sql query that would provide the row / rows of data for each user
to create the variables to hold this row level initialised data
an init block to be defined to populate the data for the session
this to be then associated with the users via the mediums of groups set up for the purpose (i.e. there might be exec / admin users that you do not want the security to apply to) and filters created to apply the security to the facts / dimensions in question (note you need to apply it to both sides)
Hope this helps give you the skeleton of what you are looking at to achieve what you describe.
0 -
Hi Robert,
It would be a great help if you would share your SQL, Which you have used at your end for similar kind of requirement.
Thank You.
0 -
Sorry, I have not implemented the exact filter that you describe, and I suspect that your requirement is specific to your business, so to achieve this you really need someone locally who can write sql in conjunction with a functional HR specialist and yourself to explain your exact requirement.
The key question you need answering is how is it configured in your e-business system to associate an 'HR generalist' with department or department(s).
If someone can write SQL code that when given the 'HR Generalist' returns Departments covered by that person, then you can achieve your requirement.
Good Luck!
0 -
Have you set up security profiles in EBS to secure the user to just the employees they are allowed to see?
0 -
Hi,
We got the same requirement and I thought and implemented the below approach..
1. Create helper report. Report with employee number/ username, department
2. In the main report, use a filter where department in (select department from helper report)
3. Based on above result, you will get all the departments.. So, we need to restrict based on the user who logs in.
4. In helper report, add a filter where username/ employee number in VALUEOF(NQ_SESSION."DESCRIPTION"). This will return the department of the specific user who logs in.
5. The user will be created in console right? So, in the console, for the users, under description, provide their login username/ employee number based on your helper report field.
6. For other users, report should display all the departments details. for that in the helper report itself provide VALUEOF(NQ_SESSION."DESCRIPTION") or (1=1).
Hope this helps..
Thanks,
Yaswanth
0