I have expression like this
=Sum(Fields!TotalBatch.Value - Fields!TotalUsage.Value)
I need a format like below
123.34
(234.45)
I had already set the properties > Number > Use Separator (,) > decimal places = 0 > Negative Numbers using brackets (12,5). But why the separator and the brackets still not appear in when I made preview ?
Try this in the textbox:
=Format(Sum(Fields!TotalBatch.Value - Fields!TotalUsage.Value),"##0.00;(##0.00)")
Let me know if this helps.
Thanks Alejandro,
=Format(Sum(Fields!TotalBatch.Value - Fields!TotalUsage.Value),"##0,0;(##0,0)")
it's work on me finally.. thank you :)
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.