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

SUM in Cross TAB in XI4.1 SP6

$
0
0

Hello All,

 

I have an issue in calculating the Sum in Cross Tab Report. Below is the same data on which I am trying to calculate Sum.

 

                                                            Variable        Amount

Class               Source      ID

 

Exchange        ABC        123               387250             387250

Exchange        ABC         321         -37363051                       0

Exchange        ABC         567             4724861          4724861

Exchange       ABC          589          -11319670                      0    

Exchange       DEF          900                         0                      0

Exchange1     TBR          950                         0                      0                   

                                         Sum        - 43570610             5112111                                          

                                       

If I calculate Sum on Amount and Variable on the above data it works without any issues

 

Variable formula is = Sum(If([Class]InList("Exchange");If([Amount]>0;[Amount];0)))

 

If I remove the ID from the report the Sum values for the Amount is getting changed to 0

 

Below is the data when I remove ID from the BO report

 

                                             Variable      Amount

Class             Source

Exchange           ABC                  0          -43570610

Exchange           DEF                  0                         0

Exchange1         TBR                  0                         0

                            Sum                0             -43570610

 

 

Even If I remove the ID from the report, I should get the values 5112111 for the object variable. Please help on how to achieve this.

 

Thanks!!


Viewing all articles
Browse latest Browse all 5402

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>