Quantcast
Channel: SQLServerCentral » Reporting Services » Reporting Services » Latest topics
Viewing all articles
Browse latest Browse all 2791

SSRS Percentage calculation

$
0
0
i have an ssrs report in which i have to calculate percentage.....i wrote below expression=IIF(sum(Fields!cost_center.Value)="Revenue",sum(Fields!RevResourceamount.Value),(sum(Fields!RevResourceamount.Value)-sum(Fields!Amount.Value))/sum(Fields!RevResourceamount.Value))*100in the above expression RevResourceamount is the the column which contain both 'revenue' and 'resource count' amounts' and 'Revenue' and 'ResourceCount' are stored in 'Cost_Center' columnand Amount is the column which contain total amountbut i have to filter only 'Revenue' amounts from 'RevResourceamount' columnafter that i have to subtract (Revenue amount-Total amount) and i have to devide that subtraction amount with Revenue amounti have to calculate percentage like this...but iam not gettingcan any one please suggest me how to get this..

Viewing all articles
Browse latest Browse all 2791

Trending Articles