Showing results for 
Search instead for 
Did you mean: 
Create Post
Level 9

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

0 Kudos
0 Replies