‎09-19-2019 07:28 PM
‎09-20-2019 08:12 PM
Select Top 1000000The magic is in the type conversion. Instead of adding tblAssetCustom.Custom1 to your report, add Cast(tblAssetCustom.Custom1 As float). Once you've got that, you can apply the aggregate functions to it.
tblAssetCustom.Manufacturer,
tblAssetCustom.Model,
Count(*) AS count,
Sum(Cast(tblAssetCustom.Custom1 As float)) As cost
From
tblAssets
Inner Join tblAssetCustom On tblAssets.AssetID = tblAssetCustom.AssetID
Where
tblAssetCustom.State = 1
And IsNumeric(tblAssetCustom.Custom1) = 1
Group By
tblAssetCustom.Manufacturer,
tblAssetCustom.Model
‎09-20-2019 06:31 PM
‎09-20-2019 07:24 PM
RC62N wrote:
I'm with StevoCamaro: I don't see a cost field on the assets. You'll need to be more specific. Did you designate one of the custom fields for cost? If not, if there definitely is a cost field, can you identify the table it's in and, hopefully, the field name? Failing that, describe the page you're filling the value in on and where it sits relative to others, or possibly include a screen-capture.
‎09-20-2019 06:24 AM
‎09-20-2019 03:53 PM
StevoCamaro wrote:
I don't know of anything like in the report section, nor are there leasing cost/term/vendor fields for a report.
Purchase date is great, but without a capital cost value, how can you calculate the annual CCA on assets???
You could edit a custom field name on the asset page, enter the purchase value, then report on the custom field.
Experience Lansweeper with your own data. Sign up now for a 14-day free trial.
Try Now