using operators and functions for sql report charts (visual studio 2010)

Posted by user1682566 on Stack Overflow See other posts from Stack Overflow or by user1682566
Published on 2012-09-19T09:36:18Z Indexed on 2012/09/19 9:37 UTC
Read the original article Hit count: 208

I want to create some charts using sql reporting services. But i am unable to use a lot of functions and operators in combination with my data-fields

the following work(Stroke-data type is decimal):

> =Fields!Stroke.Value
> =Sum(Fields!Stroke.Value)
> =First(Fields!Stroke.Value)
> =Last(Fields!Stroke.Value)
> =2+2394.12

the following dont work:

> =Fields!Stroke.Value + 2
> =CStr(Fields!Stroke.Value)
> =CDbl(Fields!Stroke.Value)
> =Fields!Stroke.Value / Fields!Stroke.Value
> =Sum(Fields!Stroke.Value) * 2 

all other operators and functions(using Fields!Stroke.Value) dont work too

© Stack Overflow or respective owner

Related posts about visual-studio-2010

Related posts about reporting-services