on 06-09-2015 6:30 PM
Good day everyone,
I defined a metric in IDT that conditionally sum a numeric value, I got no errors on IDT however using that metric in WEBI thrown the error:
Database error: [Data Federator Driver] [Server] Unsupported signature 'IFELSE(BIT, DECIMAL, INTEGER)'. (IES 10901) (Error: INF )
I have tried many ways and always error.
Thanks.
Great that's for the update Emerson!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I think @catalog function is not supported by IDT.
Please check once in IDT guide.
BTW what is the purpose of using @catalog can you please explain.
Thanks,
SB
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Emerson,
The @catalog is generated when using the Multisource universe. It is an identifier for a connection and is mandatory.
The error you are seeing is due to supported signatures.
Supported signatures are : IFELSE(BIT, DECIMAL, DECIMAL) IFELSE(BIT, INTEGER, INTEGER) The second and third arguments should be of the same type: either DECIMAL or INTEGER
Please take a look at the following note:
Hello Jacqueline,
In fact I have another measure with the same sintax but different function and works ok.
count(case when @Select(Dimensiones\OT Confirmada)='X' then @catalog('CNX_SAPECC')."ABAPFunction.ZWM_ORDEN_TRANSPORTE"."Z_OBTENER_LISTA_OT_WM_BI.-EXPORT_CH_IT_OTWMBI"."-id" else null end)
For the SUM function as migth notice I tried to use toDecimal() and toDouble() to convert both arguments to the same but the problem was no error on IDT but error on WEBI.
A few minutes ago I just changed the formula to use @catalog instead of @select for the comparison and now works fine.
sum(case
when @catalog('CNX_SAPECC')."ABAPFunction.ZWM_ORDEN_TRANSPORTE"."Z_OBTENER_LISTA_OT_WM_BI.-EXPORT_CH_IT_OTWMBI"."KQUIT"='X'
then @catalog('CNX_SAPECC')."ABAPFunction.ZWM_ORDEN_TRANSPORTE"."Z_OBTENER_LISTA_OT_WM_BI.-EXPORT_CH_IT_OTWMBI"."BRGEW"
else ToDecimal('0')
end )
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.