SELECT
	td.numValue
FROM [PolarisTransactions].[Polaris].[TransactionHeaders] th (nolock)
inner join [PolarisTransactions].[Polaris].TransactionDetails td (nolock)
    on th.TransactionID = td.TransactionID
        and td.TransactionSubTypeID = 36
inner join polaris.polaris.PolarisUsers pu (nolock)
    on pu.PolarisUserID = th.PolarisUserID
INNER JOIN Polaris.BibliographicRecords br (nolock)
    on td.numValue = br.BibliographicRecordID
        and br.RecordStatusID = 1 -- include only Final records
where th.TransactionTypeID in (3002,3003)
	-- 3002 bib created
	-- 3003 bib modified
and th.TransactionDate > DATEADD(m, -3, current_timestamp) -- currently checking past 3 months, change the # for different range
and pu.name = '' -- add your Polaris username in the brackets, without a domain (if used)

group by
	td.numValue
	
