I have the following source from BW with transaction data
Customer Number | Customer Name |
---|---|
1 | Customer 1 |
2 | Customer 2 |
3 | Customer 3 |
4 | Customer 4 |
5 | Customer 5 |
6 | Customer 6 |
I have another source eg. from Excel as below to identify the previous customer number
Customer Number | New Customer Number |
---|---|
1 | 10 |
2 | 9 |
3 | 8 |
4 | 7 |
I merge both source on Customer Number dimension.
I check if Customer Number has a new customer number, then take New Customer Number else use Customer Number
In my webi report, how do I write a context to get the Customer Name to be based on another master data value, in this case it's the New Customer Number instead of Customer Number
Customer Number | New Customer Number | Customer Name | Measurement |
---|---|---|---|
1 | 10 | Customer 10 instead of Customer 1 | 100 |
2 | 9 | Customer 9 instead of Customer 2 | 50 |