pskup wrote:
Ok, asset groups won't work.
The report shows the assets multiple times (a row for every assigned asset group) and only skip the rows with "Scan unnecessary" asset group. Obviously this can't work.
This just means that the reports weren't edited correctly. You can edit the reports and add the below to the Criteria column for the tblAssets.AssetID or tblErrors.AssetID expression to exclude a specific asset group. Replace YourGroup with the name of the asset group you wish to exclude from the report.
Not In (Select Top 1000000 tblAssetGroupLink.AssetID
From tblAssetGroupLink
Inner Join tblAssetGroups On tblAssetGroups.AssetGroupID =
tblAssetGroupLink.AssetGroupID
Where tblAssetGroups.AssetGroup = 'YourGroup')
If you are interested in building or modifying reports, we would recommend:
- Reviewing some SQL tutorials, as the Lansweeper report builder uses standard SQL queries. This seems like a good tutorial.
- Updating to Lansweeper 5.2, if you haven't already. Lansweeper 5.2 includes a database dictionary, which is linked at the top of the report builder.