I'm trying to perform a series of calculations in SSDT 12 and the first I thought would be extremely basic. It works as an expression in a textbox but when I try the same thing in a variable I get an error. I'm trying to do "85 - used percentage". Used Percentage is a field returned from a query and 85 is a fixed value.
=85-(Fields!UsedPercent.Value, "DataSet1")
It needs to be in a variable because I then need to perform another calculation on it before I can use it as the result in a column. I'll then have to do the same thing a few more times with different data. The error I'm getting for the above is that a closing bracket is expected ')'.
I hope this is enough information
Thanks in advance
Adam