→ 🚀What's New? Join Us for the Fall Product Launch! Register Now !
‎03-08-2011 02:50 PM
Solved! Go to Solution.
‎03-08-2011 03:18 PM
Select tblADComputers.OU, tblSoftware.softwareName,
tblSoftware.SoftwarePublisher, tblSoftware.softwareVersion,
Count(tblSoftware.SoftwareID) As Total
From tblComputers Left Join
tblADComputers On tblComputers.Computername = tblADComputers.Computername
Inner Join
tblSoftware On tblComputers.Computername = tblSoftware.ComputerName
Group By tblADComputers.OU, tblSoftware.softwareName,
tblSoftware.SoftwarePublisher, tblSoftware.softwareVersion
Order By tblADComputers.OU, tblSoftware.softwareName,
tblSoftware.SoftwarePublisher, tblSoftware.softwareVersion
‎12-19-2011 11:01 PM
‎12-20-2011 11:28 AM
mattgbarnes wrote:
That report worked perfect for what I was looking for at the time. Thanks.
I was wondering if I can make seperate reports for each OU to give the total software. I'm trying to do a count on total amount of software for each OU.
Select tblSoftware.softwareName, tblSoftware.SoftwarePublisher,
tblSoftware.softwareVersion, Count(tblSoftware.SoftwareID) As Total
From tblComputers Left Join
tblADComputers On tblComputers.Computername = tblADComputers.Computername
Inner Join
tblSoftware On tblComputers.Computername = tblSoftware.ComputerName
Group By tblADComputers.OU, tblSoftware.softwareName,
tblSoftware.SoftwarePublisher, tblSoftware.softwareVersion
Having tblADComputers.OU = 'YourOU'
Order By tblADComputers.OU, tblSoftware.softwareName,
tblSoftware.SoftwarePublisher, tblSoftware.softwareVersion
‎03-08-2011 03:18 PM
Select tblADComputers.OU, tblSoftware.softwareName,
tblSoftware.SoftwarePublisher, tblSoftware.softwareVersion,
Count(tblSoftware.SoftwareID) As Total
From tblComputers Left Join
tblADComputers On tblComputers.Computername = tblADComputers.Computername
Inner Join
tblSoftware On tblComputers.Computername = tblSoftware.ComputerName
Group By tblADComputers.OU, tblSoftware.softwareName,
tblSoftware.SoftwarePublisher, tblSoftware.softwareVersion
Order By tblADComputers.OU, tblSoftware.softwareName,
tblSoftware.SoftwarePublisher, tblSoftware.softwareVersion
‎08-22-2023 03:09 PM
Thanks for saving my day.
Experience Lansweeper with your own data. Sign up now for a 14-day free trial.
Try Now