Skip to Content

Context Error in Webi

Hi Team,

i am able to validate below formula however it is throwing CONTEXT error, Am i missing anything?

=(If (Sum([Value]) >0) Then( Sum([Value] ))Else If (Sum([Value])<0) Then (Sum([Value])) Else 0 ) Where ([Test]="EU")

Value is measure and Test is dimension coming from same query. Report based on Free hand SQL.


Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Jun 03, 2019 at 09:08 AM

    Modify the formula:

    =Sum(If (Sum([Value]) >0 and [Test]="EU") Then Sum(Sum([Value])) Else If (Sum([Value])<0 and [Test]="EU") Then Sum(Sum([Value])) Else 0 ) 
    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.