Quantcast
Channel: SCN : Discussion List - SAP Business Warehouse
Viewing all articles
Browse latest Browse all 6437

Problem with sums in query result

$
0
0

Hi all,

 

I need help from an BW - expert

 

I am trying to implement an Infocube which contains head and position data.

Now I have the problem that all head key figures of the head are multiple stored in the infoprovider, each time for every position. For example

 

These is the data base which is stored in the Infocube.

Document 4711 head data: 100kg

Document 4711 Pos. 10 data: 20m

Document 4711 Pos. 20 data: 30m

Document 4711 Pos. 30 data: 15m

 

Document 4712 head data: 800kg

Document 4712 Pos. 10 data: 100m

 

 

InfoCube content:

document        pos. Key figure A document          Key figure B position

4711                10            100KG                         20m                

4711                20            100KG                         30m

4711                30            100KG                         15m

4712                10            800KG                         100m

 

My query output now is

Document       key figure A     key figure B    

4711                300kg              65m

4712                800kg              100m

Sum                            1100kg            165m  

This output ist wrong, because the sum of the two documents isn´t 1100, but 900.

 

My Query output should be

 

Document       key figure A     key figure B    

4711                100kg              65m

4712                800kg              100m

Sum                            900kg              165m                          

 

I hope anyone has an idea to solve my problem.

 

Best regards,

André


Viewing all articles
Browse latest Browse all 6437

Trending Articles



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