cancel
Showing results for 
Search instead for 
Did you mean: 

Webi Report Data compare between two columns when Source is different

09-18-2019 2:28 PM
3064 views 6 comments
0 Likes
SAP Managed Tags
Subscribe

Hello Friends,

Need your help on below:

There are two different queries and tabs (One tab for each query) in Webi Report BI 4.2

Query 1 - Account Number1 column has 100 records

Query 2 - Account Number2 column has 2000 records

On the report, I need to compare the data between Account Number1 and Account Number2 and need to flag them as Y or N in a different column. Need to show this Flag in Query 1 where the tab has only 100 records.

If Account Number1 = Account Number2 then Y Else N

If statement is not working in this scenario as these two columns are coming from two different universes/source and merge dimension is not useful.

0 Likes

Accepted Solutions (0)

Answers (5)

Answers (5)

0 Likes

Hi Brian,

I even tried enabling "Show rows with empty dimension values", but no luck.

0 Likes

Hi Amit,

When I enable "Extended Merged Dimension," all 100 account numbers are flagged as Y instead of 50.

omacoder
Active Contributor
0 Likes

Merge on Account Number, then on the block of the report, right click and check the option that says "Show rows with empty dimension values"

0 Likes

Hi Amit,

Yes, I have tried using both objects in IF - ELSE statement, but I only get matching rows (Only 50 rows) where Account Numbers in query 2 matches with Account Numbers in query 1.

Requirement is to get all Account Number from query 1 (in this case 100) and flag them as Y or N.

amitrathi239
Active Contributor
0 Likes

in the webi document property->check the check box of "extended merged dimension" and try.

amitrathi239
Active Contributor
0 Likes

have you tried with merged dimension.after merging these two objects, use both objects in IF-else statement.