Hello,
I need some help adding a column to an existing customer report. The report pulls the device name, User, and Software Product Name. I need to add in a column showing what OU the computer is in. Below is my current report. I am very new to reports, and any help would be appreciated.
Thank you for your help
Kris
SELECT DISTINCT
[vri1_Computer].[Name] AS [Name],
[ajs2_vAC_ComputerLicenseAndUsageByProduct].[Software Product Name] AS [Software Product Name],
[ajs2_vAC_ComputerLicenseAndUsageByProduct].[User] AS [User],
[ajs2_vAC_ComputerLicenseAndUsageByProduct].[Install Date] AS [Install Date]
FROM
[vRM_Computer_Item] AS [vri1_Computer]
LEFT OUTER JOIN [vAC_ComputerLicenseAndUsageByProduct] AS [ajs2_vAC_ComputerLicenseAndUsageByProduct]
ON ([vri1_Computer].[Guid] = [ajs2_vAC_ComputerLicenseAndUsageByProduct].[ResourceGuid])
WHERE
([ajs2_vAC_ComputerLicenseAndUsageByProduct].[SoftwareProductGuid] = '58113f11-959b-4408-82ad-c72ced0739d1'
OR [ajs2_vAC_ComputerLicenseAndUsageByProduct].[SoftwareProductGuid] = '8a2bc769-3017-44a5-a288-d2eebd979b4c'
OR [ajs2_vAC_ComputerLicenseAndUsageByProduct].[SoftwareProductGuid] = '7deaa3a1-262c-4f73-859b-f8f2744d365e'
OR [ajs2_vAC_ComputerLicenseAndUsageByProduct].[SoftwareProductGuid] = 'e9056d92-ae6f-41bb-9d66-c02ce836cf3e'
OR [ajs2_vAC_ComputerLicenseAndUsageByProduct].[SoftwareProductGuid] = '74fa3f22-4e44-47c8-bb4e-8ddc24d3817e'
OR [ajs2_vAC_ComputerLicenseAndUsageByProduct].[SoftwareProductGuid] = '3f50b153-ab14-468d-8dc6-a14ee19e1b38'
OR [ajs2_vAC_ComputerLicenseAndUsageByProduct].[SoftwareProductGuid] = '1979afa6-8802-4793-ad97-91565704d818'
OR [ajs2_vAC_ComputerLicenseAndUsageByProduct].[SoftwareProductGuid] = '0b0091e6-1f72-4486-9c63-adec52425b39'
OR [ajs2_vAC_ComputerLicenseAndUsageByProduct].[SoftwareProductGuid] = 'e320910f-9b7d-4b79-9517-d7a96312ada1'
OR [ajs2_vAC_ComputerLicenseAndUsageByProduct].[SoftwareProductGuid] = 'ca2cb000-95cf-4c2c-8519-c90a11d93853'
OR [ajs2_vAC_ComputerLicenseAndUsageByProduct].[SoftwareProductGuid] = '79b9d58f-8fc2-4b94-8f79-988e3a741196'
OR [ajs2_vAC_ComputerLicenseAndUsageByProduct].[SoftwareProductGuid] = 'fce46f42-5404-4254-b202-3c8afedb4690'
OR [ajs2_vAC_ComputerLicenseAndUsageByProduct].[SoftwareProductGuid] = '44d73238-7871-400e-94ec-d43da4c0f105'
OR [ajs2_vAC_ComputerLicenseAndUsageByProduct].[SoftwareProductGuid] = '813d0fce-5680-4a41-8e4a-01d79b248cdc'
OR [ajs2_vAC_ComputerLicenseAndUsageByProduct].[SoftwareProductGuid] = '0092a9b1-d453-43c5-8e3b-a59182970d5d'
OR [ajs2_vAC_ComputerLicenseAndUsageByProduct].[SoftwareProductGuid] = '40190395-51eb-4473-991d-8aa18da12576'
OR [ajs2_vAC_ComputerLicenseAndUsageByProduct].[SoftwareProductGuid] = 'c784a7d9-d09f-45d1-a8eb-21a17a9f7a2f'
OR [ajs2_vAC_ComputerLicenseAndUsageByProduct].[SoftwareProductGuid] = '53aef681-6612-43f6-b470-0d7d6885b2d6'
OR [ajs2_vAC_ComputerLicenseAndUsageByProduct].[SoftwareProductGuid] = '33dd735e-d4fb-4100-81cc-c42d64c67c4e'
OR [ajs2_vAC_ComputerLicenseAndUsageByProduct].[SoftwareProductGuid] = 'afce50e2-0839-4ee8-9590-382809454d0c'
OR [ajs2_vAC_ComputerLicenseAndUsageByProduct].[SoftwareProductGuid] = '37864800-9f8a-452f-b274-7a8fecd92f19'
OR [ajs2_vAC_ComputerLicenseAndUsageByProduct].[SoftwareProductGuid] = '5a4f7b90-89c6-4014-b799-855de9e57917'
OR [ajs2_vAC_ComputerLicenseAndUsageByProduct].[SoftwareProductGuid] = '8464955e-464d-49c5-8ed7-835890e300af'
OR [ajs2_vAC_ComputerLicenseAndUsageByProduct].[SoftwareProductGuid] = 'dac79258-157d-4b48-8765-d8a2e70e0184'
OR [ajs2_vAC_ComputerLicenseAndUsageByProduct].[SoftwareProductGuid] = 'b67bb52f-f4ee-477e-9c86-d8738520b7ee'
OR [ajs2_vAC_ComputerLicenseAndUsageByProduct].[SoftwareProductGuid] = '0ea907db-1ace-4910-ab8d-f3d400991cc6')
GROUP BY
[ajs2_vAC_ComputerLicenseAndUsageByProduct].[SoftwareProductGuid],
[ajs2_vAC_ComputerLicenseAndUsageByProduct].[Software Product Name],
[ajs2_vAC_ComputerLicenseAndUsageByProduct].[Install Date],
[ajs2_vAC_ComputerLicenseAndUsageByProduct].[User],
[vri1_Computer].[Name]
ORDER BY
[Software Product Name],
[Install Date],
[User]