Notification

Icon
Error

Chart: Microsoft Office 365 Versions - Displays the different versions of Office 365 and the count

Posted: Wednesday, April 5, 2017 3:57:20 PM(UTC)
suspect0

suspect0

Member Original PosterPosts: 3
1
Like
It took me a while to get this working, mainly due to my lack of knowledge in doing these queries. This will grab the version number of the Office 365 installation and give the total amount of clients with that version. In turn it can be used for chart widgets.

Code:
Select Top 1000000 tblSoftware.softwareVersion,
  Count(tblAssets.AssetID) As Total,
  tblSoftware.softwareVersion As Version
From tblAssets
  Inner Join tblAssetCustom On tblAssets.AssetID = tblAssetCustom.AssetID
  Inner Join tblSoftware On tblAssets.AssetID = tblSoftware.AssetID
  Inner Join tblSoftwareUni On tblSoftwareUni.SoftID = tblSoftware.softID
Where tblSoftwareUni.softwareName Like '%microsoft office%365%' And
  tblAssetCustom.State = 1 And tblAssets.Assettype = -1
Group By tblSoftware.softwareVersion
Order By Version,
  Total Desc
Bruce.B
#1Bruce.B Member Administration Posts: 562  
posted: 4/10/2017 8:56:51 AM(UTC)
Slightly modified the report as you were selecting softwareversion twice

Code:
Select Top 1000000 tblSoftware.softwareVersion As Version,
  Count(tblAssets.AssetID) As Total
From tblAssets
  Inner Join tblAssetCustom On tblAssets.AssetID = tblAssetCustom.AssetID
  Inner Join tblSoftware On tblAssets.AssetID = tblSoftware.AssetID
  Inner Join tblSoftwareUni On tblSoftwareUni.SoftID = tblSoftware.softID
Where tblSoftwareUni.softwareName Like '%microsoft office%365%' And
  tblAssetCustom.State = 1 And tblAssets.Assettype = -1
Group By tblSoftware.softwareVersion,
  tblSoftwareUni.softwareName
Order By Version,
  Total Desc
studerje
#2studerje Member Posts: 7  
posted: 4/26/2017 3:59:03 PM(UTC)
This works great.
It would be really nice if you could click the version and have it take you to a list of computers running that version.
craigsmith.lpi
#3craigsmith.lpi Member Posts: 2  
posted: 10/19/2020 10:18:21 PM(UTC)
I also slightly tweaked the report to accommodate the app's name change to Microsoft 365 Apps. I think the syntax could be tweaked for efficiency, but this works.

Code:
Select Top 1000000 tblSoftware.softwareVersion As Version,
  Count(tblAssets.AssetID) As Total
From tblAssets
  Inner Join tblAssetCustom On tblAssets.AssetID = tblAssetCustom.AssetID
  Inner Join tblSoftware On tblAssets.AssetID = tblSoftware.AssetID
  Inner Join tblSoftwareUni On tblSoftwareUni.SoftID = tblSoftware.softID
Where (tblSoftwareUni.softwareName Like '%microsoft office%365%') Or
  (tblSoftwareUni.softwareName Like '%microsoft 365%' And tblAssetCustom.State =
  1 And tblAssets.Assettype = -1)
Group By tblSoftware.softwareVersion,
  tblSoftwareUni.softwareName
Order By Version,
  Total Desc


Active Discussions

Report Center Default Browser and Version
by  RC62N  
Go to last post Go to first unread
Last post: 11/26/2020 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)