Hello I created this simple chart report to count how many computers have with BitLocker.
The problem is some of the computers are no possible to activate and I want to exclude from the chart report, I have another report with all computers but in the chart I just what to show the available devices that had Hardware with tpm. For Manager view.
SO I would like to exclude some computers by name in the count.
This is the report:
Select Top 1000000 Case
When tblEncryptableVolume.ProtectionStatus = 0 Then 'Disabled'
When tblEncryptableVolume.ProtectionStatus = 1 Then 'Enabled'
Else 'UNKNOWN'
End As [Bitlocker Status],
Count(tblEncryptableVolume.ProtectionStatus) As Total
From tblAssets
Inner Join tblAssetCustom On tblAssets.AssetID = tblAssetCustom.AssetID
Inner Join tsysOS On tblAssets.OScode = tsysOS.OScode
Inner Join tblEncryptableVolume On
tblAssets.AssetID = tblEncryptableVolume.AssetId
Where (tblEncryptableVolume.ProtectionStatus = 0 Or
tblEncryptableVolume.ProtectionStatus = 1)
Group By Case
When tblEncryptableVolume.ProtectionStatus = 0 Then 'Disabled'
When tblEncryptableVolume.ProtectionStatus = 1 Then 'Enabled'
Else 'UNKNOWN'
End,
tblEncryptableVolume.ProtectionStatus
Order By Total Desc
this is an image of the Chart:
