on 10-20-2010 7:00 PM
I have an objects in CR, need to convert into Universe Object
if not isnull({SAT_NC.PAYMENT_DUE}) and {SAT_NC.PAYMENT_DUE}>0 then 1
else 0
My SQL is MS SQL SERVER 2008
I tried this way >>>>> CASE WHEN COALESCE(SAT_NC.PAYMENT_DUE,0) >0 then 1 else 0 END
I getting incorrect results. Please suggest me did I go wrong in creation of Object.
Try this;
CASE WHEN SAT_NC.PAYMENT_DUE >0 And ISNOTNULL(SAT_NC.PAYMENT_DUE) then 1 else 0 END
DLN
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
it woked, Here is another issue my %%% and reason for wrong result.
Here is my scenario
Universe Object called >>> Customer identity
Created a new Variable in webi based >>> count of customer Identity
count of customer identity is around 1500.
When I used in the report, the variable count of Customer Identity is splitted based on the Service ID(Set as section),Service Area(setas section),Union 12,Union 13.
Like if the column values of Count of Customer Identity is 188 then
(188/1550)*100= 12.12%
When I am calculating in Webi with a new variable Count of Customer Identity exists only once.
Can you provide an example of the incorrect results?
Regards,
Stratos
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.