Quantcast
Channel: SCN : Discussion List - SAP BusinessObjects Web Intelligence
Viewing all articles
Browse latest Browse all 5402

Need help in calculating the Total value

$
0
0

Hi All,

 

I have a report with 2 data providers

 

DP1 has attributes  1. Year,  2. Ind  and DP2 has attributes 1.Year 2. Amount. 3. Code

 

I am merging on the Year column and bringing the Year, Ind, Amount attributes in the report. My report looks like below

 

 

Year          Ind          Amount

 

2010                             2000

2011                            1000

2012           Y               4000

2013           Y              5000

2014           N               6000

2015                             7000

               Total               25000

 

As I am bringing the Ind attribute from the DP1 , the amount is showing up as 0, so i used the calculation context for the Amount column as we are using the code to calculate the amount.  My problem comes with the total. When I filter on the Ind = Y though the rows are getting filtered like below, till the total shows up as 25000 instead of 9000.

 

Year          Ind          Amount

2012          Y              4000

2013          Y              5000

                   Total          25000

 

I tried different options some times it throws up #unavailable error for the total column because I think I am filtering on a dimension from a different context. Correct me If am wrong and it would be helpful if some one can provide a solution.


Viewing all articles
Browse latest Browse all 5402

Trending Articles