<ROOT>
 <APPS_INITIALIZE_DATA>
  <USER_NAME>ENGINATICS</USER_NAME>
  <RESPONSIBILITY_KEY>SYSTEM_ADMINISTRATOR</RESPONSIBILITY_KEY>
  <APPLICATION_SHORT_NAME>SYSADMIN</APPLICATION_SHORT_NAME>
 </APPS_INITIALIZE_DATA>
<REPORTS>
<!-- loader xml for Enginatics Blitz Report: EIS Usage Summary -->
 <REPORTS_ROW>
  <GUID>5CA4CEB454121BCDE0630100007F2698</GUID><ENABLED>Y</ENABLED>
  <SQL_TEXT>select
to_char(z.month,&apos;yyyy-mm&apos;) month,
count(distinct case when z.window_flag is null then z.user_id end) user_count,
count(distinct case when z.window_flag=&apos;Y&apos; then z.user_id end) user_count_60_days,
sum(z.runs) runs,
sum(z.scheduled_runs) scheduled_runs,
sum(z.runs)-sum(z.scheduled_runs) ad_hoc_runs,
sum(z.xl_connect_runs) &quot;XL Connect Runs&quot;,
count(distinct case when z.window_flag is null then z.report_id end) report_count
from
(
select
add_months(trunc(y.run_date,&apos;mm&apos;),rowgen.column_value-1) month,
decode(rowgen.column_value,1,null,&apos;Y&apos;) window_flag,
y.user_id,
decode(rowgen.column_value,1,y.report_id) report_id,
decode(rowgen.column_value,1,y.runs) runs,
decode(rowgen.column_value,1,y.scheduled_runs) scheduled_runs,
decode(rowgen.column_value,1,y.xl_connect_runs) xl_connect_runs
from
(
select
erp.created_by user_id,
erp.report_id,
trunc(erp.start_time) run_date,
count(*) runs,
count(case when erp.start_time-ers.logon_time&gt;1 then 1 end) scheduled_runs,
count(case when erp.submission_source=&apos;XL Connect&apos; then 1 end) xl_connect_runs
from
xxeis.eis_rs_processes erp,
xxeis.eis_rs_sessions ers
where
erp.submission_source in (&apos;eXpress&apos;,&apos;XL Connect&apos;) and
erp.report_id&lt;&gt;-999 and
erp.session_id=ers.session_id(+)
group by
erp.created_by,
erp.report_id,
trunc(erp.start_time)
) y,
table(xxen_util.rowgen(4)) rowgen
where
(rowgen.column_value=1 or add_months(trunc(y.run_date,&apos;mm&apos;),rowgen.column_value-1)&lt;=y.run_date+60) and
add_months(trunc(y.run_date,&apos;mm&apos;),rowgen.column_value-1)&lt;=sysdate
) z
group by
z.month
order by
z.month desc</SQL_TEXT>
  <VERSION_COMMENTS>New report: EIS users and runs per month with the distinct user count of the preceding 60 days, for a Blitz Report license estimate.</VERSION_COMMENTS>
  <REPORT_TRANSLATIONS>
   <REPORT_TRANSLATIONS_ROW>
    <LANGUAGE>US</LANGUAGE>
    <REPORT_NAME>EIS Usage Summary</REPORT_NAME>
    <DESCRIPTION>EIS eXpress Reporting usage by calendar month of the run start, to estimate the number of Blitz Report licenses required for the EIS user base.

User Count is the number of distinct users who ran an EIS report in the month. User Count 60 Days is the number of distinct users in the 60 days before the month started, which corresponds to the rolling 60-day window that Blitz Report licensing is based on.

Runs count executions from eXpress and XL Connect. A scheduled run counts for the user who created the schedule. Email distribution jobs are deliveries of a run and are not counted.

EIS purges its run history, so the counts of the first retained months are understated. EIS Execution History shows the earliest retained run.</DESCRIPTION>
   </REPORT_TRANSLATIONS_ROW>
  </REPORT_TRANSLATIONS>
  <CATEGORY_ASSIGNMENTS>
   <CATEGORY_ASSIGNMENTS_ROW>
    <CATEGORY>EIS</CATEGORY>
   </CATEGORY_ASSIGNMENTS_ROW>
  </CATEGORY_ASSIGNMENTS>
  <ANCHORS>
  </ANCHORS>
  <PARAMETERS>
  </PARAMETERS>
  <TEMPLATES>
  </TEMPLATES>
  <DEFAULT_TEMPLATES>
  </DEFAULT_TEMPLATES>
  <UPLOAD_COLUMNS>
  </UPLOAD_COLUMNS>
  <UPLOAD_PARAMETERS>
  </UPLOAD_PARAMETERS>
  <UPLOAD_SQLS>
  </UPLOAD_SQLS>
 </REPORTS_ROW>
</REPORTS>
</ROOT>
