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:
UF | LOCAL | jan/2014 |
---|---|---|
BA | L1 | 100 |
BA | L2 | -50 |
BA | L3 | 200 |
Removing LOCAL dimension
UF | jan/2014 |
---|---|
BA | 250 |
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
UF | LOCAL | jan/2014 |
---|---|---|
BA | L1 | 100 |
BA | L2 | |
BA | L3 | 200 |
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...:)
UF | jan/2014 |
---|---|
BA | 250 |
How can I solve this problem? (I'm trying to solve in BO first instead of solve in BW).
Best regards,
Thiago