Hello all
We are trying to manipulate table data using math operation. As part of populating the report we are using sql macro to capture the data as follows
@{sql:datasource=TestRO|table=false}
DECLARE @kloc_total float
DECLARE @var1 float
select @kloc_total = total from ##kloc
select @kloc_total/1000{sql}
We want to capture the above result to a varible and use the variable in java script further manipulate the result before rendering back to the page.
Manipulation we are trying to make is doing some math on the result in the form of multiplication.
Can anybody point me in the right direction how this can achieved.
Thanks
Ravi.