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

Calculation using values from 1 datasouce in 2 different matrix

$
0
0
Hi allI'm suingh Report buiilder 3. My report has 1 data source which is used in 4 different matrix.First matrix Fyear11-12 Fyear12-13 qty Value_net % of total Value qty Value_net% of total ValueDept1 100 500 500/1100 110 600 Dept2 200 600 600/1100 350 900 Total 300 1100 1100/1100 (Value_Net4) 260 1600 2nd MatrixDept1 Fyear11-12 Fyear12-13 qty Value_net % of Total Val qty Value_net % of total ValueSupplier1 60 150 (Value_Net3) 150/1100 65 250 250/1600 Supplier2 40 350 350/ 1100 45 350 350/1600Total 100 500 500/1100 110 600 600/1600I’ve written expression like – =ReportItems!Value_Net3.Value / ReportItems!Value_Net4.ValueIt works perfect for the FYear11-12 values and % comes correct but for next FYears, ie FYear12-13 onwards , the % comes wrong. It keeps dividing Supplier 1 Fyear12-13 value with Total of Fyear11-12 value.i.e. for Fyear12-13 instead of 250/1600, it calculates 250/1100.Can anyone please let me know how to pick the values dynamically or what am doing here is wrong?There is another problem with this report.Though I get FYear11-12 % values correct, when I export the report to Excel, all the % values change to new values.Please see attachment if the matrices in post doesn't make sense. Any help will be hugely appreciated.ThanksVarsha

Viewing all articles
Browse latest Browse all 2791

Latest Images

Trending Articles



Latest Images