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

Create measurable variable based on one merge key

$
0
0

Hi,

 

We have 2 queries which are merged on one key that is Vendor key. Query1 datasource is BI and query2 datsasource in excel file, both queries are merged on vendor key which is the only matching field we have. In query1 we have Netvalue kf and in query2 we have Invoice Value.

 

Query1

CompanyCodeMatGrpVendor KeyNetValue
100390140000530000
2003901400006

32000

2003904400007

21000

300390540000933000

 

Query2

AreaStatusVendor KeyInvoice
1000Hold400011210
2000Complete400009205
1000Hold400006200
2000Active400005220

 

I want to create variable which can show

 

AreaNetValue
200063000
100032000

 

Here NetValue(from query1) is created based on Area(from query2) depending on Vendor Key which are matched in both queries.

Also have to do vice-versa for Invoice.

 

Can anyone suggest how to get these values without taking Vendor Key inside table view.

 

Thanks,

Ankit


Viewing all articles
Browse latest Browse all 5402

Trending Articles



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