We are trying to create a report which will display all assets for each department. We want the asset name and employee name to be clickable, as well as display information about the asset or employee when you hover the mouse cursor over the name.
We were able to accomplish this with the following SQL code, however we need to hide Userdomain and Username columns. Is this possible without breaking the hyperlinks and pop-up information for each name?
Select Top 1000000 tblADusers.Department,
tblADusers.Displayname,
tblAssets.AssetName,
tblAssets.AssetID,
tblADusers.Userdomain,
tblADusers.Username
From tblADusers
Inner Join tblAssetUserRelations On tblADusers.Username =
tblAssetUserRelations.Username And tblADusers.Userdomain =
tblAssetUserRelations.Userdomain
Inner Join tblAssets On tblAssets.AssetID = tblAssetUserRelations.AssetID
Where tblADusers.Userdomain Is Not Null And tblADusers.Username Is Not Null And
tblAssetUserRelations.Type = 200
Order By tblADusers.Department,
tblADusers.Displayname
Thank you for any guidance you can provide.