Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-17-2015 10:12 PM
How can the report for "
Device: Not seen in the last 30 days " be filtered to ignore LOCATION asset type
Of course, why is location listed there since it's not a device 🙂
Device: Not seen in the last 30 days " be filtered to ignore LOCATION asset type
Of course, why is location listed there since it's not a device 🙂
Solved! Go to Solution.
Labels:
- Labels:
-
Report Center
1 ACCEPTED SOLUTION

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-20-2015 12:07 PM
That report simply lists all assets which are not Windows assets. If you would like to exclude Location assets, you might edit the report and replace the SQL code with the following:
Select Top 1000000 tsysAssetTypes.AssetTypeIcon10 As icon,
tblAssets.AssetName,
tblAssetCustom.Model,
tblAssetCustom.Manufacturer,
tblAssetCustom.Location,
tblAssets.IPAddress,
tblAssets.Lastseen,
tblAssetCustom.AssetID
From tblAssetCustom
Inner Join tblAssets On tblAssetCustom.AssetID = tblAssets.AssetID
Inner Join tsysAssetTypes On tblAssets.Assettype = tsysAssetTypes.AssetType
Where tblAssets.Lastseen < GetDate() - 30 And tblAssetCustom.State = 1
And tsysAssetTypes.AssetTypename Not In ('Windows ', 'Location ')
Order By tblAssets.AssetName
1 REPLY 1

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-20-2015 12:07 PM
That report simply lists all assets which are not Windows assets. If you would like to exclude Location assets, you might edit the report and replace the SQL code with the following:
Select Top 1000000 tsysAssetTypes.AssetTypeIcon10 As icon,
tblAssets.AssetName,
tblAssetCustom.Model,
tblAssetCustom.Manufacturer,
tblAssetCustom.Location,
tblAssets.IPAddress,
tblAssets.Lastseen,
tblAssetCustom.AssetID
From tblAssetCustom
Inner Join tblAssets On tblAssetCustom.AssetID = tblAssets.AssetID
Inner Join tsysAssetTypes On tblAssets.Assettype = tsysAssetTypes.AssetType
Where tblAssets.Lastseen < GetDate() - 30 And tblAssetCustom.State = 1
And tsysAssetTypes.AssetTypename Not In ('Windows ', 'Location ')
Order By tblAssets.AssetName
