Notification

Icon
Error

Duplicate Users On report - Trying to create a report that show specific Microsoft installed Software.

Posted: Friday, October 30, 2020 2:19:09 PM(UTC)
Dexter Brooks

Dexter Brooks

Member Original PosterPosts: 1
0
Like
This issue has been solved! Click here to view the solution
Trying to create a report that show specific Microsoft installed Software. We are trying to report on operating systems and Office software, and a few other Microsoft programs like visual studio. We I put the report together it will pull show the same PC multiple time for the same piece of software.

Select Top 1000000 tblAssets.AssetID,
tblAssets.AssetName,
tblAssets.Username,
tsysOS.OSname,
tblSoftwareUni.softwareName As Software
From tblSoftware
Inner Join tblAssets On tblSoftware.AssetID = tblAssets.AssetID
Inner Join tblSoftwareUni On tblSoftware.softID = tblSoftwareUni.SoftID,
tsysOS
Where (tblSoftwareUni.softwareName Like '%Microsoft Office Standard%' Or
tblSoftwareUni.softwareName Like '%Microsoft Office Professional%')
Order By tblAssets.AssetName

Result

ATL-EDI-001 williamgristick Not scanned Microsoft Office Standard 2016
ATL-EDI-001 williamgristick Win 2016 Microsoft Office Standard 2016
ATL-EDI-001 williamgristick Win 10 Microsoft Office Standard 2016
ATL-EDI-001 williamgristick Win 10 Microsoft Office Standard 2016
ATL-EDI-001 williamgristick Win 2016 Microsoft Office Standard 2016
ATL-EDI-001 williamgristick Win 10 Microsoft Office Standard 2016
Dexter Brooks attached the following image(s):
Capture.JPG
RC62N
#1RC62N Member Posts: 488  
posted: 10/30/2020 3:51:07 PM(UTC)
You don't have a relationship defined between tsysOS and anything else, so your results are repeated for every record in tsysOS.
Code:
From
  tblSoftware
  Inner Join tblAssets On tblSoftware.AssetID = tblAssets.AssetID
  Inner Join tblSoftwareUni On tblSoftware.softID = tblSoftwareUni.SoftID
  INNER JOIN tsysOS ON tsysOS.OSCode = tblAssets.OScode

Active Discussions

Report Center Default Browser and Version
by  RC62N   Go to last post Go to first unread
Last post: Yesterday at 8:00:54 PM(UTC)
Lansweeper Trying to make a custom report that sorts assets by state
by  mzipperer  
Go to last post Go to first unread
Last post: 11/25/2020 5:36:52 PM(UTC)
Lansweeper Report - All Assets with Specfic Default Gateway
by  RC62N   Go to last post Go to first unread
Last post: 11/25/2020 4:18:08 PM(UTC)
Report Center Windows update report
by  ToeJoe  
Go to last post Go to first unread
Last post: 11/24/2020 3:39:00 PM(UTC)
Lansweeper Report - assets
by  Andy.S   Go to last post Go to first unread
Last post: 11/23/2020 2:42:01 PM(UTC)
Lansweeper Run Report on PCs from a list
by  RC62N  
Go to last post Go to first unread
Last post: 11/16/2020 4:23:12 PM(UTC)