This discussion has been locked. The information referenced herein may be inaccurate due to age, software updates, or external references.
You can no longer post new replies to this discussion. If you have a similar question you can start a new discussion in this forum.

Add Display Setting (Bytes) for custom query

I am using a CAST function with SQL on an two existing columns.  I would like to display the result of the CAST function as Bytes, but when I add the CAST column to the table, I am not given the option to select bytes.  Is there a way to cast this so that I can display as Bytes instead of Integer or Decimal?

CAST ((SUM((NullIf(In_TotalBytes,-2)+NullIf(Out_TotalBytes,-2))) / 43200) as nvarchar) AS Bytes_Per_Min