RSA IGL Version: V 7.2.x
Modules: Governance
Product Area: Charts, Multiple Series (Applied to Home/User Summary Dashboard)
Associated Dashboard:
Time to apply: ~30 minutes
This chart provides key information about the total Joiners & Leavers within your company.
The goal of this chart is to understand the volume of user changes.
The chart can be used by admins to understand what is happening within the organisation and lead onto ROI, if automation (with AFX) is applied to help with these processes.
This chart displays the total number of joiners and movers, for the grouping of time specified (eg. per week).
This is how you can configure the chart, so it is useful for how you wish to view the data
You MUST ensure you use a single quote ', either side of the value, for this to work properly in the RSA IGL Chart UI.
However, when testing this in SQL Developer, the single quote ' is NOT required.
Please copy and paste these values exactly as shown below to change the chart:
We strongly recommend you do not specify too many values for "TotalDataPoints" otherwise it will not display well
First test this in your query tool (SQLDeveloper, Toad etc..)
(SELECT
tJoiners.starttime,
tJoiners.value as "Joiners",
tLeavers.value as "Leavers"
FROM
(
SELECT
TO_CHAR(Tdates.dates, DECODE(trim(:GROUPING), 'Daily', 'YYYY-Mon-DD', 'Weekly', 'YYYY - "Week "WW', 'Monthly', 'YYYY - Month', 'Quarterly', 'YYYY - "Q"Q', 'Yearly', 'YYYY')) StartTime,
nvl(count(pU.ID), 0) VALUE
FROM
(
SELECT
CASE
WHEN :GROUPING = 'Daily' THEN trunc(sysdate, 'DD') - (LEVEL-1)
WHEN :GROUPING = 'Weekly' THEN trunc(sysdate, 'D') - (7 * (LEVEL-1))
WHEN :GROUPING = 'Monthly' THEN ADD_MONTHS(trunc(sysdate, 'MM'),-1 *(LEVEL-1))
WHEN :GROUPING = 'Quarterly' THEN ADD_MONTHS(trunc(sysdate, 'Q'),-3 *(LEVEL-1))
WHEN :GROUPING = 'Yearly' THEN ADD_MONTHS(trunc(sysdate, 'Y'),-12 *(LEVEL-1))
END dates
FROM
dual
CONNECT BY
LEVEL <= :TotalDataPoints
) Tdates
LEFT JOIN avuser.pv_users pU ON
trunc(pU.creation_date, DECODE(:GROUPING , 'Daily','DD','Weekly','D','Monthly','MM','Quarterly','Q','Yearly','Y')) = Tdates.dates
GROUP BY
Tdates.dates
ORDER BY
Tdates.dates ASC
) tJoiners
left join
(
SELECT
TO_CHAR(Tdates.dates, DECODE(trim(:GROUPING), 'Daily', 'YYYY-Mon-DD', 'Weekly', 'YYYY - "Week "WW', 'Monthly', 'YYYY - Month', 'Quarterly', 'YYYY - "Q"Q', 'Yearly', 'YYYY')) StartTime,
nvl(count(pU.ID), 0) VALUE
FROM
(
SELECT
CASE
WHEN :GROUPING = 'Daily' THEN trunc(sysdate, 'DD') - (LEVEL-1)
WHEN :GROUPING = 'Weekly' THEN trunc(sysdate, 'D') - (7 * (LEVEL-1))
WHEN :GROUPING = 'Monthly' THEN ADD_MONTHS(trunc(sysdate, 'MM'),-1 *(LEVEL-1))
WHEN :GROUPING = 'Quarterly' THEN ADD_MONTHS(trunc(sysdate, 'Q'),-3 *(LEVEL-1))
WHEN :GROUPING = 'Yearly' THEN ADD_MONTHS(trunc(sysdate, 'Y'),-12 *(LEVEL-1))
END dates
FROM
dual
CONNECT BY
LEVEL <= :TotalDataPoints
) Tdates
LEFT JOIN avuser.pv_users pU ON
trunc(pU.termination_date, DECODE(:GROUPING , 'Daily','DD','Weekly','D','Monthly','MM','Quarterly','Q','Yearly','Y')) = Tdates.dates
GROUP BY
Tdates.dates
ORDER BY
Tdates.dates ASC
) tLeavers
on tJoiners.StartTime = tLeavers.starttime)
Example of the results:
If you get an error at this stage, please test your SQL in a Query tool, like "SQL Developer" or "SQL Squirrel" to ensure it works first.
If it still doesn't work, please share your SQL and a screen shot of the issue below. DO NOT contact RSA Support
There are MANY other "display attributes" you can play with on this screen, so please update and make changes as you see fit.
Dont forget:
Please login, then "Like"
and "Actions/Follow" this page (Top Right), so as to receive updates and be notified if we modify/change items found here, in future.