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

Web Intelligence - Variable calcutation before aggregation

$
0
0

Hello everybody.

 

I'm trying to do a report in BO WebI using BICS connection.

 

  • I have three dimensions (UF, LOCAL and CALMONTH).
  • And one key figure coming from the BW Query.

 

This key figure coming from BW can have both positive and negative values.

 

I have to create a table that consider only the positive values, so I created a new variable (VAR1, qualification: measure) like below:

 

=If([value] > 0) Then [value]

 

 

This variable works fine when I insert all the dimensions in the table, but when I try to consolidate the table for the LOCAL dimension, it doesnt works. I think that this problem is because it tries to do the formula AFTER the aggregation.

 

Below I can explain better the situation:

 

 

 

1) A table with the raw BW key figure [value] and all dimensions:

 

UFLOCALjan/2014
BAL1100
BAL2-50
BAL3200

 

Removing LOCAL dimension

 

UFjan/2014
BA250

 

This is OK, since it considers positive and negative and aggregate (sum) it.

 

 

2) A table with VAR1 and all dimensions

 

This should consider only positive values, and it works fine when table have all dimensions

 

UFLOCALjan/2014
BAL1100
BAL2
BAL3200

 

Removing LOCAL dimension

 

This is my issue, I want this table only with Local dimension but I needed that the result = 300 (considering only 100 and 200 from L1 and L3)

But, it sums everything first and than process my variable formula, but its too late...:)

UFjan/2014
BA250

 

 

How can I solve this problem? (I'm trying to solve in BO first instead of solve in BW).

 

Best regards,

 

Thiago


Viewing all articles
Browse latest Browse all 5402

Trending Articles



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