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

Cross join in webi

$
0
0

I have 2 separate data providers/queries

 

Let's say in the first one it returns something like this:

 

OrderId     Product          Amount

1              Apple           500

1              Orange         400

1              Banana         600

2               Apple           300

2               Orange        200

 

And in the second one it returns something like this:

 

OrderId     SalesPerson

1               Bob

1               Mary

2               Steve

 

I'd like to have the webi report output something like this (basically a cross join)

 

OrderId     Product     Amount     SalesPerson

1               Apple          500          Bob

1               Orange          400          Bob

1               Banana          600          Bob

1               Apple          500          Mary

1               Orange          400          Mary

1               Banana          600          Mary

2               Apple           300          Steve

2               Orange          200          Steve

 

I think I've tried every combination of merge dimensions/detail objects, etc. but always end up with either #INCOMPATIBLE or #MULTIVALUE in SalesPerson when there are multiple salespersons associated with an order (such as order 1 in the example above).  When there is only one SalesPerson associated with the order then it works as expected, such as below:

 

OrderId     Product     Amount     SalesPerson

1               Apple          500          #MUTLIVALUE

1               Orange          400          #MULTIVALUE

1               Banana          600          #MULTIVALUE

2               Apple           300          Steve

2               Orange          200          Steve

 

 

I can't really change the universe, so is this possible to do within webi?


Viewing all articles
Browse latest Browse all 5402

Trending Articles



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