Skip to Content
author's profile photo Former Member
Former Member

Unable to create logic in IDT

Hi ,

Im trying to create a measure variable with below logic in IDT

Weighted Sales Volume= if [Object status] =('lost','Closed') then 0 Else ([Expected sales Volume] * ([Probability]/100))

where [Expected Sales volume],

[Object status],

([Probability] are measure objects.

Even tried to use the case condition but it throws error.

Universe is developed on top of Infosets by connecting SAP CRM.

Please suggest.

Thanks ,

Sudhir.

,
idt-error.jpg (123.7 kB)
Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Dec 27, 2016 at 03:08 PM

    Hi Sudhir,

    In IDT you must use SQL syntax, no BO syntax, I can suggest to try the following.

    sum(case when Table.column in('Open','Close') then crmd_opport_h.exp_revenue*crmd_opport_h.probability/100 else 0 end)

    I'm not sure which is the table and column that filters the open close, that's why I wrote table.column

    hope it helps.

    thanks

    Mauro

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.