Hi All
I am new to SAP BO. I am trying to create a BO report with cross tabs and I am finding it difficult with regards to the below:
Product ID | Lot Year | $/Product | No of Product | Total $ Value |
---|---|---|---|---|
123 | 2015 | 10 | 2 | 20 |
123 | 2014 | 10 | 5 | 50 |
123 | 2014 | 2 | 0 | |
456 | 2015 | 5 | 2 | 10 |
456 | 2014 | 5 | 0 |
Assume the above is a report generated in Webi. The Product ID (is a merged dimension from two different tables), $/Product comes from Table 1, and the Lot Year, No of Product comes from Table 2, and Total $ Value ($/Product * No of Product) is a Variable. Both the tables are within the same universe. This report is working fine. However, if I want the same information in the form of a cross tab, and I am not able to do so.
The Cross table has the Lot Year, and Product ID as the row, and the Total $ Value as the body.
Current Formula: Sum([Total $ Value] foreach ([Product ID]))
The results are below:
Sum | ||
---|---|---|
2014 | 123 | 70 (Expecting 50 here) |
2014 | 456 | 25 (Expecting 0 here) |
2015 | 123 | 20 |
2015 | 456 | 10 |
I tried the below formula with no luck:
Sum([Total $ Value] foreach ([Lot Year]) foreach ([Product ID])
Sum([Total $ Value] foreach ([Lot Year]) IN ([Product ID])
Plz Help.. Let me know if you need any other information. Thanks!
Siva