This one was answered for me in the other forum, here it is if anyone is interested. Works perfectly!
Hi,
Clone the report and then replace the sql in the 2nd level query with:
SELECT DISTINCT
i.[Name],
ISNULL(s.[System Manufacturer],'No data reported') [System Manufacturer],
ISNULL(s.[Computer Model],'No data reported') [Computer Model],
s.[Serial Number], [Last Logon User],
s.[_ResourceGuid]
FROM dbo.Item i
JOIN dbo.Inv_AeX_HW_Serial_Number s
ON s.[_ResourceGuid] = i.Guid
JOIN dbo.Inv_AeX_AC_Identification d
ON d.[_ResourceGuid] = i.Guid
JOIN dbo.CollectionMembership cm
ON cm.ResourceGuid = d.[_ResourceGuid]
JOIN dbo.Item it
ON it.Guid = cm.CollectionGuid
WHERE d.[System Type] = 'Win32'
AND i.[Name] LIKE '%ComputerName%'
AND d.Domain LIKE '%Domain%'
AND it.[Guid] = '%Collection%'
AND
((s.[System Manufacturer] LIKE '%' + '%Level 1%' + '%'
AND s.[Computer Model] LIKE '%' + '%Level 2%' + '%' )
OR
(s.[System Manufacturer] LIKE '%' + '%Level 2%' + '%'
AND s.[Computer Model] LIKE '%' + '%Level 1%' + '%' ))
ORDER BY i.[Name]
All i've done is to add the field: [Last Logon User]
Dan